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

Method restoreState

DEVELOPER/core/FE_Datastore.cpp:140–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140int
141FE_Datastore::restoreState(int commitTag)
142{
143 // invoke sendSelf on the domain object with this as an arg
144 int res = 0;
145 if (theDomain != 0) {
146 res = theDomain->recvSelf(commitTag, *this, *theObjectBroker);
147 if (res < 0) {
148 opserr << "FE_Datastore::restoreState - domain failed to recvSelf\n";
149 }
150 ID maxlastDbTag(1);
151 if (this->recvID(0,0,maxlastDbTag) < 0) {
152 opserr << "FE_Datastore::restoreState - failed to get max lastDbTag data from database - problems may ariise\n";
153 } else
154 lastDbTag = maxlastDbTag(0);
155
156 }
157
158 return res;
159}
160
161
162

Callers

nothing calls this directly

Calls 2

recvSelfMethod · 0.45
recvIDMethod · 0.45

Tested by

no test coverage detected