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

Method update

SRC/element/WrapperElement.cpp:271–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271int
272WrapperElement::update()
273{
274 // get the current load factor
275 Domain *theDomain=this->getDomain();
276 double time = theDomain->getCurrentTime();
277 double dt = committedTime - time;
278
279 theModelState.time = time;
280 theModelState.dt = dt;
281 // zero the matrix
282 int error = 0;
283 int isw = ISW_FORM_TANG_AND_RESID;
284 theEle->eleFunctPtr(theEle, &theModelState, K , R, &isw, &error);
285
286 Rvector.setData(R, theEle->nDOF);
287
288 return error;
289}
290
291const Matrix &
292WrapperElement::getInitialStiff(void)

Callers

nothing calls this directly

Calls 3

getDomainMethod · 0.45
getCurrentTimeMethod · 0.45
setDataMethod · 0.45

Tested by

no test coverage detected