| 905 | |
| 906 | |
| 907 | void |
| 908 | FE_Element::addLocalM_Force(const Vector &accel, double fact) |
| 909 | { |
| 910 | if (myEle != 0) { |
| 911 | |
| 912 | // check for a quick return |
| 913 | if (fact == 0.0) |
| 914 | return; |
| 915 | if (myEle->isSubdomain() == false) { |
| 916 | if (theResidual->addMatrixVector(1.0, myEle->getMass(), |
| 917 | accel, fact) < 0){ |
| 918 | |
| 919 | opserr << "WARNING FE_Element::addLocalM_Force() - "; |
| 920 | opserr << "- addMatrixVector returned error\n"; |
| 921 | } |
| 922 | } |
| 923 | else { |
| 924 | opserr << "WARNING FE_Element::addLocalM_Force() - "; |
| 925 | opserr << "- this should not be called on a Subdomain!\n"; |
| 926 | } |
| 927 | } |
| 928 | else { |
| 929 | opserr << "WARNING FE_Element::addLocalM_Force() - no Element *given "; |
| 930 | opserr << "- subclasses must provide implementation\n"; |
| 931 | } |
| 932 | } |
| 933 | |
| 934 | void |
| 935 | FE_Element::addLocalD_Force(const Vector &accel, double fact) |
nothing calls this directly
no test coverage detected