Mesh *OPS_getMesh(int tag) { TaggedObject *theResult = theMeshObjects.getComponentPtr(tag); if (theResult == 0) { return 0; } Mesh *theMsh = (Mesh *)theResult; return theMsh; }
UniaxialMaterial *OPS_getUniaxialMaterial(int tag) { TaggedObject *theResult = theUniaxialMaterialObjects.getComponentPtr(tag); if (theResult == 0) { opserr << "UniaxialMaterial *getUniaxialMaterial(int tag) - none found with tag: " << tag << endln; return 0; } UniaxialMaterial *theMat = (UniaxialMaterial *)theResult; return theMat; }
CrdTransf *OPS_GetCrdTransf(int tag) { TaggedObject *theResult = theCrdTransfObjects.getComponentPtr(tag); if (theResult == 0) { opserr << "CrdTransf *getCrdTransf(int tag) - none found with tag: " << tag << endln; return 0; } CrdTransf *theSeries = (CrdTransf *)theResult; return theSeries; }