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

Function G3_getRuntime

SRC/runtime/parsing/InterpreterAPI.cpp:285–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283static BasicModelBuilder *theModelBuilder = nullptr;
284
285G3_Runtime *
286G3_getRuntime(Tcl_Interp *interp)
287{
288 G3_Runtime *rt = (G3_Runtime*)Tcl_GetAssocData(interp, "G3_Runtime", nullptr);
289 if (!rt)
290 opserr << G3_WARN_PROMPT << " No runtime\n";;
291 return rt;
292}
293
294Tcl_Interp *
295G3_getInterpreter(G3_Runtime* rt) {return rt->m_interp;}

Callers 15

OpenSees_putsCommandFunction · 0.85
dispatchFunction · 0.85
TclCommand_addSectionFunction · 0.85
TclCommand_addElementFunction · 0.85
TclCommand_specifyModelFunction · 0.85
buildModelFunction · 0.85
dispatchFunction · 0.85
TclCommand_addNDMaterialFunction · 0.85
TclCreateRecorderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected