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

Function Py_ops_region

SRC/interpreter/PythonWrapper.cpp:1555–1565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1553}
1554
1555static PyObject *Py_ops_region(PyObject *self, PyObject *args)
1556{
1557 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1558
1559 if (OPS_MeshRegion() < 0) {
1560 opserr<<(void*)0;
1561 return NULL;
1562 }
1563
1564 return wrapper->getResults();
1565}
1566
1567static PyObject *Py_ops_setPrecision(PyObject *self, PyObject *args)
1568{

Callers

nothing calls this directly

Calls 3

OPS_MeshRegionFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected