| 932 | } |
| 933 | |
| 934 | void |
| 935 | FE_Element::addLocalD_Force(const Vector &accel, double fact) |
| 936 | { |
| 937 | if (myEle != 0) { |
| 938 | |
| 939 | // check for a quick return |
| 940 | if (fact == 0.0) |
| 941 | return; |
| 942 | if (myEle->isSubdomain() == false) { |
| 943 | if (theResidual->addMatrixVector(1.0, myEle->getDamp(), |
| 944 | accel, fact) < 0){ |
| 945 | |
| 946 | opserr << "WARNING FE_Element::addLocalD_Force() - "; |
| 947 | opserr << "- addMatrixVector returned error\n"; |
| 948 | } |
| 949 | } |
| 950 | else { |
| 951 | opserr << "WARNING FE_Element::addLocalD_Force() - "; |
| 952 | opserr << "- this should not be called on a Subdomain!\n"; |
| 953 | } |
| 954 | } |
| 955 | else { |
| 956 | opserr << "WARNING FE_Element::addLocalD_Force() - no Element *given "; |
| 957 | opserr << "- subclasses must provide implementation\n"; |
| 958 | } |
| 959 | } |
| 960 | |
| 961 | |
| 962 | Element * |
nothing calls this directly
no test coverage detected