| 84 | |
| 85 | |
| 86 | int |
| 87 | specifySysOfEqnTable(ClientData clientData, Tcl_Interp *interp, int argc, G3_Char ** const argv) |
| 88 | { |
| 89 | // make sure at least one other argument to contain type of system |
| 90 | if (argc < 2) { |
| 91 | opserr << OpenSees::PromptValueError |
| 92 | << "need to specify a system type" << "\n"; |
| 93 | return TCL_ERROR; |
| 94 | } |
| 95 | |
| 96 | LinearSOE* theSOE = G3Parse_newLinearSOE(clientData, interp, argc, argv); |
| 97 | |
| 98 | if (theSOE == nullptr) |
| 99 | return TCL_ERROR; |
| 100 | |
| 101 | BasicAnalysisBuilder* builder = (BasicAnalysisBuilder*)clientData; |
| 102 | |
| 103 | builder->set(theSOE); |
| 104 | return TCL_OK; |
| 105 | |
| 106 | } |
| 107 | |
| 108 | |
| 109 | LinearSOE* |
nothing calls this directly
no test coverage detected