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

Method commitSensitivity

SRC/analysis/integrator/LoadControl.cpp:319–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319int
320LoadControl::commitSensitivity(int gradNum, int numGrads)
321{
322 // get model
323 AnalysisModel* theAnalysisModel = this->getAnalysisModel();
324
325 // Loop through the FE_Elements and set unconditional sensitivities
326 FE_Element *elePtr;
327 FE_EleIter &theEles = theAnalysisModel->getFEs();
328 while((elePtr = theEles()) != 0) {
329 elePtr->commitSensitivity(gradNum, numGrads);
330 }
331
332 return 0;
333}
334
335
336

Callers 1

computeSensitivitiesMethod · 0.95

Calls 1

getAnalysisModelMethod · 0.45

Tested by

no test coverage detected