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

Function ops_specifySOE

SRC/interpreter/PythonAnalysisBuilder.cpp:791–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791PyObject *ops_specifySOE(PyObject *self, PyObject *args)
792{
793 OPS_ResetCommandLine(PyTuple_Size(args), 0, args);
794
795 const char *type = OPS_GetString();
796 LinearSOE* theSOE = OPS_ParseSOECommand(type);
797
798 if(theSOE != 0) {
799 anaBuilder.set(theSOE);
800 } else {
801 PyErr_SetString(PyExc_RuntimeError,"failed to create SOE ");
802 return NULL;
803 }
804
805 Py_INCREF(Py_None);
806 return Py_None;
807}
808
809PyObject *ops_specifyNumberer(PyObject *self, PyObject *args)
810{

Callers

nothing calls this directly

Calls 3

OPS_ResetCommandLineFunction · 0.85
OPS_GetStringFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected