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

Function Py_ops_setParameter

SRC/interpreter/PythonWrapper.cpp:2168–2178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2166}
2167
2168static PyObject *Py_ops_setParameter(PyObject *self, PyObject *args)
2169{
2170 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
2171
2172 if (OPS_setParameter() < 0) {
2173 opserr<<(void*)0;
2174 return NULL;
2175 }
2176
2177 return wrapper->getResults();
2178}
2179
2180static PyObject *Py_ops_getPID(PyObject *self, PyObject *args)
2181{

Callers

nothing calls this directly

Calls 3

OPS_setParameterFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected