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

Function Py_ops_setTime

SRC/interpreter/PythonWrapper.cpp:763–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763static PyObject *Py_ops_setTime(PyObject *self, PyObject *args)
764{
765 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
766
767 if (OPS_setTime() < 0) {
768 opserr<<(void*)0;
769 return NULL;
770 }
771
772 return wrapper->getResults();
773}
774
775static PyObject *Py_ops_remove(PyObject *self, PyObject *args)
776{

Callers

nothing calls this directly

Calls 3

OPS_setTimeFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected