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

Method sendSelf

SRC/analysis/integrator/KRAlphaExplicit.cpp:570–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570int KRAlphaExplicit::sendSelf(int cTag, Channel &theChannel)
571{
572 Vector data(5);
573 data(0) = alphaM;
574 data(1) = alphaF;
575 data(2) = beta;
576 data(3) = gamma;
577 if (updElemDisp == false)
578 data(4) = 0.0;
579 else
580 data(4) = 1.0;
581
582 if (theChannel.sendVector(this->getDbTag(), cTag, data) < 0) {
583 opserr << "WARNING KRAlphaExplicit::sendSelf() - could not send data\n";
584 return -1;
585 }
586
587 return 0;
588}
589
590
591int KRAlphaExplicit::recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Callers

nothing calls this directly

Calls 2

sendVectorMethod · 0.45
getDbTagMethod · 0.45

Tested by

no test coverage detected