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

Method revertToLastCommit

SRC/element/WrapperElement.cpp:169–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int
170WrapperElement::revertToLastCommit()
171{
172 // get the current load factor
173 Domain *theDomain=this->getDomain();
174
175 theModelState.time = committedTime;
176 theModelState.dt = committedDt;
177
178 // invoke the element routine
179 int isw = ISW_REVERT;
180 int error = 0;
181 theEle->eleFunctPtr(theEle, &theModelState, K , R, &isw, &error);
182 return error;
183}
184
185int
186WrapperElement::revertToStart()

Callers

nothing calls this directly

Calls 1

getDomainMethod · 0.45

Tested by

no test coverage detected