In a C++ version of a DLL code, I am trying to store some packages of property parameters as a linked list using the “Struct Node” concept. However, I only see iflag value either 3 or 0 when I print it. Is there any reason that I do not see iflag = 1?
In a C++ version of a DLL code for an Adams model, I am trying to store some packages of property parameters as a linked list using the “Struct Node” concept, in such a way that each node to be devoted to one package of input parameter.
To do so, it is required to move to the *next node for storing any new package of input values. This needs me to know when the iflag equals 1 under the GSE_DERIVE function!
However, I only see iflag value either 3 or 0 when I print it. Is there any reason that I do not see iflag = 1 at all under GSE_DERIV?
Please see below the execution results of this part of the code:
void Gse_deriv(const struct sAdamsGSE* gse, double time, int dflag, int iflag, int ns, double* XDot)