| 3593 | } |
| 3594 | |
| 3595 | int OPS_domainCommitTag() { |
| 3596 | if (cmds == 0) { |
| 3597 | return 0; |
| 3598 | } |
| 3599 | |
| 3600 | int commitTag = cmds->getDomain()->getCommitTag(); |
| 3601 | int numdata = 1; |
| 3602 | if (OPS_GetNumRemainingInputArgs() > 0) { |
| 3603 | if (OPS_GetIntInput(&numdata, &commitTag) < 0) { |
| 3604 | opserr << "WARNING: failed to get commitTag\n"; |
| 3605 | return -1; |
| 3606 | } |
| 3607 | cmds->getDomain()->setCommitTag(commitTag); |
| 3608 | } |
| 3609 | if (OPS_SetIntOutput(&numdata, &commitTag, true) < 0) { |
| 3610 | opserr << "WARNING failed to set commitTag\n"; |
| 3611 | return 0; |
| 3612 | } |
| 3613 | |
| 3614 | return 0; |
| 3615 | } |
| 3616 | |
| 3617 | void* OPS_ParallelRCM() { |
| 3618 |
no test coverage detected