MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / OPS_getNDMaterial

Function OPS_getNDMaterial

DEVELOPER/core/NDMaterial.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72NDMaterial *OPS_getNDMaterial(int tag)
73{
74 TaggedObject *theResult = theNDMaterialObjects.getComponentPtr(tag);
75 if(theResult == 0) {
76 opserr << "NDMaterial no found with tag: " << tag << "\n";
77 return 0;
78 }
79 NDMaterial *theMat = (NDMaterial *)theResult;
80
81 return theMat;
82}
83
84void OPS_clearAllNDMaterial(void)
85{

Callers 3

OPS_PlaneStressFunction · 0.70
OPS_PlateFiberMaterialFunction · 0.70
OPS_PlaneStrainFunction · 0.70

Calls 1

getComponentPtrMethod · 0.45

Tested by

no test coverage detected