| 843 | } |
| 844 | |
| 845 | PyObject *ops_specifyAlgorithm(PyObject *self, PyObject *args) |
| 846 | { |
| 847 | OPS_ResetCommandLine(PyTuple_Size(args), 0, args); |
| 848 | |
| 849 | const char *type = OPS_GetString(); |
| 850 | EquiSolnAlgo* theAlgorithm = OPS_ParseAlgorithmCommand(type); |
| 851 | |
| 852 | if(theAlgorithm == 0) { |
| 853 | PyErr_SetString(PyExc_RuntimeError,"failed to create Algorithm "); |
| 854 | return NULL; |
| 855 | } |
| 856 | |
| 857 | anaBuilder.set(theAlgorithm); |
| 858 | |
| 859 | Py_INCREF(Py_None); |
| 860 | return Py_None; |
| 861 | } |
| 862 | |
| 863 | PyObject *ops_specifyIntegrator(PyObject *self, PyObject *args) |
| 864 | { |
nothing calls this directly
no test coverage detected