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

Method applyLoadSensitivity

SRC/domain/pattern/UniformExcitation.cpp:367–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365
366
367void
368UniformExcitation::applyLoadSensitivity(double time)
369{
370 Domain *theDomain = this->getDomain();
371 if (theDomain == 0)
372 return;
373
374// if (numNodes != theDomain->getNumNodes()) {
375 NodeIter &theNodes = theDomain->getNodes();
376 Node *theNode;
377 while ((theNode = theNodes()) != 0) {
378 theNode->setNumColR(1);
379 theNode->setR(theDof, 0, 1.0);
380 }
381// }
382
383 this->EarthquakePattern::applyLoadSensitivity(time);
384
385 return;
386}
387
388
389

Callers

nothing calls this directly

Calls 4

getNodesMethod · 0.80
getDomainMethod · 0.45
setNumColRMethod · 0.45
setRMethod · 0.45

Tested by

no test coverage detected