| 67 | |
| 68 | |
| 69 | int |
| 70 | TclCommand_systemSize(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char ** const argv) |
| 71 | { |
| 72 | assert(clientData != nullptr); |
| 73 | LinearSOE *theSOE = ((BasicAnalysisBuilder *)clientData)->getLinearSOE(); |
| 74 | |
| 75 | if (theSOE == nullptr) { |
| 76 | opserr << "No system has been set"; |
| 77 | return TCL_OK; |
| 78 | } |
| 79 | |
| 80 | Tcl_SetObjResult(interp, Tcl_NewIntObj(theSOE->getNumEqn())); |
| 81 | |
| 82 | return TCL_OK; |
| 83 | } |
| 84 | |
| 85 | |
| 86 | int |
nothing calls this directly
no test coverage detected