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

Function Py_ops_getStrain

SRC/interpreter/PythonWrapper.cpp:288–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288static PyObject *Py_ops_getStrain(PyObject *self, PyObject *args)
289{
290 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
291
292 if (OPS_getStrain() < 0) {
293 opserr<<(void*)0;
294 return NULL;
295 }
296
297 return wrapper->getResults();
298}
299
300static PyObject *Py_ops_getStress(PyObject *self, PyObject *args)
301{

Callers

nothing calls this directly

Calls 3

getResultsMethod · 0.80
OPS_getStrainFunction · 0.70
resetCommandLineMethod · 0.45

Tested by

no test coverage detected