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

Function Py_ops_patch

SRC/interpreter/PythonWrapper.cpp:564–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564static PyObject *Py_ops_patch(PyObject *self, PyObject *args)
565{
566 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
567
568 if (OPS_Patch() < 0) {
569 opserr<<(void*)0;
570 return NULL;
571 }
572
573 return wrapper->getResults();
574}
575
576static PyObject *Py_ops_layer(PyObject *self, PyObject *args)
577{

Callers

nothing calls this directly

Calls 3

OPS_PatchFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected