| 860 | |
| 861 | |
| 862 | int |
| 863 | DOF_Group::saveDispSensitivity(const Vector &v, int gradNum, int numGrads) |
| 864 | { |
| 865 | Vector &dudh = *unbalance; |
| 866 | |
| 867 | for (int i = 0; i < numDOF; i++) { |
| 868 | int loc = myID(i); |
| 869 | if (loc >= 0) |
| 870 | dudh(i) = v(loc); |
| 871 | else |
| 872 | dudh(i) = 0.0; |
| 873 | } |
| 874 | |
| 875 | return myNode->saveDispSensitivity(dudh, gradNum, numGrads); |
| 876 | } |
| 877 | |
| 878 | int |
| 879 | DOF_Group::saveVelSensitivity(const Vector &v, int gradNum, int numGrads) |
no outgoing calls
no test coverage detected