| 931 | } |
| 932 | |
| 933 | void |
| 934 | TransformationFE::addM_Force(const Vector &disp, double fact) |
| 935 | { |
| 936 | if (fact == 0.0) |
| 937 | return; |
| 938 | |
| 939 | static Vector response; |
| 940 | response.setData(dataBuffer, numOriginalDOF); |
| 941 | |
| 942 | for (int i=0; i<numTransformedDOF; i++) { |
| 943 | int loc = (*modID)(i); |
| 944 | if (loc >= 0) |
| 945 | (*modResidual)(i) = disp(loc); |
| 946 | else |
| 947 | (*modResidual)(i) = 0.0; |
| 948 | } |
| 949 | transformResponse(*modResidual, response); |
| 950 | this->addLocalM_Force(response, fact); |
| 951 | } |
| 952 | |
| 953 | |
| 954 |
nothing calls this directly
no test coverage detected