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

Function OPS_resetModel

SRC/interpreter/OpenSeesCommands.cpp:2216–2229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2214}
2215
2216int OPS_resetModel()
2217{
2218 if (cmds == 0) return 0;
2219 Domain* theDomain = OPS_GetDomain();
2220 if (theDomain != 0) {
2221 theDomain->revertToStart();
2222 }
2223 TransientIntegrator* theTransientIntegrator = cmds->getTransientIntegrator();
2224 if (theTransientIntegrator != 0) {
2225 theTransientIntegrator->revertToStart();
2226 }
2227
2228 return 0;
2229}
2230
2231int OPS_initializeAnalysis()
2232{

Callers 2

Tcl_ops_resetFunction · 0.85
Py_ops_resetFunction · 0.85

Calls 3

OPS_GetDomainFunction · 0.70
revertToStartMethod · 0.45

Tested by

no test coverage detected