MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / addKgToTang

Method addKgToTang

DEVELOPER/core/FE_Element.cpp:419–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void
420FE_Element::addKgToTang(double fact)
421{
422 if (myEle != 0) {
423 // check for a quick return
424 if (fact == 0.0)
425 return;
426 else if (myEle->isSubdomain() == false)
427 theTangent->addMatrix(1.0, myEle->getGeometricTangentStiff(), fact);
428 else {
429 opserr << "WARNING FE_Element::addKgToTang() - ";
430 opserr << "- this should not be called on a Subdomain!\n";
431 }
432 }
433}
434
435void
436FE_Element::addKpToTang(double fact, int numP)

Callers

nothing calls this directly

Calls 2

isSubdomainMethod · 0.45
addMatrixMethod · 0.45

Tested by

no test coverage detected