| 94 | } |
| 95 | |
| 96 | int |
| 97 | MatParameter::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 | |
| 117 | int |
| 118 | MatParameter::recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker) |