| 888 | } |
| 889 | |
| 890 | void |
| 891 | DOF_Group::addM_ForceSensitivity(const Vector &Udotdot, double fact) |
| 892 | { |
| 893 | if (myNode == 0) { |
| 894 | opserr << "DOF_Group::addM_Force() - no Node associated"; |
| 895 | opserr << " subclass should not call this method \n"; |
| 896 | return; |
| 897 | } |
| 898 | |
| 899 | Vector accel(numDOF); |
| 900 | // get accel for the unconstrained dof |
| 901 | for (int i=0; i<numDOF; i++) { |
| 902 | int loc = myID(i); |
| 903 | if (loc >= 0) |
| 904 | accel(i) = Udotdot(loc); |
| 905 | else accel(i) = 0.0; |
| 906 | } |
| 907 | |
| 908 | if (unbalance->addMatrixVector(1.0, myNode->getMassSensitivity(), accel, fact) < 0) { |
| 909 | opserr << "DOF_Group::addM_Force() "; |
| 910 | opserr << " invoking addMatrixVector() on the unbalance failed\n"; |
| 911 | } |
| 912 | else { |
| 913 | |
| 914 | } |
| 915 | } |
| 916 | |
| 917 | void |
| 918 | DOF_Group::addD_Force(const Vector &Udot, double fact) |
nothing calls this directly
no test coverage detected