I have been trying to make a slight modification to Fatigue material.
But I'm facing some difficulties...
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);
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
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