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

Function Py_ops_getPID

SRC/interpreter/PythonWrapper.cpp:2180–2190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2178}
2179
2180static PyObject *Py_ops_getPID(PyObject *self, PyObject *args)
2181{
2182 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
2183
2184 if (OPS_getPID() < 0) {
2185 opserr<<(void*)0;
2186 return NULL;
2187 }
2188
2189 return wrapper->getResults();
2190}
2191
2192static PyObject *Py_ops_getNP(PyObject *self, PyObject *args)
2193{

Callers

nothing calls this directly

Calls 3

OPS_getPIDFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected