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

Method applyLoad

SRC/domain/pattern/LoadPattern.cpp:404–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403
404void
405LoadPattern::applyLoad(double pseudoTime)
406{
407 // first determine the load factor
408 if (theSeries != 0 && isConstant != 0) {
409 loadFactor = theSeries->getFactor(pseudoTime);
410 loadFactor *= scaleFactor;
411 }
412
413 NodalLoad *nodLoad;
414 NodalLoadIter &theNodalIter = this->getNodalLoads();
415
416 while ((nodLoad = theNodalIter()) != 0)
417 nodLoad->applyLoad(loadFactor);
418
419 ElementalLoad *eleLoad;
420 ElementalLoadIter &theElementalIter = this->getElementalLoads();
421 while ((eleLoad = theElementalIter()) != 0)
422 eleLoad->applyLoad(loadFactor);
423
424 SP_Constraint *sp;
425 SP_ConstraintIter &theIter = this->getSPs();
426 while ((sp = theIter()) != 0)
427 sp->applyConstraint(loadFactor);
428}
429
430void
431LoadPattern::setLoadConstant(void)

Callers 1

applyLoadSensitivityMethod · 0.45

Calls 2

getFactorMethod · 0.45
applyConstraintMethod · 0.45

Tested by

no test coverage detected