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

Function TclCommand_systemSize

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

Source from the content-addressed store, hash-verified

67
68
69int
70TclCommand_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
86int

Callers

nothing calls this directly

Calls 2

getLinearSOEMethod · 0.45
getNumEqnMethod · 0.45

Tested by

no test coverage detected