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

Method removeMP_Constraint

SRC/domain/domain/Domain.cpp:1264–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262}
1263
1264MP_Constraint *
1265Domain::removeMP_Constraint(int tag)
1266{
1267 // remove the object from the container
1268 TaggedObject *mc = theMPs->removeComponent(tag);
1269
1270 // if not there return 0
1271 if (mc == 0)
1272 return 0;
1273
1274 // mark the domain as having changed
1275 this->domainChange();
1276
1277 // perform a downward cast, set the objects domain pointer to 0
1278 // and return the result of the cast
1279 MP_Constraint *result = (MP_Constraint *)mc;
1280 // result->setDomain(0);
1281 return result;
1282}
1283
1284
1285int

Callers 7

~Joint2DMethod · 0.45
~Joint3DMethod · 0.45
OPS_removeObjectFunction · 0.45
OPS_partitionFunction · 0.45
partitionMethod · 0.45
removeObjectFunction · 0.45
removeObjectFunction · 0.45

Calls 2

domainChangeMethod · 0.95
removeComponentMethod · 0.45

Tested by

no test coverage detected