| 147 | |
| 148 | |
| 149 | int |
| 150 | ElementStateParameter::sendSelf(int commitTag, Channel &theChannel) |
| 151 | { |
| 152 | static ID iData(4); |
| 153 | iData(0) = flag; |
| 154 | iData(1) = argc; |
| 155 | if (theEleIDs != 0) |
| 156 | iData(2) = theEleIDs->Size(); |
| 157 | else |
| 158 | iData(2) = 0; |
| 159 | iData(3) = getTag(); |
| 160 | |
| 161 | theChannel.sendID(commitTag, 0, iData); |
| 162 | |
| 163 | static Vector dData(1); |
| 164 | dData(0) = currentValue; |
| 165 | theChannel.sendVector(commitTag, 0, dData); |
| 166 | |
| 167 | if (theEleIDs != 0) |
| 168 | theChannel.sendID(commitTag, 0, *theEleIDs); |
| 169 | |
| 170 | ID argvData(argc); |
| 171 | for (int j=0; j<argc; j++) |
| 172 | argvData(j) = strlen(argv[j])+1; |
| 173 | |
| 174 | theChannel.sendID(commitTag, 0, argvData); |
| 175 | |
| 176 | for (int j=0; j<argc; j++) { |
| 177 | Message theMessage((char *)argv[j], argvData(j)); |
| 178 | theChannel.sendMsg(commitTag, 0, theMessage); |
| 179 | } |
| 180 | |
| 181 | return 0; |
| 182 | } |
| 183 | |
| 184 | int |
| 185 | ElementStateParameter::recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker) |
nothing calls this directly
no test coverage detected