deal all.
I have been trying to make a slight modification to Fatigue material.
But I'm facing some difficulties...
1. OPS_GetNumRemainingInputArgs()
this command is originally included in Fatigue material. but this command does not seem to work properly in custom model (*.DLL).
Compiling is successful even if i don't remove this line.
However, opensees fails to run (terminates with pop-up "Opensees.exe has stopped working").
I also added these codes below to see what happens :
int numdata = OPS_GetNumRemainingInputArgs();
opserr << "num Input : " << numdata << endln;
the printed value was "0", regardless of the length of input.
2. OPS_getUniaxialMaterial() does not seem to work either..
In Fatigue material, this command is necessary...
I tried these codes to see what happens:
UniaxialMaterial* mat = OPS_getUniaxialMaterial(idata[1]);
opserr << "mat : " << mat << endln;
the printed value was "empty".
If anyone knows how to solve this issue, please help me.
my system is:
Windows 10 64-bit
tcl 8.5 32-bit
OpenSees 2.5.0 32-bit
Visual Studio 2015
regards.
OPS_GetNumRemainingInputArgs problem
Moderators: silvia, selimgunay, Moderators
Re: OPS_GetNumRemainingInputArgs problem
you need to download the developer revision corresponding to that of the .exe.
if it fails, download all the opensees source (use the same revsion as the tag of the last release) and make your changes directly to the source
if it fails, download all the opensees source (use the same revsion as the tag of the last release) and make your changes directly to the source