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

Method commitState

DEVELOPER/core/FE_Datastore.cpp:117–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117int
118FE_Datastore::commitState(int commitTag)
119{
120 // invoke sendSelf on the domain object with this as an arg
121 int res = 0;
122 if (theDomain != 0) {
123 res = theDomain->sendSelf(commitTag, *this);
124 if (res < 0) {
125 opserr << "FE_Datastore::commitState - domain failed to sendSelf\n";
126 return res;
127 }
128 ID maxlastDbTag(1);
129 maxlastDbTag(0) = lastDbTag;
130 if (this->sendID(0,0,maxlastDbTag) < 0) {
131 opserr << "FE_Datastore::commitState - failed to get max lastDbTag data from database - problems may ariise\n";
132 }
133 }
134
135 return res;
136}
137
138
139

Callers

nothing calls this directly

Calls 2

sendSelfMethod · 0.45
sendIDMethod · 0.45

Tested by

no test coverage detected