hello everyone,
I get following error while loading .cpp and .h file of any materials,
ERROR:Identifier "OPS_PRINT_PRINTMODEL_MATERIAL" not defined
**************************************************************************************
void
ElasticOrthotropicMaterial::Print (OPS_Stream &s, int flag)
{
if (flag == OPS_PRINT_PRINTMODEL_MATERIAL) {
s << "Elastic Isotropic Material Model" << endln;
s << "\tEx: " << Ex << endln;
s << "\tEy: " << Ey << endln;
s << "\tEz: " << Ez << endln;
s << "\tvxy: " << vxy << endln;
s << "\tvyz: " << vyz << endln;
s << "\tvzx: " << vzx << endln;
s << "\tGxy: " << Gxy << endln;
s << "\tGyz: " << Gyz << endln;
s << "\tGzx: " << Gzx << endln;
s << "\trho: " << rho << endln;
}
if (flag == OPS_PRINT_PRINTMODEL_JSON) {
s << "\t\t\t{";
s << "\"name\": \"" << this->getTag() << "\", ";
s << "\"type\": \"ElasticOrthotropicMaterial\", ";
s << "\"Ex\": " << Ex << ", ";
s << "\"Ey\": " << Ey << ", ";
s << "\"Ez\": " << Ez << ", ";
s << "\"nuxy\": " << vxy << ", ";
s << "\"nuyz\": " << vyz << ", ";
s << "\"nuzx\": " << vzx << ", ";
s << "\"Gxy\": " << Gxy << ", ";
s << "\"Gyz\": " << Gyz << ", ";
s << "\"Gzx\": " << Gzx << ", ";
s << "\"rho\": " << rho << "}";
}
}
********************************************************************************************
What might be the problem
any kinda help will be appropriated
thanks
Error: Identifier is not defined
Moderators: silvia, selimgunay, Moderators
-
- Posts: 28
- Joined: Sat Jan 13, 2018 8:34 pm
- Location: Shanghai Jiao Tong University
-
- Posts: 13
- Joined: Mon May 09, 2016 2:39 pm
Re: Error: Identifier is not defined
Did you solve this problem?
-
- Posts: 28
- Joined: Sat Jan 13, 2018 8:34 pm
- Location: Shanghai Jiao Tong University
Re: Error: Identifier is not defined
VS 2010 solved most of the errors for me
Re: Error: Identifier is not defined
Any update regarding the issue? Did u fix it?