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

Method getCopy

SRC/domain/pattern/MultiSupportPattern.cpp:334–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334LoadPattern *
335MultiSupportPattern::getCopy(void)
336{
337 LoadPattern *theCopy = new MultiSupportPattern(this->getTag());
338 for (int i=0; i<numMotions; i++) {
339 theCopy->addMotion(*theMotions[i], theMotionTags[i]);
340 }
341 return theCopy;
342}

Callers

nothing calls this directly

Calls 2

getTagMethod · 0.45
addMotionMethod · 0.45

Tested by

no test coverage detected