| 1057 | } |
| 1058 | |
| 1059 | void |
| 1060 | FE_Element::addLocalM_ForceSensitivity(int gradNumber, const Vector &accel, double fact) |
| 1061 | { |
| 1062 | if (myEle != 0) { |
| 1063 | |
| 1064 | // check for a quick return |
| 1065 | if (fact == 0.0) |
| 1066 | return; |
| 1067 | if (myEle->isSubdomain() == false) { |
| 1068 | if (theResidual->addMatrixVector(1.0, myEle->getMassSensitivity(gradNumber), |
| 1069 | accel, fact) < 0){ |
| 1070 | |
| 1071 | opserr << "WARNING FE_Element::addLocalD_ForceSensitivity() - "; |
| 1072 | opserr << "- addMatrixVector returned error\n"; |
| 1073 | } |
| 1074 | } |
| 1075 | else { |
| 1076 | opserr << "WARNING FE_Element::addLocalD_ForceSensitivity() - "; |
| 1077 | opserr << "- this should not be called on a Subdomain!\n"; |
| 1078 | } |
| 1079 | } |
| 1080 | else { |
| 1081 | opserr << "WARNING FE_Element::addLocalD_ForceSensitivity() - no Element *given "; |
| 1082 | opserr << "- subclasses must provide implementation\n"; |
| 1083 | } |
| 1084 | } |
| 1085 | |
| 1086 | |
| 1087 |
nothing calls this directly
no test coverage detected