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

Method addMtoTang

DEVELOPER/core/FE_Element.cpp:385–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

isSubdomainMethod · 0.45
addMatrixMethod · 0.45

Tested by

no test coverage detected