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

Function Py_ops_getNumElements

SRC/interpreter/PythonWrapper.cpp:2360–2370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2358}
2359
2360static PyObject *Py_ops_getNumElements(PyObject *self, PyObject *args)
2361{
2362 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
2363
2364 if (OPS_getNumElements() < 0) {
2365 opserr<<(void*)0;
2366 return NULL;
2367 }
2368
2369 return wrapper->getResults();
2370}
2371
2372static PyObject *Py_ops_getEleClassTags(PyObject *self, PyObject *args)
2373{

Callers

nothing calls this directly

Calls 3

OPS_getNumElementsFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected