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

Method update

DEVELOPER/core/Domain.cpp:1978–2000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1976}
1977
1978int
1979Domain::update(void)
1980{
1981 // set the global constants
1982 ops_Dt = dT;
1983 ops_TheActiveDomain = this;
1984
1985 int ok = 0;
1986
1987 // invoke update on all the ele's
1988 ElementIter &theEles = this->getElements();
1989 Element *theEle;
1990
1991 while ((theEle = theEles()) != 0) {
1992 ops_TheActiveElement = theEle;
1993 ok += theEle->update();
1994 }
1995
1996 if (ok != 0)
1997 opserr << "Domain::update - domain failed in update\n";
1998
1999 return ok;
2000}
2001
2002
2003int

Callers 7

revertToLastCommitMethod · 0.95
revertToStartMethod · 0.95
updateElementMethod · 0.45
updateDomainMethod · 0.45
addElementMethod · 0.45
updateParameterMethod · 0.45
recvSelfMethod · 0.45

Calls 2

applyLoadMethod · 0.95
getElementsMethod · 0.45

Tested by

no test coverage detected