| 386 | } |
| 387 | |
| 388 | void |
| 389 | FE_Element::addMtoTang(double fact) |
| 390 | { |
| 391 | if (myEle != 0 && myEle->isActive()) { |
| 392 | |
| 393 | // check for a quick return |
| 394 | if (fact == 0.0) |
| 395 | return; |
| 396 | else if (myEle->isSubdomain() == false) |
| 397 | theTangent->addMatrix(1.0, myEle->getMass(),fact); |
| 398 | else { |
| 399 | opserr << "WARNING FE_Element::addMToTang() - "; |
| 400 | opserr << "- this should not be called on a Subdomain!\n"; |
| 401 | } |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | |
| 406 | void |
no test coverage detected