| 789 | } |
| 790 | |
| 791 | PyObject *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 | |
| 809 | PyObject *ops_specifyNumberer(PyObject *self, PyObject *args) |
| 810 | { |
nothing calls this directly
no test coverage detected