| 297 | |
| 298 | |
| 299 | void* OPS_NDCommitState() |
| 300 | { |
| 301 | int tag = 0; |
| 302 | double strains[6]; |
| 303 | int size = 6; |
| 304 | double stressdata[6] = {1 , 2 , 3, 4, 5, 6}; |
| 305 | |
| 306 | int numdata = 1; |
| 307 | if (OPS_GetIntInput(&numdata, &tag) < 0) return 0; |
| 308 | |
| 309 | |
| 310 | NDMaterial* mat = OPS_getNDMaterial(tag); |
| 311 | |
| 312 | if (mat == NULL) |
| 313 | { |
| 314 | opserr << "OPS_NDCommitState - material with tag " << tag << " does not exist" << endln; |
| 315 | return 0; |
| 316 | } |
| 317 | |
| 318 | |
| 319 | mat->commitState(); |
| 320 | |
| 321 | return 0; |
| 322 | } |
| 323 | |
| 324 | |
| 325 | void* OPS_NDUpdateIntegerParameter() |
nothing calls this directly
no test coverage detected