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

Function Py_ops_model

SRC/interpreter/PythonWrapper.cpp:360–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360static PyObject *Py_ops_model(PyObject *self, PyObject *args)
361{
362 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
363
364 if (OPS_model() < 0) {
365 opserr<<(void*)0;
366 return NULL;
367 }
368
369 return wrapper->getResults();
370}
371
372static PyObject *Py_ops_node(PyObject *self, PyObject *args)
373{

Callers

nothing calls this directly

Calls 3

OPS_modelFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected