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

Function Py_ops_save

SRC/interpreter/PythonWrapper.cpp:1075–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073}
1074
1075static PyObject *Py_ops_save(PyObject *self, PyObject *args)
1076{
1077 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1078
1079 if (OPS_save() < 0) {
1080 opserr<<(void*)0;
1081 return NULL;
1082 }
1083
1084 return wrapper->getResults();
1085}
1086
1087static PyObject *Py_ops_restore(PyObject *self, PyObject *args)
1088{

Callers

nothing calls this directly

Calls 3

OPS_saveFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected