| 201 | } |
| 202 | |
| 203 | int |
| 204 | NodalLoad::recvSelf(int cTag, Channel &theChannel, |
| 205 | FEM_ObjectBroker &theBroker) |
| 206 | { |
| 207 | int result; |
| 208 | int dataTag = this->getDbTag(); |
| 209 | ID data(5); |
| 210 | result = theChannel.recvID(dataTag, cTag, data); |
| 211 | if (result < 0) { |
| 212 | opserr << "NodalLoad::recvSelf() - failed to recv data\n"; |
| 213 | return result; |
| 214 | } |
| 215 | this->setTag(data(0)); |
| 216 | myNode = data(1); |
| 217 | int loadSize = data(2); |
| 218 | konstant = (data(3) != 0); |
| 219 | this->setLoadPatternTag(data(4)); |
| 220 | if (loadSize != 0) { |
| 221 | load = new Vector(data(2)); |
| 222 | result = theChannel.recvVector(dataTag, cTag, *load); |
| 223 | if (result < 0) { |
| 224 | opserr << "NodalLoad::recvSelf() - failed to recv load\n"; |
| 225 | return result; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | return 0; |
| 230 | } |
| 231 | |
| 232 | |
| 233 | void |
nothing calls this directly
no test coverage detected