| 164 | } |
| 165 | |
| 166 | int |
| 167 | CrdTransf::getResponse(int responseID, Information &eleInfo) |
| 168 | { |
| 169 | if (responseID >= 201 && responseID <= 203) { |
| 170 | static Vector xlocal(3); |
| 171 | static Vector ylocal(3); |
| 172 | static Vector zlocal(3); |
| 173 | |
| 174 | this->getLocalAxes(xlocal, ylocal, zlocal); |
| 175 | |
| 176 | if (responseID == 201) |
| 177 | return eleInfo.setVector(xlocal); |
| 178 | else if (responseID == 202) |
| 179 | return eleInfo.setVector(ylocal); |
| 180 | else if (responseID == 203) |
| 181 | return eleInfo.setVector(zlocal); |
| 182 | else |
| 183 | return -1; |
| 184 | } |
| 185 | if (responseID == 204) { |
| 186 | static Vector offsets(6); |
| 187 | |
| 188 | offsets.Zero(); |
| 189 | this->getRigidOffsets(offsets); |
| 190 | |
| 191 | return eleInfo.setVector(offsets); |
| 192 | } |
| 193 | else |
| 194 | return -1; |
| 195 | } |
| 196 | |
| 197 | const Vector & |
| 198 | CrdTransf::getBasicDisplSensitivity(int gradNumber) |
nothing calls this directly
no test coverage detected