| 433 | } |
| 434 | |
| 435 | void |
| 436 | FE_Element::addKpToTang(double fact, int numP) |
| 437 | { |
| 438 | if (myEle != 0) { |
| 439 | // check for a quick return |
| 440 | if (fact == 0.0) |
| 441 | return; |
| 442 | else if (myEle->isSubdomain() == false) { |
| 443 | const Matrix *thePrevMat = myEle->getPreviousK(numP); |
| 444 | if (thePrevMat != 0) |
| 445 | theTangent->addMatrix(1.0, *thePrevMat, fact); |
| 446 | } else { |
| 447 | opserr << "WARNING FE_Element::addKpToTang() - "; |
| 448 | opserr << "- this should not be called on a Subdomain!\n"; |
| 449 | } |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | int |
| 454 | FE_Element::storePreviousK(int numP) |
nothing calls this directly
no test coverage detected