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

Function Py_ops_setStrain

SRC/interpreter/PythonWrapper.cpp:276–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276static PyObject *Py_ops_setStrain(PyObject *self, PyObject *args)
277{
278 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
279
280 if (OPS_setStrain() < 0) {
281 opserr<<(void*)0;
282 return NULL;
283 }
284
285 return wrapper->getResults();
286}
287
288static PyObject *Py_ops_getStrain(PyObject *self, PyObject *args)
289{

Callers

nothing calls this directly

Calls 3

getResultsMethod · 0.80
OPS_setStrainFunction · 0.70
resetCommandLineMethod · 0.45

Tested by

no test coverage detected