MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / specifySysOfEqnTable

Function specifySysOfEqnTable

SRC/runtime/commands/analysis/solver.cpp:86–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86int
87specifySysOfEqnTable(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
109LinearSOE*

Callers

nothing calls this directly

Calls 2

G3Parse_newLinearSOEFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected