| 1638 | |
| 1639 | |
| 1640 | int |
| 1641 | setLoadConst(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
| 1642 | { |
| 1643 | theDomain.setLoadConstant(); |
| 1644 | if (argc == 3) { |
| 1645 | if( strcmp(argv[1],"-time") == 0) { |
| 1646 | double newTime; |
| 1647 | if (Tcl_GetDouble(interp, argv[2], &newTime) != TCL_OK) { |
| 1648 | opserr << "WARNING readingvalue - loadConst -time value \n"; |
| 1649 | return TCL_ERROR; |
| 1650 | } else { |
| 1651 | theDomain.setCurrentTime(newTime); |
| 1652 | theDomain.setCommittedTime(newTime); |
| 1653 | } |
| 1654 | } |
| 1655 | } |
| 1656 | |
| 1657 | return TCL_OK; |
| 1658 | } |
| 1659 | |
| 1660 | int |
| 1661 | setCreep(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
nothing calls this directly
no test coverage detected