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

Method addCtoTang

DEVELOPER/core/FE_Element.cpp:368–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368void
369FE_Element::addCtoTang(double fact)
370{
371 if (myEle != 0) {
372
373 // check for a quick return
374 if (fact == 0.0)
375 return;
376 else if (myEle->isSubdomain() == false)
377 theTangent->addMatrix(1.0, myEle->getDamp(),fact);
378 else {
379 opserr << "WARNING FE_Element::addCToTang() - ";
380 opserr << "- this should not be called on a Subdomain!\n";
381 }
382 }
383}
384
385void
386FE_Element::addMtoTang(double fact)

Callers

nothing calls this directly

Calls 2

isSubdomainMethod · 0.45
addMatrixMethod · 0.45

Tested by

no test coverage detected