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

Method commitState

SRC/element/PFEMElement/PFEMElement2DQuasi.cpp:190–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190int
191PFEMElement2DQuasi::commitState()
192{
193 Vector bdisp(2);
194 for(int a=0; a<3; a++) {
195 const Vector& disp = nodes[2*a]->getTrialDisp();
196 bdisp(0) += disp(0);
197 bdisp(1) += disp(1);
198 }
199 bdisp /= 3.0;
200 nodes[6]->setTrialDisp(bdisp);
201 nodes[6]->commitState();
202 return Element::commitState();
203}
204
205int
206PFEMElement2DQuasi::update()

Callers

nothing calls this directly

Calls 2

commitStateFunction · 0.85
setTrialDispMethod · 0.45

Tested by

no test coverage detected