| 545 | } |
| 546 | |
| 547 | inline int commitState() { |
| 548 | // store the previously committed variables for next move from n to n - 1 |
| 549 | |
| 550 | // state variables |
| 551 | |
| 552 | int retval = 0; |
| 553 | |
| 554 | retval = steel_material.commitState(); |
| 555 | |
| 556 | if (slip_material) |
| 557 | retval = slip_material->commitState(); |
| 558 | |
| 559 | // done |
| 560 | return retval; |
| 561 | } |
| 562 | inline void revertToLastCommit() { |
| 563 | // state variables |
| 564 | steel_material.revertToLastCommit(); |
nothing calls this directly
no test coverage detected