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

Function Py_ops_reset

SRC/interpreter/PythonWrapper.cpp:919–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917}
918
919static PyObject *Py_ops_reset(PyObject *self, PyObject *args)
920{
921 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
922
923 if (OPS_resetModel() < 0) {
924 opserr<<(void*)0;
925 return NULL;
926 }
927
928 return wrapper->getResults();
929}
930
931static PyObject *Py_ops_initialize(PyObject *self, PyObject *args)
932{

Callers

nothing calls this directly

Calls 3

OPS_resetModelFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected