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

Function Py_ops_getNP

SRC/interpreter/PythonWrapper.cpp:2192–2202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2190}
2191
2192static PyObject *Py_ops_getNP(PyObject *self, PyObject *args)
2193{
2194 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
2195
2196 if (OPS_getNP() < 0) {
2197 opserr<<(void*)0;
2198 return NULL;
2199 }
2200
2201 return wrapper->getResults();
2202}
2203
2204static PyObject *Py_ops_barrier(PyObject *self, PyObject *args)
2205{

Callers

nothing calls this directly

Calls 3

OPS_getNPFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected