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

Method recvSelf

SRC/convergenceTest/CTestFixedNumIter.cpp:230–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229
230int CTestFixedNumIter::recvSelf(int cTag, Channel &theChannel,
231 FEM_ObjectBroker &theBroker)
232{
233 int res = 0;
234 Vector x(3);
235 res = theChannel.recvVector(this->getDbTag(), cTag, x);
236
237 if (res < 0) {
238 opserr << "CTestFixedNumIter::sendSelf() - failed to send data\n";
239 maxNumIter = 25;
240 printFlag = 0;
241 nType = 2;
242 } else {
243 maxNumIter = (int) x(0);
244 printFlag = (int) x(1);
245 nType = (int) x(2);
246 norms.resize(maxNumIter);
247 }
248 return res;
249}

Callers

nothing calls this directly

Calls 3

recvVectorMethod · 0.45
getDbTagMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected