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

Method saveVelSensitivity

SRC/analysis/dof_grp/DOF_Group.cpp:878–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878int
879DOF_Group::saveVelSensitivity(const Vector &v, int gradNum, int numGrads)
880{
881 Vector &dudh = *unbalance;
882
883 for (int i = 0; i < numDOF; i++) {
884 int loc = myID(i);
885 if (loc >= 0)
886 dudh(i) = v(loc);
887 else
888 dudh(i) = 0.0;
889 }
890
891 return myNode->saveVelSensitivity(dudh, gradNum, numGrads);
892}
893
894int
895DOF_Group::saveAccSensitivity(const Vector &v, int gradNum, int numGrads)

Callers 2

saveSensitivityMethod · 0.95
identifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected