| 8461 | |
| 8462 | |
| 8463 | SWIGINTERN PyObject *_wrap_ProblemData_getI(PyObject *self, PyObject *args) { |
| 8464 | PyObject *resultobj = 0; |
| 8465 | ProblemData *arg1 = (ProblemData *) 0 ; |
| 8466 | double *arg2 = (double *) 0 ; |
| 8467 | int arg3 ; |
| 8468 | void *argp1 = 0 ; |
| 8469 | int res1 = 0 ; |
| 8470 | PyObject *array2 = NULL ; |
| 8471 | PyObject *swig_obj[2] ; |
| 8472 | |
| 8473 | (void)self; |
| 8474 | if (!SWIG_Python_UnpackTuple(args, "ProblemData_getI", 2, 2, swig_obj)) SWIG_fail; |
| 8475 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ProblemData, 0 | 0 ); |
| 8476 | if (!SWIG_IsOK(res1)) { |
| 8477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProblemData_getI" "', argument " "1"" of type '" "ProblemData *""'"); |
| 8478 | } |
| 8479 | arg1 = reinterpret_cast< ProblemData * >(argp1); |
| 8480 | { |
| 8481 | npy_intp dims[1]; |
| 8482 | if (!PyLong_Check(swig_obj[1])) |
| 8483 | { |
| 8484 | const char* typestring = pytype_string(swig_obj[1]); |
| 8485 | PyErr_Format(PyExc_TypeError, |
| 8486 | "Int dimension expected. '%s' given.", |
| 8487 | typestring); |
| 8488 | SWIG_fail; |
| 8489 | } |
| 8490 | arg3 = (int) PyLong_AsSsize_t(swig_obj[1]); |
| 8491 | if (arg3 == -1 && PyErr_Occurred()) SWIG_fail; |
| 8492 | dims[0] = (npy_intp) arg3; |
| 8493 | array2 = PyArray_SimpleNew(1, dims, NPY_DOUBLE); |
| 8494 | if (!array2) SWIG_fail; |
| 8495 | arg2 = (double*) array_data(array2); |
| 8496 | } |
| 8497 | (arg1)->getI(arg2,arg3); |
| 8498 | resultobj = SWIG_Py_Void(); |
| 8499 | { |
| 8500 | resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array2); |
| 8501 | } |
| 8502 | return resultobj; |
| 8503 | fail: |
| 8504 | return NULL; |
| 8505 | } |
| 8506 | |
| 8507 | |
| 8508 | SWIGINTERN PyObject *_wrap_ProblemData_getJ(PyObject *self, PyObject *args) { |
nothing calls this directly
no test coverage detected