| 349 | } |
| 350 | |
| 351 | void |
| 352 | FE_Element::addKtToTang(double fact) |
| 353 | { |
| 354 | if (myEle != 0 && myEle->isActive()) { |
| 355 | |
| 356 | // check for a quick return |
| 357 | if (fact == 0.0) |
| 358 | return; |
| 359 | else if (myEle->isSubdomain() == false) |
| 360 | { |
| 361 | const Matrix& Kt = myEle->getTangentStiff(); |
| 362 | theTangent->addMatrix(1.0, Kt,fact); |
| 363 | } |
| 364 | else { |
| 365 | opserr << "WARNING FE_Element::addKToTang() - "; |
| 366 | opserr << "- this should not be called on a Subdomain!\n"; |
| 367 | } |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | void |
| 372 | FE_Element::addCtoTang(double fact) |
no test coverage detected