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

Method addSP_Constraint

SRC/domain/pattern/LoadPattern.cpp:315–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315bool
316LoadPattern::addSP_Constraint(SP_Constraint *theSp)
317{
318 Domain *theDomain = this->getDomain();
319
320 bool result = theSPs->addComponent(theSp);
321 if (result == true) {
322 if (theDomain != 0)
323 theSp->setDomain(theDomain);
324 theSp->setLoadPatternTag(this->getTag());
325 currentGeoTag++;
326 } else
327 opserr << "WARNING: LoadPattern::addSP_Constraint() - load could not be added\n";
328 return result;
329}
330
331
332NodalLoadIter &

Callers 2

recvSelfMethod · 0.95
partitionMethod · 0.45

Calls 5

getDomainMethod · 0.45
addComponentMethod · 0.45
setDomainMethod · 0.45
setLoadPatternTagMethod · 0.45
getTagMethod · 0.45

Tested by

no test coverage detected