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

Function Py_ops_getStress

SRC/interpreter/PythonWrapper.cpp:300–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300static PyObject *Py_ops_getStress(PyObject *self, PyObject *args)
301{
302 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
303
304 if (OPS_getStress() < 0) {
305 opserr<<(void*)0;
306 return NULL;
307 }
308
309 return wrapper->getResults();
310}
311
312static PyObject *Py_ops_getTangent(PyObject *self, PyObject *args)
313{

Callers

nothing calls this directly

Calls 3

getResultsMethod · 0.80
OPS_getStressFunction · 0.70
resetCommandLineMethod · 0.45

Tested by

no test coverage detected