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

Method commitState

SRC/element/PFEMElement/PFEMElement2DCompressible.cpp:212–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212int
213PFEMElement2DCompressible::commitState()
214{
215 // Vector bdisp(2);
216 // for(int a=0; a<3; a++) {
217 // const Vector& disp = nodes[2*a]->getTrialDisp();
218 // bdisp(0) += disp(0);
219 // bdisp(1) += disp(1);
220 // }
221 // bdisp /= 3.0;
222 // nodes[6]->setTrialDisp(bdisp);
223 // nodes[6]->commitState();
224 if (!dispon) {
225 if (updateJacobian() < 0) return -1;
226 }
227 return Element::commitState();
228}
229
230int
231PFEMElement2DCompressible::update()

Callers

nothing calls this directly

Calls 1

commitStateFunction · 0.85

Tested by

no test coverage detected