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

Function Py_ops_fix

SRC/interpreter/PythonWrapper.cpp:384–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384static PyObject *Py_ops_fix(PyObject *self, PyObject *args)
385{
386 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
387
388 if (OPS_HomogeneousBC() < 0) {
389 opserr<<(void*)0;
390 return NULL;
391 }
392
393 return wrapper->getResults();
394}
395
396static PyObject *Py_ops_element(PyObject *self, PyObject *args)
397{

Callers

nothing calls this directly

Calls 3

getResultsMethod · 0.80
OPS_HomogeneousBCFunction · 0.50
resetCommandLineMethod · 0.45

Tested by

no test coverage detected