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

Method saveLambdaSensitivity

SRC/analysis/integrator/DisplacementControl.cpp:1010–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008}
1009
1010int
1011DisplacementControl::saveLambdaSensitivity(double dlambdadh, int gradNum, int numGrads)
1012{
1013 AnalysisModel* theAnalysisModel = this->getAnalysisModel();
1014 Domain *theDomain = theAnalysisModel->getDomainPtr();
1015
1016 LoadPattern *lpPtr;
1017 LoadPatternIter &thePatterns = theDomain->getLoadPatterns();
1018 while ( (lpPtr = thePatterns() ) != 0)
1019 lpPtr->saveLoadFactorSensitivity(dlambdadh, gradNum, numGrads);
1020
1021 return 0;
1022}
1023
1024 int
1025DisplacementControl::commitSensitivity(int gradNum, int numGrads)

Callers 1

computeSensitivitiesMethod · 0.95

Calls 3

getAnalysisModelMethod · 0.45
getDomainPtrMethod · 0.45

Tested by

no test coverage detected