| 312 | } |
| 313 | |
| 314 | int |
| 315 | NDMaterial::getResponse (int responseID, Information &matInfo) |
| 316 | { |
| 317 | switch (responseID) { |
| 318 | case 1: |
| 319 | return matInfo.setVector(this->getStress()); |
| 320 | |
| 321 | case 2: |
| 322 | return matInfo.setVector(this->getStrain()); |
| 323 | |
| 324 | default: |
| 325 | return -1; |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | |
| 330 |