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

Method sendSelf

SRC/domain/component/MatParameter.cpp:96–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96int
97MatParameter::sendSelf(int commitTag, Channel &theChannel)
98{
99 static ID theData(3);
100 theData[0] = this->getTag();
101 theData[1] = theMaterialTag;
102 if (theParameterName != 0)
103 theData[2] = strlen(theParameterName);
104 else
105 theData[2] = 0;
106
107 theChannel.sendID(commitTag, 0, theData);
108
109 if (theParameterName != 0) {
110 Message theMessage(theParameterName, strlen(theParameterName));
111 theChannel.sendMsg(commitTag, 0, theMessage);
112 }
113
114 return 0;
115}
116
117int
118MatParameter::recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Callers

nothing calls this directly

Calls 3

getTagMethod · 0.45
sendIDMethod · 0.45
sendMsgMethod · 0.45

Tested by

no test coverage detected