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

Method formElementResidual

DEVELOPER/core/IncrementalIntegrator.cpp:266–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266int
267IncrementalIntegrator::formElementResidual(void)
268{
269 // loop through the FE_Elements and add the residual
270 FE_Element *elePtr;
271
272 int res = 0;
273
274 FE_EleIter &theEles2 = theAnalysisModel->getFEs();
275 while((elePtr = theEles2()) != 0) {
276
277 if (theSOE->addB(elePtr->getResidual(this),elePtr->getID()) <0) {
278 opserr << "WARNING IncrementalIntegrator::formElementResidual -";
279 opserr << " failed in addB for ID " << elePtr->getID();
280 res = -2;
281 }
282 }
283
284 return res;
285}
286
287/*
288int

Callers 2

formUnbalanceMethod · 0.95
formUnbalanceMethod · 0.45

Calls 3

getResidualMethod · 0.80
getIDMethod · 0.80
addBMethod · 0.45

Tested by

no test coverage detected