1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.0
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 /* ---------------------------------------------------------------
12  * Programmer(s): Auto-generated by swig.
13  * ---------------------------------------------------------------
14  * SUNDIALS Copyright Start
15  * Copyright (c) 2002-2021, Lawrence Livermore National Security
16  * and Southern Methodist University.
17  * All rights reserved.
18  *
19  * See the top-level LICENSE and NOTICE files for details.
20  *
21  * SPDX-License-Identifier: BSD-3-Clause
22  * SUNDIALS Copyright End
23  * -------------------------------------------------------------*/
24 
25 /* -----------------------------------------------------------------------------
26  *  This section contains generic SWIG labels for method/variable
27  *  declarations/attributes, and other compiler dependent labels.
28  * ----------------------------------------------------------------------------- */
29 
30 /* template workaround for compilers that cannot correctly implement the C++ standard */
31 #ifndef SWIGTEMPLATEDISAMBIGUATOR
32 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
33 #  define SWIGTEMPLATEDISAMBIGUATOR template
34 # elif defined(__HP_aCC)
35 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
36 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
37 #  define SWIGTEMPLATEDISAMBIGUATOR template
38 # else
39 #  define SWIGTEMPLATEDISAMBIGUATOR
40 # endif
41 #endif
42 
43 /* inline attribute */
44 #ifndef SWIGINLINE
45 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
46 #   define SWIGINLINE inline
47 # else
48 #   define SWIGINLINE
49 # endif
50 #endif
51 
52 /* attribute recognised by some compilers to avoid 'unused' warnings */
53 #ifndef SWIGUNUSED
54 # if defined(__GNUC__)
55 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
56 #     define SWIGUNUSED __attribute__ ((__unused__))
57 #   else
58 #     define SWIGUNUSED
59 #   endif
60 # elif defined(__ICC)
61 #   define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 #   define SWIGUNUSED
64 # endif
65 #endif
66 
67 #ifndef SWIG_MSC_UNSUPPRESS_4505
68 # if defined(_MSC_VER)
69 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
70 # endif
71 #endif
72 
73 #ifndef SWIGUNUSEDPARM
74 # ifdef __cplusplus
75 #   define SWIGUNUSEDPARM(p)
76 # else
77 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
78 # endif
79 #endif
80 
81 /* internal SWIG method */
82 #ifndef SWIGINTERN
83 # define SWIGINTERN static SWIGUNUSED
84 #endif
85 
86 /* internal inline SWIG method */
87 #ifndef SWIGINTERNINLINE
88 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
89 #endif
90 
91 /* qualifier for exported *const* global data variables*/
92 #ifndef SWIGEXTERN
93 # ifdef __cplusplus
94 #   define SWIGEXTERN extern
95 # else
96 #   define SWIGEXTERN
97 # endif
98 #endif
99 
100 /* exporting methods */
101 #if defined(__GNUC__)
102 #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
103 #    ifndef GCC_HASCLASSVISIBILITY
104 #      define GCC_HASCLASSVISIBILITY
105 #    endif
106 #  endif
107 #endif
108 
109 #ifndef SWIGEXPORT
110 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
111 #   if defined(STATIC_LINKED)
112 #     define SWIGEXPORT
113 #   else
114 #     define SWIGEXPORT __declspec(dllexport)
115 #   endif
116 # else
117 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
118 #     define SWIGEXPORT __attribute__ ((visibility("default")))
119 #   else
120 #     define SWIGEXPORT
121 #   endif
122 # endif
123 #endif
124 
125 /* calling conventions for Windows */
126 #ifndef SWIGSTDCALL
127 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
128 #   define SWIGSTDCALL __stdcall
129 # else
130 #   define SWIGSTDCALL
131 # endif
132 #endif
133 
134 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
135 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
136 # define _CRT_SECURE_NO_DEPRECATE
137 #endif
138 
139 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
140 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
141 # define _SCL_SECURE_NO_DEPRECATE
142 #endif
143 
144 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
145 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
146 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
147 #endif
148 
149 /* Intel's compiler complains if a variable which was never initialised is
150  * cast to void, which is a common idiom which we use to indicate that we
151  * are aware a variable isn't used.  So we just silence that warning.
152  * See: https://github.com/swig/swig/issues/192 for more discussion.
153  */
154 #ifdef __INTEL_COMPILER
155 # pragma warning disable 592
156 #endif
157 
158 /*  Errors in SWIG */
159 #define  SWIG_UnknownError    	   -1
160 #define  SWIG_IOError        	   -2
161 #define  SWIG_RuntimeError   	   -3
162 #define  SWIG_IndexError     	   -4
163 #define  SWIG_TypeError      	   -5
164 #define  SWIG_DivisionByZero 	   -6
165 #define  SWIG_OverflowError  	   -7
166 #define  SWIG_SyntaxError    	   -8
167 #define  SWIG_ValueError     	   -9
168 #define  SWIG_SystemError    	   -10
169 #define  SWIG_AttributeError 	   -11
170 #define  SWIG_MemoryError    	   -12
171 #define  SWIG_NullReferenceError   -13
172 
173 
174 
175 
176 #include <assert.h>
177 #define SWIG_exception_impl(DECL, CODE, MSG, RETURNNULL) \
178  {STAN_SUNDIALS_PRINTF("In " DECL ": " MSG); assert(0); RETURNNULL; }
179 
180 
181 enum {
182     SWIG_MEM_OWN = 0x01,
183     SWIG_MEM_RVALUE = 0x02,
184     SWIG_MEM_CONST = 0x04
185 };
186 
187 
188 #define SWIG_check_mutable(SWIG_CLASS_WRAPPER, TYPENAME, FNAME, FUNCNAME, RETURNNULL) \
189     if ((SWIG_CLASS_WRAPPER).cmemflags & SWIG_MEM_CONST) { \
190         SWIG_exception_impl(FUNCNAME, SWIG_TypeError, \
191             "Cannot pass const " TYPENAME " (class " FNAME ") " \
192             "as a mutable reference", \
193             RETURNNULL); \
194     }
195 
196 
197 #define SWIG_check_nonnull(SWIG_CLASS_WRAPPER, TYPENAME, FNAME, FUNCNAME, RETURNNULL) \
198   if (!(SWIG_CLASS_WRAPPER).cptr) { \
199     SWIG_exception_impl(FUNCNAME, SWIG_TypeError, \
200                         "Cannot pass null " TYPENAME " (class " FNAME ") " \
201                         "as a reference", RETURNNULL); \
202   }
203 
204 
205 #define SWIG_check_mutable_nonnull(SWIG_CLASS_WRAPPER, TYPENAME, FNAME, FUNCNAME, RETURNNULL) \
206     SWIG_check_nonnull(SWIG_CLASS_WRAPPER, TYPENAME, FNAME, FUNCNAME, RETURNNULL); \
207     SWIG_check_mutable(SWIG_CLASS_WRAPPER, TYPENAME, FNAME, FUNCNAME, RETURNNULL);
208 
209 
210 #include <stdio.h>
211 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
212 # ifndef snprintf
213 #  define snprintf _snprintf
214 # endif
215 #endif
216 
217 
218 /* Support for the `contract` feature.
219  *
220  * Note that RETURNNULL is first because it's inserted via a 'Replaceall' in
221  * the fortran.cxx file.
222  */
223 #define SWIG_contract_assert(RETURNNULL, EXPR, MSG) \
224  if (!(EXPR)) { SWIG_exception_impl("$decl", SWIG_ValueError, MSG, RETURNNULL); }
225 
226 
227 #define SWIGVERSION 0x040000
228 #define SWIG_VERSION SWIGVERSION
229 
230 
231 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
232 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
233 
234 
235 #include "idas/idas.h"
236 #include "idas/idas_bbdpre.h"
237 #include "idas/idas_ls.h"
238 
239 
240 #include <stdlib.h>
241 #ifdef _MSC_VER
242 # ifndef strtoull
243 #  define strtoull _strtoui64
244 # endif
245 # ifndef strtoll
246 #  define strtoll _strtoi64
247 # endif
248 #endif
249 
250 
251 typedef struct {
252     void* data;
253     size_t size;
254 } SwigArrayWrapper;
255 
256 
SwigArrayWrapper_uninitialized()257 SWIGINTERN SwigArrayWrapper SwigArrayWrapper_uninitialized() {
258   SwigArrayWrapper result;
259   result.data = NULL;
260   result.size = 0;
261   return result;
262 }
263 
264 
265 #include <string.h>
266 
267 
268 typedef struct {
269     void* cptr;
270     int cmemflags;
271 } SwigClassWrapper;
272 
273 
SwigClassWrapper_uninitialized()274 SWIGINTERN SwigClassWrapper SwigClassWrapper_uninitialized() {
275     SwigClassWrapper result;
276     result.cptr = NULL;
277     result.cmemflags = 0;
278     return result;
279 }
280 
281 
SWIG_assign(SwigClassWrapper * self,SwigClassWrapper other)282 SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
283   if (self->cptr == NULL) {
284     /* LHS is unassigned */
285     if (other.cmemflags & SWIG_MEM_RVALUE) {
286       /* Capture pointer from RHS, clear 'moving' flag */
287       self->cptr = other.cptr;
288       self->cmemflags = other.cmemflags & (~SWIG_MEM_RVALUE);
289     } else {
290       /* Become a reference to the other object */
291       self->cptr = other.cptr;
292       self->cmemflags = other.cmemflags & (~SWIG_MEM_OWN);
293     }
294   } else if (other.cptr == NULL) {
295     /* Replace LHS with a null pointer */
296     free(self->cptr);
297     *self = SwigClassWrapper_uninitialized();
298   } else {
299     if (self->cmemflags & SWIG_MEM_OWN) {
300       free(self->cptr);
301     }
302     self->cptr = other.cptr;
303     if (other.cmemflags & SWIG_MEM_RVALUE) {
304       /* Capture RHS */
305       self->cmemflags = other.cmemflags & ~SWIG_MEM_RVALUE;
306     } else {
307       /* Point to RHS */
308       self->cmemflags = other.cmemflags & ~SWIG_MEM_OWN;
309     }
310   }
311 }
312 
_wrap_FIDACreate()313 SWIGEXPORT void * _wrap_FIDACreate() {
314   void * fresult ;
315   void *result = 0 ;
316 
317   result = (void *)IDACreate();
318   fresult = result;
319   return fresult;
320 }
321 
322 
_wrap_FIDAInit(void * farg1,IDAResFn farg2,double const * farg3,N_Vector farg4,N_Vector farg5)323 SWIGEXPORT int _wrap_FIDAInit(void *farg1, IDAResFn farg2, double const *farg3, N_Vector farg4, N_Vector farg5) {
324   int fresult ;
325   void *arg1 = (void *) 0 ;
326   IDAResFn arg2 = (IDAResFn) 0 ;
327   realtype arg3 ;
328   N_Vector arg4 = (N_Vector) 0 ;
329   N_Vector arg5 = (N_Vector) 0 ;
330   int result;
331 
332   arg1 = (void *)(farg1);
333   arg2 = (IDAResFn)(farg2);
334   arg3 = (realtype)(*farg3);
335   arg4 = (N_Vector)(farg4);
336   arg5 = (N_Vector)(farg5);
337   result = (int)IDAInit(arg1,arg2,arg3,arg4,arg5);
338   fresult = (int)(result);
339   return fresult;
340 }
341 
342 
_wrap_FIDAReInit(void * farg1,double const * farg2,N_Vector farg3,N_Vector farg4)343 SWIGEXPORT int _wrap_FIDAReInit(void *farg1, double const *farg2, N_Vector farg3, N_Vector farg4) {
344   int fresult ;
345   void *arg1 = (void *) 0 ;
346   realtype arg2 ;
347   N_Vector arg3 = (N_Vector) 0 ;
348   N_Vector arg4 = (N_Vector) 0 ;
349   int result;
350 
351   arg1 = (void *)(farg1);
352   arg2 = (realtype)(*farg2);
353   arg3 = (N_Vector)(farg3);
354   arg4 = (N_Vector)(farg4);
355   result = (int)IDAReInit(arg1,arg2,arg3,arg4);
356   fresult = (int)(result);
357   return fresult;
358 }
359 
360 
_wrap_FIDASStolerances(void * farg1,double const * farg2,double const * farg3)361 SWIGEXPORT int _wrap_FIDASStolerances(void *farg1, double const *farg2, double const *farg3) {
362   int fresult ;
363   void *arg1 = (void *) 0 ;
364   realtype arg2 ;
365   realtype arg3 ;
366   int result;
367 
368   arg1 = (void *)(farg1);
369   arg2 = (realtype)(*farg2);
370   arg3 = (realtype)(*farg3);
371   result = (int)IDASStolerances(arg1,arg2,arg3);
372   fresult = (int)(result);
373   return fresult;
374 }
375 
376 
_wrap_FIDASVtolerances(void * farg1,double const * farg2,N_Vector farg3)377 SWIGEXPORT int _wrap_FIDASVtolerances(void *farg1, double const *farg2, N_Vector farg3) {
378   int fresult ;
379   void *arg1 = (void *) 0 ;
380   realtype arg2 ;
381   N_Vector arg3 = (N_Vector) 0 ;
382   int result;
383 
384   arg1 = (void *)(farg1);
385   arg2 = (realtype)(*farg2);
386   arg3 = (N_Vector)(farg3);
387   result = (int)IDASVtolerances(arg1,arg2,arg3);
388   fresult = (int)(result);
389   return fresult;
390 }
391 
392 
_wrap_FIDAWFtolerances(void * farg1,IDAEwtFn farg2)393 SWIGEXPORT int _wrap_FIDAWFtolerances(void *farg1, IDAEwtFn farg2) {
394   int fresult ;
395   void *arg1 = (void *) 0 ;
396   IDAEwtFn arg2 = (IDAEwtFn) 0 ;
397   int result;
398 
399   arg1 = (void *)(farg1);
400   arg2 = (IDAEwtFn)(farg2);
401   result = (int)IDAWFtolerances(arg1,arg2);
402   fresult = (int)(result);
403   return fresult;
404 }
405 
406 
_wrap_FIDACalcIC(void * farg1,int const * farg2,double const * farg3)407 SWIGEXPORT int _wrap_FIDACalcIC(void *farg1, int const *farg2, double const *farg3) {
408   int fresult ;
409   void *arg1 = (void *) 0 ;
410   int arg2 ;
411   realtype arg3 ;
412   int result;
413 
414   arg1 = (void *)(farg1);
415   arg2 = (int)(*farg2);
416   arg3 = (realtype)(*farg3);
417   result = (int)IDACalcIC(arg1,arg2,arg3);
418   fresult = (int)(result);
419   return fresult;
420 }
421 
422 
_wrap_FIDASetNonlinConvCoefIC(void * farg1,double const * farg2)423 SWIGEXPORT int _wrap_FIDASetNonlinConvCoefIC(void *farg1, double const *farg2) {
424   int fresult ;
425   void *arg1 = (void *) 0 ;
426   realtype arg2 ;
427   int result;
428 
429   arg1 = (void *)(farg1);
430   arg2 = (realtype)(*farg2);
431   result = (int)IDASetNonlinConvCoefIC(arg1,arg2);
432   fresult = (int)(result);
433   return fresult;
434 }
435 
436 
_wrap_FIDASetMaxNumStepsIC(void * farg1,int const * farg2)437 SWIGEXPORT int _wrap_FIDASetMaxNumStepsIC(void *farg1, int const *farg2) {
438   int fresult ;
439   void *arg1 = (void *) 0 ;
440   int arg2 ;
441   int result;
442 
443   arg1 = (void *)(farg1);
444   arg2 = (int)(*farg2);
445   result = (int)IDASetMaxNumStepsIC(arg1,arg2);
446   fresult = (int)(result);
447   return fresult;
448 }
449 
450 
_wrap_FIDASetMaxNumJacsIC(void * farg1,int const * farg2)451 SWIGEXPORT int _wrap_FIDASetMaxNumJacsIC(void *farg1, int const *farg2) {
452   int fresult ;
453   void *arg1 = (void *) 0 ;
454   int arg2 ;
455   int result;
456 
457   arg1 = (void *)(farg1);
458   arg2 = (int)(*farg2);
459   result = (int)IDASetMaxNumJacsIC(arg1,arg2);
460   fresult = (int)(result);
461   return fresult;
462 }
463 
464 
_wrap_FIDASetMaxNumItersIC(void * farg1,int const * farg2)465 SWIGEXPORT int _wrap_FIDASetMaxNumItersIC(void *farg1, int const *farg2) {
466   int fresult ;
467   void *arg1 = (void *) 0 ;
468   int arg2 ;
469   int result;
470 
471   arg1 = (void *)(farg1);
472   arg2 = (int)(*farg2);
473   result = (int)IDASetMaxNumItersIC(arg1,arg2);
474   fresult = (int)(result);
475   return fresult;
476 }
477 
478 
_wrap_FIDASetLineSearchOffIC(void * farg1,int const * farg2)479 SWIGEXPORT int _wrap_FIDASetLineSearchOffIC(void *farg1, int const *farg2) {
480   int fresult ;
481   void *arg1 = (void *) 0 ;
482   int arg2 ;
483   int result;
484 
485   arg1 = (void *)(farg1);
486   arg2 = (int)(*farg2);
487   result = (int)IDASetLineSearchOffIC(arg1,arg2);
488   fresult = (int)(result);
489   return fresult;
490 }
491 
492 
_wrap_FIDASetStepToleranceIC(void * farg1,double const * farg2)493 SWIGEXPORT int _wrap_FIDASetStepToleranceIC(void *farg1, double const *farg2) {
494   int fresult ;
495   void *arg1 = (void *) 0 ;
496   realtype arg2 ;
497   int result;
498 
499   arg1 = (void *)(farg1);
500   arg2 = (realtype)(*farg2);
501   result = (int)IDASetStepToleranceIC(arg1,arg2);
502   fresult = (int)(result);
503   return fresult;
504 }
505 
506 
_wrap_FIDASetMaxBacksIC(void * farg1,int const * farg2)507 SWIGEXPORT int _wrap_FIDASetMaxBacksIC(void *farg1, int const *farg2) {
508   int fresult ;
509   void *arg1 = (void *) 0 ;
510   int arg2 ;
511   int result;
512 
513   arg1 = (void *)(farg1);
514   arg2 = (int)(*farg2);
515   result = (int)IDASetMaxBacksIC(arg1,arg2);
516   fresult = (int)(result);
517   return fresult;
518 }
519 
520 
_wrap_FIDASetErrHandlerFn(void * farg1,IDAErrHandlerFn farg2,void * farg3)521 SWIGEXPORT int _wrap_FIDASetErrHandlerFn(void *farg1, IDAErrHandlerFn farg2, void *farg3) {
522   int fresult ;
523   void *arg1 = (void *) 0 ;
524   IDAErrHandlerFn arg2 = (IDAErrHandlerFn) 0 ;
525   void *arg3 = (void *) 0 ;
526   int result;
527 
528   arg1 = (void *)(farg1);
529   arg2 = (IDAErrHandlerFn)(farg2);
530   arg3 = (void *)(farg3);
531   result = (int)IDASetErrHandlerFn(arg1,arg2,arg3);
532   fresult = (int)(result);
533   return fresult;
534 }
535 
536 
_wrap_FIDASetErrFile(void * farg1,void * farg2)537 SWIGEXPORT int _wrap_FIDASetErrFile(void *farg1, void *farg2) {
538   int fresult ;
539   void *arg1 = (void *) 0 ;
540   FILE *arg2 = (FILE *) 0 ;
541   int result;
542 
543   arg1 = (void *)(farg1);
544   arg2 = (FILE *)(farg2);
545   result = (int)IDASetErrFile(arg1,arg2);
546   fresult = (int)(result);
547   return fresult;
548 }
549 
550 
_wrap_FIDASetUserData(void * farg1,void * farg2)551 SWIGEXPORT int _wrap_FIDASetUserData(void *farg1, void *farg2) {
552   int fresult ;
553   void *arg1 = (void *) 0 ;
554   void *arg2 = (void *) 0 ;
555   int result;
556 
557   arg1 = (void *)(farg1);
558   arg2 = (void *)(farg2);
559   result = (int)IDASetUserData(arg1,arg2);
560   fresult = (int)(result);
561   return fresult;
562 }
563 
564 
_wrap_FIDASetMaxOrd(void * farg1,int const * farg2)565 SWIGEXPORT int _wrap_FIDASetMaxOrd(void *farg1, int const *farg2) {
566   int fresult ;
567   void *arg1 = (void *) 0 ;
568   int arg2 ;
569   int result;
570 
571   arg1 = (void *)(farg1);
572   arg2 = (int)(*farg2);
573   result = (int)IDASetMaxOrd(arg1,arg2);
574   fresult = (int)(result);
575   return fresult;
576 }
577 
578 
_wrap_FIDASetMaxNumSteps(void * farg1,long const * farg2)579 SWIGEXPORT int _wrap_FIDASetMaxNumSteps(void *farg1, long const *farg2) {
580   int fresult ;
581   void *arg1 = (void *) 0 ;
582   long arg2 ;
583   int result;
584 
585   arg1 = (void *)(farg1);
586   arg2 = (long)(*farg2);
587   result = (int)IDASetMaxNumSteps(arg1,arg2);
588   fresult = (int)(result);
589   return fresult;
590 }
591 
592 
_wrap_FIDASetInitStep(void * farg1,double const * farg2)593 SWIGEXPORT int _wrap_FIDASetInitStep(void *farg1, double const *farg2) {
594   int fresult ;
595   void *arg1 = (void *) 0 ;
596   realtype arg2 ;
597   int result;
598 
599   arg1 = (void *)(farg1);
600   arg2 = (realtype)(*farg2);
601   result = (int)IDASetInitStep(arg1,arg2);
602   fresult = (int)(result);
603   return fresult;
604 }
605 
606 
_wrap_FIDASetMaxStep(void * farg1,double const * farg2)607 SWIGEXPORT int _wrap_FIDASetMaxStep(void *farg1, double const *farg2) {
608   int fresult ;
609   void *arg1 = (void *) 0 ;
610   realtype arg2 ;
611   int result;
612 
613   arg1 = (void *)(farg1);
614   arg2 = (realtype)(*farg2);
615   result = (int)IDASetMaxStep(arg1,arg2);
616   fresult = (int)(result);
617   return fresult;
618 }
619 
620 
_wrap_FIDASetStopTime(void * farg1,double const * farg2)621 SWIGEXPORT int _wrap_FIDASetStopTime(void *farg1, double const *farg2) {
622   int fresult ;
623   void *arg1 = (void *) 0 ;
624   realtype arg2 ;
625   int result;
626 
627   arg1 = (void *)(farg1);
628   arg2 = (realtype)(*farg2);
629   result = (int)IDASetStopTime(arg1,arg2);
630   fresult = (int)(result);
631   return fresult;
632 }
633 
634 
_wrap_FIDASetNonlinConvCoef(void * farg1,double const * farg2)635 SWIGEXPORT int _wrap_FIDASetNonlinConvCoef(void *farg1, double const *farg2) {
636   int fresult ;
637   void *arg1 = (void *) 0 ;
638   realtype arg2 ;
639   int result;
640 
641   arg1 = (void *)(farg1);
642   arg2 = (realtype)(*farg2);
643   result = (int)IDASetNonlinConvCoef(arg1,arg2);
644   fresult = (int)(result);
645   return fresult;
646 }
647 
648 
_wrap_FIDASetMaxErrTestFails(void * farg1,int const * farg2)649 SWIGEXPORT int _wrap_FIDASetMaxErrTestFails(void *farg1, int const *farg2) {
650   int fresult ;
651   void *arg1 = (void *) 0 ;
652   int arg2 ;
653   int result;
654 
655   arg1 = (void *)(farg1);
656   arg2 = (int)(*farg2);
657   result = (int)IDASetMaxErrTestFails(arg1,arg2);
658   fresult = (int)(result);
659   return fresult;
660 }
661 
662 
_wrap_FIDASetMaxNonlinIters(void * farg1,int const * farg2)663 SWIGEXPORT int _wrap_FIDASetMaxNonlinIters(void *farg1, int const *farg2) {
664   int fresult ;
665   void *arg1 = (void *) 0 ;
666   int arg2 ;
667   int result;
668 
669   arg1 = (void *)(farg1);
670   arg2 = (int)(*farg2);
671   result = (int)IDASetMaxNonlinIters(arg1,arg2);
672   fresult = (int)(result);
673   return fresult;
674 }
675 
676 
_wrap_FIDASetMaxConvFails(void * farg1,int const * farg2)677 SWIGEXPORT int _wrap_FIDASetMaxConvFails(void *farg1, int const *farg2) {
678   int fresult ;
679   void *arg1 = (void *) 0 ;
680   int arg2 ;
681   int result;
682 
683   arg1 = (void *)(farg1);
684   arg2 = (int)(*farg2);
685   result = (int)IDASetMaxConvFails(arg1,arg2);
686   fresult = (int)(result);
687   return fresult;
688 }
689 
690 
_wrap_FIDASetSuppressAlg(void * farg1,int const * farg2)691 SWIGEXPORT int _wrap_FIDASetSuppressAlg(void *farg1, int const *farg2) {
692   int fresult ;
693   void *arg1 = (void *) 0 ;
694   int arg2 ;
695   int result;
696 
697   arg1 = (void *)(farg1);
698   arg2 = (int)(*farg2);
699   result = (int)IDASetSuppressAlg(arg1,arg2);
700   fresult = (int)(result);
701   return fresult;
702 }
703 
704 
_wrap_FIDASetId(void * farg1,N_Vector farg2)705 SWIGEXPORT int _wrap_FIDASetId(void *farg1, N_Vector farg2) {
706   int fresult ;
707   void *arg1 = (void *) 0 ;
708   N_Vector arg2 = (N_Vector) 0 ;
709   int result;
710 
711   arg1 = (void *)(farg1);
712   arg2 = (N_Vector)(farg2);
713   result = (int)IDASetId(arg1,arg2);
714   fresult = (int)(result);
715   return fresult;
716 }
717 
718 
_wrap_FIDASetConstraints(void * farg1,N_Vector farg2)719 SWIGEXPORT int _wrap_FIDASetConstraints(void *farg1, N_Vector farg2) {
720   int fresult ;
721   void *arg1 = (void *) 0 ;
722   N_Vector arg2 = (N_Vector) 0 ;
723   int result;
724 
725   arg1 = (void *)(farg1);
726   arg2 = (N_Vector)(farg2);
727   result = (int)IDASetConstraints(arg1,arg2);
728   fresult = (int)(result);
729   return fresult;
730 }
731 
732 
_wrap_FIDASetNonlinearSolver(void * farg1,SUNNonlinearSolver farg2)733 SWIGEXPORT int _wrap_FIDASetNonlinearSolver(void *farg1, SUNNonlinearSolver farg2) {
734   int fresult ;
735   void *arg1 = (void *) 0 ;
736   SUNNonlinearSolver arg2 = (SUNNonlinearSolver) 0 ;
737   int result;
738 
739   arg1 = (void *)(farg1);
740   arg2 = (SUNNonlinearSolver)(farg2);
741   result = (int)IDASetNonlinearSolver(arg1,arg2);
742   fresult = (int)(result);
743   return fresult;
744 }
745 
746 
_wrap_FIDARootInit(void * farg1,int const * farg2,IDARootFn farg3)747 SWIGEXPORT int _wrap_FIDARootInit(void *farg1, int const *farg2, IDARootFn farg3) {
748   int fresult ;
749   void *arg1 = (void *) 0 ;
750   int arg2 ;
751   IDARootFn arg3 = (IDARootFn) 0 ;
752   int result;
753 
754   arg1 = (void *)(farg1);
755   arg2 = (int)(*farg2);
756   arg3 = (IDARootFn)(farg3);
757   result = (int)IDARootInit(arg1,arg2,arg3);
758   fresult = (int)(result);
759   return fresult;
760 }
761 
762 
_wrap_FIDASetRootDirection(void * farg1,int * farg2)763 SWIGEXPORT int _wrap_FIDASetRootDirection(void *farg1, int *farg2) {
764   int fresult ;
765   void *arg1 = (void *) 0 ;
766   int *arg2 = (int *) 0 ;
767   int result;
768 
769   arg1 = (void *)(farg1);
770   arg2 = (int *)(farg2);
771   result = (int)IDASetRootDirection(arg1,arg2);
772   fresult = (int)(result);
773   return fresult;
774 }
775 
776 
_wrap_FIDASetNoInactiveRootWarn(void * farg1)777 SWIGEXPORT int _wrap_FIDASetNoInactiveRootWarn(void *farg1) {
778   int fresult ;
779   void *arg1 = (void *) 0 ;
780   int result;
781 
782   arg1 = (void *)(farg1);
783   result = (int)IDASetNoInactiveRootWarn(arg1);
784   fresult = (int)(result);
785   return fresult;
786 }
787 
788 
_wrap_FIDASolve(void * farg1,double const * farg2,double * farg3,N_Vector farg4,N_Vector farg5,int const * farg6)789 SWIGEXPORT int _wrap_FIDASolve(void *farg1, double const *farg2, double *farg3, N_Vector farg4, N_Vector farg5, int const *farg6) {
790   int fresult ;
791   void *arg1 = (void *) 0 ;
792   realtype arg2 ;
793   realtype *arg3 = (realtype *) 0 ;
794   N_Vector arg4 = (N_Vector) 0 ;
795   N_Vector arg5 = (N_Vector) 0 ;
796   int arg6 ;
797   int result;
798 
799   arg1 = (void *)(farg1);
800   arg2 = (realtype)(*farg2);
801   arg3 = (realtype *)(farg3);
802   arg4 = (N_Vector)(farg4);
803   arg5 = (N_Vector)(farg5);
804   arg6 = (int)(*farg6);
805   result = (int)IDASolve(arg1,arg2,arg3,arg4,arg5,arg6);
806   fresult = (int)(result);
807   return fresult;
808 }
809 
810 
_wrap_FIDAComputeY(void * farg1,N_Vector farg2,N_Vector farg3)811 SWIGEXPORT int _wrap_FIDAComputeY(void *farg1, N_Vector farg2, N_Vector farg3) {
812   int fresult ;
813   void *arg1 = (void *) 0 ;
814   N_Vector arg2 = (N_Vector) 0 ;
815   N_Vector arg3 = (N_Vector) 0 ;
816   int result;
817 
818   arg1 = (void *)(farg1);
819   arg2 = (N_Vector)(farg2);
820   arg3 = (N_Vector)(farg3);
821   result = (int)IDAComputeY(arg1,arg2,arg3);
822   fresult = (int)(result);
823   return fresult;
824 }
825 
826 
_wrap_FIDAComputeYp(void * farg1,N_Vector farg2,N_Vector farg3)827 SWIGEXPORT int _wrap_FIDAComputeYp(void *farg1, N_Vector farg2, N_Vector farg3) {
828   int fresult ;
829   void *arg1 = (void *) 0 ;
830   N_Vector arg2 = (N_Vector) 0 ;
831   N_Vector arg3 = (N_Vector) 0 ;
832   int result;
833 
834   arg1 = (void *)(farg1);
835   arg2 = (N_Vector)(farg2);
836   arg3 = (N_Vector)(farg3);
837   result = (int)IDAComputeYp(arg1,arg2,arg3);
838   fresult = (int)(result);
839   return fresult;
840 }
841 
842 
_wrap_FIDAComputeYSens(void * farg1,void * farg2,void * farg3)843 SWIGEXPORT int _wrap_FIDAComputeYSens(void *farg1, void *farg2, void *farg3) {
844   int fresult ;
845   void *arg1 = (void *) 0 ;
846   N_Vector *arg2 = (N_Vector *) 0 ;
847   N_Vector *arg3 = (N_Vector *) 0 ;
848   int result;
849 
850   arg1 = (void *)(farg1);
851   arg2 = (N_Vector *)(farg2);
852   arg3 = (N_Vector *)(farg3);
853   result = (int)IDAComputeYSens(arg1,arg2,arg3);
854   fresult = (int)(result);
855   return fresult;
856 }
857 
858 
_wrap_FIDAComputeYpSens(void * farg1,void * farg2,void * farg3)859 SWIGEXPORT int _wrap_FIDAComputeYpSens(void *farg1, void *farg2, void *farg3) {
860   int fresult ;
861   void *arg1 = (void *) 0 ;
862   N_Vector *arg2 = (N_Vector *) 0 ;
863   N_Vector *arg3 = (N_Vector *) 0 ;
864   int result;
865 
866   arg1 = (void *)(farg1);
867   arg2 = (N_Vector *)(farg2);
868   arg3 = (N_Vector *)(farg3);
869   result = (int)IDAComputeYpSens(arg1,arg2,arg3);
870   fresult = (int)(result);
871   return fresult;
872 }
873 
874 
_wrap_FIDAGetDky(void * farg1,double const * farg2,int const * farg3,N_Vector farg4)875 SWIGEXPORT int _wrap_FIDAGetDky(void *farg1, double const *farg2, int const *farg3, N_Vector farg4) {
876   int fresult ;
877   void *arg1 = (void *) 0 ;
878   realtype arg2 ;
879   int arg3 ;
880   N_Vector arg4 = (N_Vector) 0 ;
881   int result;
882 
883   arg1 = (void *)(farg1);
884   arg2 = (realtype)(*farg2);
885   arg3 = (int)(*farg3);
886   arg4 = (N_Vector)(farg4);
887   result = (int)IDAGetDky(arg1,arg2,arg3,arg4);
888   fresult = (int)(result);
889   return fresult;
890 }
891 
892 
_wrap_FIDAGetWorkSpace(void * farg1,long * farg2,long * farg3)893 SWIGEXPORT int _wrap_FIDAGetWorkSpace(void *farg1, long *farg2, long *farg3) {
894   int fresult ;
895   void *arg1 = (void *) 0 ;
896   long *arg2 = (long *) 0 ;
897   long *arg3 = (long *) 0 ;
898   int result;
899 
900   arg1 = (void *)(farg1);
901   arg2 = (long *)(farg2);
902   arg3 = (long *)(farg3);
903   result = (int)IDAGetWorkSpace(arg1,arg2,arg3);
904   fresult = (int)(result);
905   return fresult;
906 }
907 
908 
_wrap_FIDAGetNumSteps(void * farg1,long * farg2)909 SWIGEXPORT int _wrap_FIDAGetNumSteps(void *farg1, long *farg2) {
910   int fresult ;
911   void *arg1 = (void *) 0 ;
912   long *arg2 = (long *) 0 ;
913   int result;
914 
915   arg1 = (void *)(farg1);
916   arg2 = (long *)(farg2);
917   result = (int)IDAGetNumSteps(arg1,arg2);
918   fresult = (int)(result);
919   return fresult;
920 }
921 
922 
_wrap_FIDAGetNumResEvals(void * farg1,long * farg2)923 SWIGEXPORT int _wrap_FIDAGetNumResEvals(void *farg1, long *farg2) {
924   int fresult ;
925   void *arg1 = (void *) 0 ;
926   long *arg2 = (long *) 0 ;
927   int result;
928 
929   arg1 = (void *)(farg1);
930   arg2 = (long *)(farg2);
931   result = (int)IDAGetNumResEvals(arg1,arg2);
932   fresult = (int)(result);
933   return fresult;
934 }
935 
936 
_wrap_FIDAGetNumLinSolvSetups(void * farg1,long * farg2)937 SWIGEXPORT int _wrap_FIDAGetNumLinSolvSetups(void *farg1, long *farg2) {
938   int fresult ;
939   void *arg1 = (void *) 0 ;
940   long *arg2 = (long *) 0 ;
941   int result;
942 
943   arg1 = (void *)(farg1);
944   arg2 = (long *)(farg2);
945   result = (int)IDAGetNumLinSolvSetups(arg1,arg2);
946   fresult = (int)(result);
947   return fresult;
948 }
949 
950 
_wrap_FIDAGetNumErrTestFails(void * farg1,long * farg2)951 SWIGEXPORT int _wrap_FIDAGetNumErrTestFails(void *farg1, long *farg2) {
952   int fresult ;
953   void *arg1 = (void *) 0 ;
954   long *arg2 = (long *) 0 ;
955   int result;
956 
957   arg1 = (void *)(farg1);
958   arg2 = (long *)(farg2);
959   result = (int)IDAGetNumErrTestFails(arg1,arg2);
960   fresult = (int)(result);
961   return fresult;
962 }
963 
964 
_wrap_FIDAGetNumBacktrackOps(void * farg1,long * farg2)965 SWIGEXPORT int _wrap_FIDAGetNumBacktrackOps(void *farg1, long *farg2) {
966   int fresult ;
967   void *arg1 = (void *) 0 ;
968   long *arg2 = (long *) 0 ;
969   int result;
970 
971   arg1 = (void *)(farg1);
972   arg2 = (long *)(farg2);
973   result = (int)IDAGetNumBacktrackOps(arg1,arg2);
974   fresult = (int)(result);
975   return fresult;
976 }
977 
978 
_wrap_FIDAGetConsistentIC(void * farg1,N_Vector farg2,N_Vector farg3)979 SWIGEXPORT int _wrap_FIDAGetConsistentIC(void *farg1, N_Vector farg2, N_Vector farg3) {
980   int fresult ;
981   void *arg1 = (void *) 0 ;
982   N_Vector arg2 = (N_Vector) 0 ;
983   N_Vector arg3 = (N_Vector) 0 ;
984   int result;
985 
986   arg1 = (void *)(farg1);
987   arg2 = (N_Vector)(farg2);
988   arg3 = (N_Vector)(farg3);
989   result = (int)IDAGetConsistentIC(arg1,arg2,arg3);
990   fresult = (int)(result);
991   return fresult;
992 }
993 
994 
_wrap_FIDAGetLastOrder(void * farg1,int * farg2)995 SWIGEXPORT int _wrap_FIDAGetLastOrder(void *farg1, int *farg2) {
996   int fresult ;
997   void *arg1 = (void *) 0 ;
998   int *arg2 = (int *) 0 ;
999   int result;
1000 
1001   arg1 = (void *)(farg1);
1002   arg2 = (int *)(farg2);
1003   result = (int)IDAGetLastOrder(arg1,arg2);
1004   fresult = (int)(result);
1005   return fresult;
1006 }
1007 
1008 
_wrap_FIDAGetCurrentOrder(void * farg1,int * farg2)1009 SWIGEXPORT int _wrap_FIDAGetCurrentOrder(void *farg1, int *farg2) {
1010   int fresult ;
1011   void *arg1 = (void *) 0 ;
1012   int *arg2 = (int *) 0 ;
1013   int result;
1014 
1015   arg1 = (void *)(farg1);
1016   arg2 = (int *)(farg2);
1017   result = (int)IDAGetCurrentOrder(arg1,arg2);
1018   fresult = (int)(result);
1019   return fresult;
1020 }
1021 
1022 
_wrap_FIDAGetCurrentCj(void * farg1,double * farg2)1023 SWIGEXPORT int _wrap_FIDAGetCurrentCj(void *farg1, double *farg2) {
1024   int fresult ;
1025   void *arg1 = (void *) 0 ;
1026   realtype *arg2 = (realtype *) 0 ;
1027   int result;
1028 
1029   arg1 = (void *)(farg1);
1030   arg2 = (realtype *)(farg2);
1031   result = (int)IDAGetCurrentCj(arg1,arg2);
1032   fresult = (int)(result);
1033   return fresult;
1034 }
1035 
1036 
_wrap_FIDAGetCurrentY(void * farg1,void * farg2)1037 SWIGEXPORT int _wrap_FIDAGetCurrentY(void *farg1, void *farg2) {
1038   int fresult ;
1039   void *arg1 = (void *) 0 ;
1040   N_Vector *arg2 = (N_Vector *) 0 ;
1041   int result;
1042 
1043   arg1 = (void *)(farg1);
1044   arg2 = (N_Vector *)(farg2);
1045   result = (int)IDAGetCurrentY(arg1,arg2);
1046   fresult = (int)(result);
1047   return fresult;
1048 }
1049 
1050 
_wrap_FIDAGetCurrentYSens(void * farg1,void * farg2)1051 SWIGEXPORT int _wrap_FIDAGetCurrentYSens(void *farg1, void *farg2) {
1052   int fresult ;
1053   void *arg1 = (void *) 0 ;
1054   N_Vector **arg2 = (N_Vector **) 0 ;
1055   int result;
1056 
1057   arg1 = (void *)(farg1);
1058   arg2 = (N_Vector **)(farg2);
1059   result = (int)IDAGetCurrentYSens(arg1,arg2);
1060   fresult = (int)(result);
1061   return fresult;
1062 }
1063 
1064 
_wrap_FIDAGetCurrentYp(void * farg1,void * farg2)1065 SWIGEXPORT int _wrap_FIDAGetCurrentYp(void *farg1, void *farg2) {
1066   int fresult ;
1067   void *arg1 = (void *) 0 ;
1068   N_Vector *arg2 = (N_Vector *) 0 ;
1069   int result;
1070 
1071   arg1 = (void *)(farg1);
1072   arg2 = (N_Vector *)(farg2);
1073   result = (int)IDAGetCurrentYp(arg1,arg2);
1074   fresult = (int)(result);
1075   return fresult;
1076 }
1077 
1078 
_wrap_FIDAGetCurrentYpSens(void * farg1,void * farg2)1079 SWIGEXPORT int _wrap_FIDAGetCurrentYpSens(void *farg1, void *farg2) {
1080   int fresult ;
1081   void *arg1 = (void *) 0 ;
1082   N_Vector **arg2 = (N_Vector **) 0 ;
1083   int result;
1084 
1085   arg1 = (void *)(farg1);
1086   arg2 = (N_Vector **)(farg2);
1087   result = (int)IDAGetCurrentYpSens(arg1,arg2);
1088   fresult = (int)(result);
1089   return fresult;
1090 }
1091 
1092 
_wrap_FIDAGetActualInitStep(void * farg1,double * farg2)1093 SWIGEXPORT int _wrap_FIDAGetActualInitStep(void *farg1, double *farg2) {
1094   int fresult ;
1095   void *arg1 = (void *) 0 ;
1096   realtype *arg2 = (realtype *) 0 ;
1097   int result;
1098 
1099   arg1 = (void *)(farg1);
1100   arg2 = (realtype *)(farg2);
1101   result = (int)IDAGetActualInitStep(arg1,arg2);
1102   fresult = (int)(result);
1103   return fresult;
1104 }
1105 
1106 
_wrap_FIDAGetLastStep(void * farg1,double * farg2)1107 SWIGEXPORT int _wrap_FIDAGetLastStep(void *farg1, double *farg2) {
1108   int fresult ;
1109   void *arg1 = (void *) 0 ;
1110   realtype *arg2 = (realtype *) 0 ;
1111   int result;
1112 
1113   arg1 = (void *)(farg1);
1114   arg2 = (realtype *)(farg2);
1115   result = (int)IDAGetLastStep(arg1,arg2);
1116   fresult = (int)(result);
1117   return fresult;
1118 }
1119 
1120 
_wrap_FIDAGetCurrentStep(void * farg1,double * farg2)1121 SWIGEXPORT int _wrap_FIDAGetCurrentStep(void *farg1, double *farg2) {
1122   int fresult ;
1123   void *arg1 = (void *) 0 ;
1124   realtype *arg2 = (realtype *) 0 ;
1125   int result;
1126 
1127   arg1 = (void *)(farg1);
1128   arg2 = (realtype *)(farg2);
1129   result = (int)IDAGetCurrentStep(arg1,arg2);
1130   fresult = (int)(result);
1131   return fresult;
1132 }
1133 
1134 
_wrap_FIDAGetCurrentTime(void * farg1,double * farg2)1135 SWIGEXPORT int _wrap_FIDAGetCurrentTime(void *farg1, double *farg2) {
1136   int fresult ;
1137   void *arg1 = (void *) 0 ;
1138   realtype *arg2 = (realtype *) 0 ;
1139   int result;
1140 
1141   arg1 = (void *)(farg1);
1142   arg2 = (realtype *)(farg2);
1143   result = (int)IDAGetCurrentTime(arg1,arg2);
1144   fresult = (int)(result);
1145   return fresult;
1146 }
1147 
1148 
_wrap_FIDAGetTolScaleFactor(void * farg1,double * farg2)1149 SWIGEXPORT int _wrap_FIDAGetTolScaleFactor(void *farg1, double *farg2) {
1150   int fresult ;
1151   void *arg1 = (void *) 0 ;
1152   realtype *arg2 = (realtype *) 0 ;
1153   int result;
1154 
1155   arg1 = (void *)(farg1);
1156   arg2 = (realtype *)(farg2);
1157   result = (int)IDAGetTolScaleFactor(arg1,arg2);
1158   fresult = (int)(result);
1159   return fresult;
1160 }
1161 
1162 
_wrap_FIDAGetErrWeights(void * farg1,N_Vector farg2)1163 SWIGEXPORT int _wrap_FIDAGetErrWeights(void *farg1, N_Vector farg2) {
1164   int fresult ;
1165   void *arg1 = (void *) 0 ;
1166   N_Vector arg2 = (N_Vector) 0 ;
1167   int result;
1168 
1169   arg1 = (void *)(farg1);
1170   arg2 = (N_Vector)(farg2);
1171   result = (int)IDAGetErrWeights(arg1,arg2);
1172   fresult = (int)(result);
1173   return fresult;
1174 }
1175 
1176 
_wrap_FIDAGetEstLocalErrors(void * farg1,N_Vector farg2)1177 SWIGEXPORT int _wrap_FIDAGetEstLocalErrors(void *farg1, N_Vector farg2) {
1178   int fresult ;
1179   void *arg1 = (void *) 0 ;
1180   N_Vector arg2 = (N_Vector) 0 ;
1181   int result;
1182 
1183   arg1 = (void *)(farg1);
1184   arg2 = (N_Vector)(farg2);
1185   result = (int)IDAGetEstLocalErrors(arg1,arg2);
1186   fresult = (int)(result);
1187   return fresult;
1188 }
1189 
1190 
_wrap_FIDAGetNumGEvals(void * farg1,long * farg2)1191 SWIGEXPORT int _wrap_FIDAGetNumGEvals(void *farg1, long *farg2) {
1192   int fresult ;
1193   void *arg1 = (void *) 0 ;
1194   long *arg2 = (long *) 0 ;
1195   int result;
1196 
1197   arg1 = (void *)(farg1);
1198   arg2 = (long *)(farg2);
1199   result = (int)IDAGetNumGEvals(arg1,arg2);
1200   fresult = (int)(result);
1201   return fresult;
1202 }
1203 
1204 
_wrap_FIDAGetRootInfo(void * farg1,int * farg2)1205 SWIGEXPORT int _wrap_FIDAGetRootInfo(void *farg1, int *farg2) {
1206   int fresult ;
1207   void *arg1 = (void *) 0 ;
1208   int *arg2 = (int *) 0 ;
1209   int result;
1210 
1211   arg1 = (void *)(farg1);
1212   arg2 = (int *)(farg2);
1213   result = (int)IDAGetRootInfo(arg1,arg2);
1214   fresult = (int)(result);
1215   return fresult;
1216 }
1217 
1218 
_wrap_FIDAGetIntegratorStats(void * farg1,long * farg2,long * farg3,long * farg4,long * farg5,int * farg6,int * farg7,double * farg8,double * farg9,double * farg10,double * farg11)1219 SWIGEXPORT int _wrap_FIDAGetIntegratorStats(void *farg1, long *farg2, long *farg3, long *farg4, long *farg5, int *farg6, int *farg7, double *farg8, double *farg9, double *farg10, double *farg11) {
1220   int fresult ;
1221   void *arg1 = (void *) 0 ;
1222   long *arg2 = (long *) 0 ;
1223   long *arg3 = (long *) 0 ;
1224   long *arg4 = (long *) 0 ;
1225   long *arg5 = (long *) 0 ;
1226   int *arg6 = (int *) 0 ;
1227   int *arg7 = (int *) 0 ;
1228   realtype *arg8 = (realtype *) 0 ;
1229   realtype *arg9 = (realtype *) 0 ;
1230   realtype *arg10 = (realtype *) 0 ;
1231   realtype *arg11 = (realtype *) 0 ;
1232   int result;
1233 
1234   arg1 = (void *)(farg1);
1235   arg2 = (long *)(farg2);
1236   arg3 = (long *)(farg3);
1237   arg4 = (long *)(farg4);
1238   arg5 = (long *)(farg5);
1239   arg6 = (int *)(farg6);
1240   arg7 = (int *)(farg7);
1241   arg8 = (realtype *)(farg8);
1242   arg9 = (realtype *)(farg9);
1243   arg10 = (realtype *)(farg10);
1244   arg11 = (realtype *)(farg11);
1245   result = (int)IDAGetIntegratorStats(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1246   fresult = (int)(result);
1247   return fresult;
1248 }
1249 
1250 
_wrap_FIDAGetNonlinearSystemData(void * farg1,double * farg2,void * farg3,void * farg4,void * farg5,void * farg6,void * farg7,double * farg8,void * farg9)1251 SWIGEXPORT int _wrap_FIDAGetNonlinearSystemData(void *farg1, double *farg2, void *farg3, void *farg4, void *farg5, void *farg6, void *farg7, double *farg8, void *farg9) {
1252   int fresult ;
1253   void *arg1 = (void *) 0 ;
1254   realtype *arg2 = (realtype *) 0 ;
1255   N_Vector *arg3 = (N_Vector *) 0 ;
1256   N_Vector *arg4 = (N_Vector *) 0 ;
1257   N_Vector *arg5 = (N_Vector *) 0 ;
1258   N_Vector *arg6 = (N_Vector *) 0 ;
1259   N_Vector *arg7 = (N_Vector *) 0 ;
1260   realtype *arg8 = (realtype *) 0 ;
1261   void **arg9 = (void **) 0 ;
1262   int result;
1263 
1264   arg1 = (void *)(farg1);
1265   arg2 = (realtype *)(farg2);
1266   arg3 = (N_Vector *)(farg3);
1267   arg4 = (N_Vector *)(farg4);
1268   arg5 = (N_Vector *)(farg5);
1269   arg6 = (N_Vector *)(farg6);
1270   arg7 = (N_Vector *)(farg7);
1271   arg8 = (realtype *)(farg8);
1272   arg9 = (void **)(farg9);
1273   result = (int)IDAGetNonlinearSystemData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
1274   fresult = (int)(result);
1275   return fresult;
1276 }
1277 
1278 
_wrap_FIDAGetNonlinearSystemDataSens(void * farg1,double * farg2,void * farg3,void * farg4,void * farg5,void * farg6,double * farg7,void * farg8)1279 SWIGEXPORT int _wrap_FIDAGetNonlinearSystemDataSens(void *farg1, double *farg2, void *farg3, void *farg4, void *farg5, void *farg6, double *farg7, void *farg8) {
1280   int fresult ;
1281   void *arg1 = (void *) 0 ;
1282   realtype *arg2 = (realtype *) 0 ;
1283   N_Vector **arg3 = (N_Vector **) 0 ;
1284   N_Vector **arg4 = (N_Vector **) 0 ;
1285   N_Vector **arg5 = (N_Vector **) 0 ;
1286   N_Vector **arg6 = (N_Vector **) 0 ;
1287   realtype *arg7 = (realtype *) 0 ;
1288   void **arg8 = (void **) 0 ;
1289   int result;
1290 
1291   arg1 = (void *)(farg1);
1292   arg2 = (realtype *)(farg2);
1293   arg3 = (N_Vector **)(farg3);
1294   arg4 = (N_Vector **)(farg4);
1295   arg5 = (N_Vector **)(farg5);
1296   arg6 = (N_Vector **)(farg6);
1297   arg7 = (realtype *)(farg7);
1298   arg8 = (void **)(farg8);
1299   result = (int)IDAGetNonlinearSystemDataSens(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1300   fresult = (int)(result);
1301   return fresult;
1302 }
1303 
1304 
_wrap_FIDAGetNumNonlinSolvIters(void * farg1,long * farg2)1305 SWIGEXPORT int _wrap_FIDAGetNumNonlinSolvIters(void *farg1, long *farg2) {
1306   int fresult ;
1307   void *arg1 = (void *) 0 ;
1308   long *arg2 = (long *) 0 ;
1309   int result;
1310 
1311   arg1 = (void *)(farg1);
1312   arg2 = (long *)(farg2);
1313   result = (int)IDAGetNumNonlinSolvIters(arg1,arg2);
1314   fresult = (int)(result);
1315   return fresult;
1316 }
1317 
1318 
_wrap_FIDAGetNumNonlinSolvConvFails(void * farg1,long * farg2)1319 SWIGEXPORT int _wrap_FIDAGetNumNonlinSolvConvFails(void *farg1, long *farg2) {
1320   int fresult ;
1321   void *arg1 = (void *) 0 ;
1322   long *arg2 = (long *) 0 ;
1323   int result;
1324 
1325   arg1 = (void *)(farg1);
1326   arg2 = (long *)(farg2);
1327   result = (int)IDAGetNumNonlinSolvConvFails(arg1,arg2);
1328   fresult = (int)(result);
1329   return fresult;
1330 }
1331 
1332 
_wrap_FIDAGetNonlinSolvStats(void * farg1,long * farg2,long * farg3)1333 SWIGEXPORT int _wrap_FIDAGetNonlinSolvStats(void *farg1, long *farg2, long *farg3) {
1334   int fresult ;
1335   void *arg1 = (void *) 0 ;
1336   long *arg2 = (long *) 0 ;
1337   long *arg3 = (long *) 0 ;
1338   int result;
1339 
1340   arg1 = (void *)(farg1);
1341   arg2 = (long *)(farg2);
1342   arg3 = (long *)(farg3);
1343   result = (int)IDAGetNonlinSolvStats(arg1,arg2,arg3);
1344   fresult = (int)(result);
1345   return fresult;
1346 }
1347 
1348 
_wrap_FIDAGetReturnFlagName(long const * farg1)1349 SWIGEXPORT SwigArrayWrapper _wrap_FIDAGetReturnFlagName(long const *farg1) {
1350   SwigArrayWrapper fresult ;
1351   long arg1 ;
1352   char *result = 0 ;
1353 
1354   arg1 = (long)(*farg1);
1355   result = (char *)IDAGetReturnFlagName(arg1);
1356   fresult.size = strlen((const char*)(result));
1357   fresult.data = (char *)(result);
1358   return fresult;
1359 }
1360 
1361 
_wrap_FIDAFree(void * farg1)1362 SWIGEXPORT void _wrap_FIDAFree(void *farg1) {
1363   void **arg1 = (void **) 0 ;
1364 
1365   arg1 = (void **)(farg1);
1366   IDAFree(arg1);
1367 }
1368 
1369 
_wrap_FIDASetJacTimesResFn(void * farg1,IDAResFn farg2)1370 SWIGEXPORT int _wrap_FIDASetJacTimesResFn(void *farg1, IDAResFn farg2) {
1371   int fresult ;
1372   void *arg1 = (void *) 0 ;
1373   IDAResFn arg2 = (IDAResFn) 0 ;
1374   int result;
1375 
1376   arg1 = (void *)(farg1);
1377   arg2 = (IDAResFn)(farg2);
1378   result = (int)IDASetJacTimesResFn(arg1,arg2);
1379   fresult = (int)(result);
1380   return fresult;
1381 }
1382 
1383 
_wrap_FIDAQuadInit(void * farg1,IDAQuadRhsFn farg2,N_Vector farg3)1384 SWIGEXPORT int _wrap_FIDAQuadInit(void *farg1, IDAQuadRhsFn farg2, N_Vector farg3) {
1385   int fresult ;
1386   void *arg1 = (void *) 0 ;
1387   IDAQuadRhsFn arg2 = (IDAQuadRhsFn) 0 ;
1388   N_Vector arg3 = (N_Vector) 0 ;
1389   int result;
1390 
1391   arg1 = (void *)(farg1);
1392   arg2 = (IDAQuadRhsFn)(farg2);
1393   arg3 = (N_Vector)(farg3);
1394   result = (int)IDAQuadInit(arg1,arg2,arg3);
1395   fresult = (int)(result);
1396   return fresult;
1397 }
1398 
1399 
_wrap_FIDAQuadReInit(void * farg1,N_Vector farg2)1400 SWIGEXPORT int _wrap_FIDAQuadReInit(void *farg1, N_Vector farg2) {
1401   int fresult ;
1402   void *arg1 = (void *) 0 ;
1403   N_Vector arg2 = (N_Vector) 0 ;
1404   int result;
1405 
1406   arg1 = (void *)(farg1);
1407   arg2 = (N_Vector)(farg2);
1408   result = (int)IDAQuadReInit(arg1,arg2);
1409   fresult = (int)(result);
1410   return fresult;
1411 }
1412 
1413 
_wrap_FIDAQuadSStolerances(void * farg1,double const * farg2,double const * farg3)1414 SWIGEXPORT int _wrap_FIDAQuadSStolerances(void *farg1, double const *farg2, double const *farg3) {
1415   int fresult ;
1416   void *arg1 = (void *) 0 ;
1417   realtype arg2 ;
1418   realtype arg3 ;
1419   int result;
1420 
1421   arg1 = (void *)(farg1);
1422   arg2 = (realtype)(*farg2);
1423   arg3 = (realtype)(*farg3);
1424   result = (int)IDAQuadSStolerances(arg1,arg2,arg3);
1425   fresult = (int)(result);
1426   return fresult;
1427 }
1428 
1429 
_wrap_FIDAQuadSVtolerances(void * farg1,double const * farg2,N_Vector farg3)1430 SWIGEXPORT int _wrap_FIDAQuadSVtolerances(void *farg1, double const *farg2, N_Vector farg3) {
1431   int fresult ;
1432   void *arg1 = (void *) 0 ;
1433   realtype arg2 ;
1434   N_Vector arg3 = (N_Vector) 0 ;
1435   int result;
1436 
1437   arg1 = (void *)(farg1);
1438   arg2 = (realtype)(*farg2);
1439   arg3 = (N_Vector)(farg3);
1440   result = (int)IDAQuadSVtolerances(arg1,arg2,arg3);
1441   fresult = (int)(result);
1442   return fresult;
1443 }
1444 
1445 
_wrap_FIDASetQuadErrCon(void * farg1,int const * farg2)1446 SWIGEXPORT int _wrap_FIDASetQuadErrCon(void *farg1, int const *farg2) {
1447   int fresult ;
1448   void *arg1 = (void *) 0 ;
1449   int arg2 ;
1450   int result;
1451 
1452   arg1 = (void *)(farg1);
1453   arg2 = (int)(*farg2);
1454   result = (int)IDASetQuadErrCon(arg1,arg2);
1455   fresult = (int)(result);
1456   return fresult;
1457 }
1458 
1459 
_wrap_FIDAGetQuad(void * farg1,double * farg2,N_Vector farg3)1460 SWIGEXPORT int _wrap_FIDAGetQuad(void *farg1, double *farg2, N_Vector farg3) {
1461   int fresult ;
1462   void *arg1 = (void *) 0 ;
1463   realtype *arg2 = (realtype *) 0 ;
1464   N_Vector arg3 = (N_Vector) 0 ;
1465   int result;
1466 
1467   arg1 = (void *)(farg1);
1468   arg2 = (realtype *)(farg2);
1469   arg3 = (N_Vector)(farg3);
1470   result = (int)IDAGetQuad(arg1,arg2,arg3);
1471   fresult = (int)(result);
1472   return fresult;
1473 }
1474 
1475 
_wrap_FIDAGetQuadDky(void * farg1,double const * farg2,int const * farg3,N_Vector farg4)1476 SWIGEXPORT int _wrap_FIDAGetQuadDky(void *farg1, double const *farg2, int const *farg3, N_Vector farg4) {
1477   int fresult ;
1478   void *arg1 = (void *) 0 ;
1479   realtype arg2 ;
1480   int arg3 ;
1481   N_Vector arg4 = (N_Vector) 0 ;
1482   int result;
1483 
1484   arg1 = (void *)(farg1);
1485   arg2 = (realtype)(*farg2);
1486   arg3 = (int)(*farg3);
1487   arg4 = (N_Vector)(farg4);
1488   result = (int)IDAGetQuadDky(arg1,arg2,arg3,arg4);
1489   fresult = (int)(result);
1490   return fresult;
1491 }
1492 
1493 
_wrap_FIDAGetQuadNumRhsEvals(void * farg1,long * farg2)1494 SWIGEXPORT int _wrap_FIDAGetQuadNumRhsEvals(void *farg1, long *farg2) {
1495   int fresult ;
1496   void *arg1 = (void *) 0 ;
1497   long *arg2 = (long *) 0 ;
1498   int result;
1499 
1500   arg1 = (void *)(farg1);
1501   arg2 = (long *)(farg2);
1502   result = (int)IDAGetQuadNumRhsEvals(arg1,arg2);
1503   fresult = (int)(result);
1504   return fresult;
1505 }
1506 
1507 
_wrap_FIDAGetQuadNumErrTestFails(void * farg1,long * farg2)1508 SWIGEXPORT int _wrap_FIDAGetQuadNumErrTestFails(void *farg1, long *farg2) {
1509   int fresult ;
1510   void *arg1 = (void *) 0 ;
1511   long *arg2 = (long *) 0 ;
1512   int result;
1513 
1514   arg1 = (void *)(farg1);
1515   arg2 = (long *)(farg2);
1516   result = (int)IDAGetQuadNumErrTestFails(arg1,arg2);
1517   fresult = (int)(result);
1518   return fresult;
1519 }
1520 
1521 
_wrap_FIDAGetQuadErrWeights(void * farg1,N_Vector farg2)1522 SWIGEXPORT int _wrap_FIDAGetQuadErrWeights(void *farg1, N_Vector farg2) {
1523   int fresult ;
1524   void *arg1 = (void *) 0 ;
1525   N_Vector arg2 = (N_Vector) 0 ;
1526   int result;
1527 
1528   arg1 = (void *)(farg1);
1529   arg2 = (N_Vector)(farg2);
1530   result = (int)IDAGetQuadErrWeights(arg1,arg2);
1531   fresult = (int)(result);
1532   return fresult;
1533 }
1534 
1535 
_wrap_FIDAGetQuadStats(void * farg1,long * farg2,long * farg3)1536 SWIGEXPORT int _wrap_FIDAGetQuadStats(void *farg1, long *farg2, long *farg3) {
1537   int fresult ;
1538   void *arg1 = (void *) 0 ;
1539   long *arg2 = (long *) 0 ;
1540   long *arg3 = (long *) 0 ;
1541   int result;
1542 
1543   arg1 = (void *)(farg1);
1544   arg2 = (long *)(farg2);
1545   arg3 = (long *)(farg3);
1546   result = (int)IDAGetQuadStats(arg1,arg2,arg3);
1547   fresult = (int)(result);
1548   return fresult;
1549 }
1550 
1551 
_wrap_FIDAQuadFree(void * farg1)1552 SWIGEXPORT void _wrap_FIDAQuadFree(void *farg1) {
1553   void *arg1 = (void *) 0 ;
1554 
1555   arg1 = (void *)(farg1);
1556   IDAQuadFree(arg1);
1557 }
1558 
1559 
_wrap_FIDASensInit(void * farg1,int const * farg2,int const * farg3,IDASensResFn farg4,void * farg5,void * farg6)1560 SWIGEXPORT int _wrap_FIDASensInit(void *farg1, int const *farg2, int const *farg3, IDASensResFn farg4, void *farg5, void *farg6) {
1561   int fresult ;
1562   void *arg1 = (void *) 0 ;
1563   int arg2 ;
1564   int arg3 ;
1565   IDASensResFn arg4 = (IDASensResFn) 0 ;
1566   N_Vector *arg5 = (N_Vector *) 0 ;
1567   N_Vector *arg6 = (N_Vector *) 0 ;
1568   int result;
1569 
1570   arg1 = (void *)(farg1);
1571   arg2 = (int)(*farg2);
1572   arg3 = (int)(*farg3);
1573   arg4 = (IDASensResFn)(farg4);
1574   arg5 = (N_Vector *)(farg5);
1575   arg6 = (N_Vector *)(farg6);
1576   result = (int)IDASensInit(arg1,arg2,arg3,arg4,arg5,arg6);
1577   fresult = (int)(result);
1578   return fresult;
1579 }
1580 
1581 
_wrap_FIDASensReInit(void * farg1,int const * farg2,void * farg3,void * farg4)1582 SWIGEXPORT int _wrap_FIDASensReInit(void *farg1, int const *farg2, void *farg3, void *farg4) {
1583   int fresult ;
1584   void *arg1 = (void *) 0 ;
1585   int arg2 ;
1586   N_Vector *arg3 = (N_Vector *) 0 ;
1587   N_Vector *arg4 = (N_Vector *) 0 ;
1588   int result;
1589 
1590   arg1 = (void *)(farg1);
1591   arg2 = (int)(*farg2);
1592   arg3 = (N_Vector *)(farg3);
1593   arg4 = (N_Vector *)(farg4);
1594   result = (int)IDASensReInit(arg1,arg2,arg3,arg4);
1595   fresult = (int)(result);
1596   return fresult;
1597 }
1598 
1599 
_wrap_FIDASensSStolerances(void * farg1,double const * farg2,double * farg3)1600 SWIGEXPORT int _wrap_FIDASensSStolerances(void *farg1, double const *farg2, double *farg3) {
1601   int fresult ;
1602   void *arg1 = (void *) 0 ;
1603   realtype arg2 ;
1604   realtype *arg3 = (realtype *) 0 ;
1605   int result;
1606 
1607   arg1 = (void *)(farg1);
1608   arg2 = (realtype)(*farg2);
1609   arg3 = (realtype *)(farg3);
1610   result = (int)IDASensSStolerances(arg1,arg2,arg3);
1611   fresult = (int)(result);
1612   return fresult;
1613 }
1614 
1615 
_wrap_FIDASensSVtolerances(void * farg1,double const * farg2,void * farg3)1616 SWIGEXPORT int _wrap_FIDASensSVtolerances(void *farg1, double const *farg2, void *farg3) {
1617   int fresult ;
1618   void *arg1 = (void *) 0 ;
1619   realtype arg2 ;
1620   N_Vector *arg3 = (N_Vector *) 0 ;
1621   int result;
1622 
1623   arg1 = (void *)(farg1);
1624   arg2 = (realtype)(*farg2);
1625   arg3 = (N_Vector *)(farg3);
1626   result = (int)IDASensSVtolerances(arg1,arg2,arg3);
1627   fresult = (int)(result);
1628   return fresult;
1629 }
1630 
1631 
_wrap_FIDASensEEtolerances(void * farg1)1632 SWIGEXPORT int _wrap_FIDASensEEtolerances(void *farg1) {
1633   int fresult ;
1634   void *arg1 = (void *) 0 ;
1635   int result;
1636 
1637   arg1 = (void *)(farg1);
1638   result = (int)IDASensEEtolerances(arg1);
1639   fresult = (int)(result);
1640   return fresult;
1641 }
1642 
1643 
_wrap_FIDAGetSensConsistentIC(void * farg1,void * farg2,void * farg3)1644 SWIGEXPORT int _wrap_FIDAGetSensConsistentIC(void *farg1, void *farg2, void *farg3) {
1645   int fresult ;
1646   void *arg1 = (void *) 0 ;
1647   N_Vector *arg2 = (N_Vector *) 0 ;
1648   N_Vector *arg3 = (N_Vector *) 0 ;
1649   int result;
1650 
1651   arg1 = (void *)(farg1);
1652   arg2 = (N_Vector *)(farg2);
1653   arg3 = (N_Vector *)(farg3);
1654   result = (int)IDAGetSensConsistentIC(arg1,arg2,arg3);
1655   fresult = (int)(result);
1656   return fresult;
1657 }
1658 
1659 
_wrap_FIDASetSensDQMethod(void * farg1,int const * farg2,double const * farg3)1660 SWIGEXPORT int _wrap_FIDASetSensDQMethod(void *farg1, int const *farg2, double const *farg3) {
1661   int fresult ;
1662   void *arg1 = (void *) 0 ;
1663   int arg2 ;
1664   realtype arg3 ;
1665   int result;
1666 
1667   arg1 = (void *)(farg1);
1668   arg2 = (int)(*farg2);
1669   arg3 = (realtype)(*farg3);
1670   result = (int)IDASetSensDQMethod(arg1,arg2,arg3);
1671   fresult = (int)(result);
1672   return fresult;
1673 }
1674 
1675 
_wrap_FIDASetSensErrCon(void * farg1,int const * farg2)1676 SWIGEXPORT int _wrap_FIDASetSensErrCon(void *farg1, int const *farg2) {
1677   int fresult ;
1678   void *arg1 = (void *) 0 ;
1679   int arg2 ;
1680   int result;
1681 
1682   arg1 = (void *)(farg1);
1683   arg2 = (int)(*farg2);
1684   result = (int)IDASetSensErrCon(arg1,arg2);
1685   fresult = (int)(result);
1686   return fresult;
1687 }
1688 
1689 
_wrap_FIDASetSensMaxNonlinIters(void * farg1,int const * farg2)1690 SWIGEXPORT int _wrap_FIDASetSensMaxNonlinIters(void *farg1, int const *farg2) {
1691   int fresult ;
1692   void *arg1 = (void *) 0 ;
1693   int arg2 ;
1694   int result;
1695 
1696   arg1 = (void *)(farg1);
1697   arg2 = (int)(*farg2);
1698   result = (int)IDASetSensMaxNonlinIters(arg1,arg2);
1699   fresult = (int)(result);
1700   return fresult;
1701 }
1702 
1703 
_wrap_FIDASetSensParams(void * farg1,double * farg2,double * farg3,int * farg4)1704 SWIGEXPORT int _wrap_FIDASetSensParams(void *farg1, double *farg2, double *farg3, int *farg4) {
1705   int fresult ;
1706   void *arg1 = (void *) 0 ;
1707   realtype *arg2 = (realtype *) 0 ;
1708   realtype *arg3 = (realtype *) 0 ;
1709   int *arg4 = (int *) 0 ;
1710   int result;
1711 
1712   arg1 = (void *)(farg1);
1713   arg2 = (realtype *)(farg2);
1714   arg3 = (realtype *)(farg3);
1715   arg4 = (int *)(farg4);
1716   result = (int)IDASetSensParams(arg1,arg2,arg3,arg4);
1717   fresult = (int)(result);
1718   return fresult;
1719 }
1720 
1721 
_wrap_FIDASetNonlinearSolverSensSim(void * farg1,SUNNonlinearSolver farg2)1722 SWIGEXPORT int _wrap_FIDASetNonlinearSolverSensSim(void *farg1, SUNNonlinearSolver farg2) {
1723   int fresult ;
1724   void *arg1 = (void *) 0 ;
1725   SUNNonlinearSolver arg2 = (SUNNonlinearSolver) 0 ;
1726   int result;
1727 
1728   arg1 = (void *)(farg1);
1729   arg2 = (SUNNonlinearSolver)(farg2);
1730   result = (int)IDASetNonlinearSolverSensSim(arg1,arg2);
1731   fresult = (int)(result);
1732   return fresult;
1733 }
1734 
1735 
_wrap_FIDASetNonlinearSolverSensStg(void * farg1,SUNNonlinearSolver farg2)1736 SWIGEXPORT int _wrap_FIDASetNonlinearSolverSensStg(void *farg1, SUNNonlinearSolver farg2) {
1737   int fresult ;
1738   void *arg1 = (void *) 0 ;
1739   SUNNonlinearSolver arg2 = (SUNNonlinearSolver) 0 ;
1740   int result;
1741 
1742   arg1 = (void *)(farg1);
1743   arg2 = (SUNNonlinearSolver)(farg2);
1744   result = (int)IDASetNonlinearSolverSensStg(arg1,arg2);
1745   fresult = (int)(result);
1746   return fresult;
1747 }
1748 
1749 
_wrap_FIDASensToggleOff(void * farg1)1750 SWIGEXPORT int _wrap_FIDASensToggleOff(void *farg1) {
1751   int fresult ;
1752   void *arg1 = (void *) 0 ;
1753   int result;
1754 
1755   arg1 = (void *)(farg1);
1756   result = (int)IDASensToggleOff(arg1);
1757   fresult = (int)(result);
1758   return fresult;
1759 }
1760 
1761 
_wrap_FIDAGetSens(void * farg1,double * farg2,void * farg3)1762 SWIGEXPORT int _wrap_FIDAGetSens(void *farg1, double *farg2, void *farg3) {
1763   int fresult ;
1764   void *arg1 = (void *) 0 ;
1765   realtype *arg2 = (realtype *) 0 ;
1766   N_Vector *arg3 = (N_Vector *) 0 ;
1767   int result;
1768 
1769   arg1 = (void *)(farg1);
1770   arg2 = (realtype *)(farg2);
1771   arg3 = (N_Vector *)(farg3);
1772   result = (int)IDAGetSens(arg1,arg2,arg3);
1773   fresult = (int)(result);
1774   return fresult;
1775 }
1776 
1777 
_wrap_FIDAGetSens1(void * farg1,double * farg2,int const * farg3,N_Vector farg4)1778 SWIGEXPORT int _wrap_FIDAGetSens1(void *farg1, double *farg2, int const *farg3, N_Vector farg4) {
1779   int fresult ;
1780   void *arg1 = (void *) 0 ;
1781   realtype *arg2 = (realtype *) 0 ;
1782   int arg3 ;
1783   N_Vector arg4 = (N_Vector) 0 ;
1784   int result;
1785 
1786   arg1 = (void *)(farg1);
1787   arg2 = (realtype *)(farg2);
1788   arg3 = (int)(*farg3);
1789   arg4 = (N_Vector)(farg4);
1790   result = (int)IDAGetSens1(arg1,arg2,arg3,arg4);
1791   fresult = (int)(result);
1792   return fresult;
1793 }
1794 
1795 
_wrap_FIDAGetSensDky(void * farg1,double const * farg2,int const * farg3,void * farg4)1796 SWIGEXPORT int _wrap_FIDAGetSensDky(void *farg1, double const *farg2, int const *farg3, void *farg4) {
1797   int fresult ;
1798   void *arg1 = (void *) 0 ;
1799   realtype arg2 ;
1800   int arg3 ;
1801   N_Vector *arg4 = (N_Vector *) 0 ;
1802   int result;
1803 
1804   arg1 = (void *)(farg1);
1805   arg2 = (realtype)(*farg2);
1806   arg3 = (int)(*farg3);
1807   arg4 = (N_Vector *)(farg4);
1808   result = (int)IDAGetSensDky(arg1,arg2,arg3,arg4);
1809   fresult = (int)(result);
1810   return fresult;
1811 }
1812 
1813 
_wrap_FIDAGetSensDky1(void * farg1,double const * farg2,int const * farg3,int const * farg4,N_Vector farg5)1814 SWIGEXPORT int _wrap_FIDAGetSensDky1(void *farg1, double const *farg2, int const *farg3, int const *farg4, N_Vector farg5) {
1815   int fresult ;
1816   void *arg1 = (void *) 0 ;
1817   realtype arg2 ;
1818   int arg3 ;
1819   int arg4 ;
1820   N_Vector arg5 = (N_Vector) 0 ;
1821   int result;
1822 
1823   arg1 = (void *)(farg1);
1824   arg2 = (realtype)(*farg2);
1825   arg3 = (int)(*farg3);
1826   arg4 = (int)(*farg4);
1827   arg5 = (N_Vector)(farg5);
1828   result = (int)IDAGetSensDky1(arg1,arg2,arg3,arg4,arg5);
1829   fresult = (int)(result);
1830   return fresult;
1831 }
1832 
1833 
_wrap_FIDAGetSensNumResEvals(void * farg1,long * farg2)1834 SWIGEXPORT int _wrap_FIDAGetSensNumResEvals(void *farg1, long *farg2) {
1835   int fresult ;
1836   void *arg1 = (void *) 0 ;
1837   long *arg2 = (long *) 0 ;
1838   int result;
1839 
1840   arg1 = (void *)(farg1);
1841   arg2 = (long *)(farg2);
1842   result = (int)IDAGetSensNumResEvals(arg1,arg2);
1843   fresult = (int)(result);
1844   return fresult;
1845 }
1846 
1847 
_wrap_FIDAGetNumResEvalsSens(void * farg1,long * farg2)1848 SWIGEXPORT int _wrap_FIDAGetNumResEvalsSens(void *farg1, long *farg2) {
1849   int fresult ;
1850   void *arg1 = (void *) 0 ;
1851   long *arg2 = (long *) 0 ;
1852   int result;
1853 
1854   arg1 = (void *)(farg1);
1855   arg2 = (long *)(farg2);
1856   result = (int)IDAGetNumResEvalsSens(arg1,arg2);
1857   fresult = (int)(result);
1858   return fresult;
1859 }
1860 
1861 
_wrap_FIDAGetSensNumErrTestFails(void * farg1,long * farg2)1862 SWIGEXPORT int _wrap_FIDAGetSensNumErrTestFails(void *farg1, long *farg2) {
1863   int fresult ;
1864   void *arg1 = (void *) 0 ;
1865   long *arg2 = (long *) 0 ;
1866   int result;
1867 
1868   arg1 = (void *)(farg1);
1869   arg2 = (long *)(farg2);
1870   result = (int)IDAGetSensNumErrTestFails(arg1,arg2);
1871   fresult = (int)(result);
1872   return fresult;
1873 }
1874 
1875 
_wrap_FIDAGetSensNumLinSolvSetups(void * farg1,long * farg2)1876 SWIGEXPORT int _wrap_FIDAGetSensNumLinSolvSetups(void *farg1, long *farg2) {
1877   int fresult ;
1878   void *arg1 = (void *) 0 ;
1879   long *arg2 = (long *) 0 ;
1880   int result;
1881 
1882   arg1 = (void *)(farg1);
1883   arg2 = (long *)(farg2);
1884   result = (int)IDAGetSensNumLinSolvSetups(arg1,arg2);
1885   fresult = (int)(result);
1886   return fresult;
1887 }
1888 
1889 
_wrap_FIDAGetSensErrWeights(void * farg1,void * farg2)1890 SWIGEXPORT int _wrap_FIDAGetSensErrWeights(void *farg1, void *farg2) {
1891   int fresult ;
1892   void *arg1 = (void *) 0 ;
1893   N_Vector_S arg2 = (N_Vector_S) 0 ;
1894   int result;
1895 
1896   arg1 = (void *)(farg1);
1897   arg2 = (N_Vector_S)(farg2);
1898   result = (int)IDAGetSensErrWeights(arg1,arg2);
1899   fresult = (int)(result);
1900   return fresult;
1901 }
1902 
1903 
_wrap_FIDAGetSensStats(void * farg1,long * farg2,long * farg3,long * farg4,long * farg5)1904 SWIGEXPORT int _wrap_FIDAGetSensStats(void *farg1, long *farg2, long *farg3, long *farg4, long *farg5) {
1905   int fresult ;
1906   void *arg1 = (void *) 0 ;
1907   long *arg2 = (long *) 0 ;
1908   long *arg3 = (long *) 0 ;
1909   long *arg4 = (long *) 0 ;
1910   long *arg5 = (long *) 0 ;
1911   int result;
1912 
1913   arg1 = (void *)(farg1);
1914   arg2 = (long *)(farg2);
1915   arg3 = (long *)(farg3);
1916   arg4 = (long *)(farg4);
1917   arg5 = (long *)(farg5);
1918   result = (int)IDAGetSensStats(arg1,arg2,arg3,arg4,arg5);
1919   fresult = (int)(result);
1920   return fresult;
1921 }
1922 
1923 
_wrap_FIDAGetSensNumNonlinSolvIters(void * farg1,long * farg2)1924 SWIGEXPORT int _wrap_FIDAGetSensNumNonlinSolvIters(void *farg1, long *farg2) {
1925   int fresult ;
1926   void *arg1 = (void *) 0 ;
1927   long *arg2 = (long *) 0 ;
1928   int result;
1929 
1930   arg1 = (void *)(farg1);
1931   arg2 = (long *)(farg2);
1932   result = (int)IDAGetSensNumNonlinSolvIters(arg1,arg2);
1933   fresult = (int)(result);
1934   return fresult;
1935 }
1936 
1937 
_wrap_FIDAGetSensNumNonlinSolvConvFails(void * farg1,long * farg2)1938 SWIGEXPORT int _wrap_FIDAGetSensNumNonlinSolvConvFails(void *farg1, long *farg2) {
1939   int fresult ;
1940   void *arg1 = (void *) 0 ;
1941   long *arg2 = (long *) 0 ;
1942   int result;
1943 
1944   arg1 = (void *)(farg1);
1945   arg2 = (long *)(farg2);
1946   result = (int)IDAGetSensNumNonlinSolvConvFails(arg1,arg2);
1947   fresult = (int)(result);
1948   return fresult;
1949 }
1950 
1951 
_wrap_FIDAGetSensNonlinSolvStats(void * farg1,long * farg2,long * farg3)1952 SWIGEXPORT int _wrap_FIDAGetSensNonlinSolvStats(void *farg1, long *farg2, long *farg3) {
1953   int fresult ;
1954   void *arg1 = (void *) 0 ;
1955   long *arg2 = (long *) 0 ;
1956   long *arg3 = (long *) 0 ;
1957   int result;
1958 
1959   arg1 = (void *)(farg1);
1960   arg2 = (long *)(farg2);
1961   arg3 = (long *)(farg3);
1962   result = (int)IDAGetSensNonlinSolvStats(arg1,arg2,arg3);
1963   fresult = (int)(result);
1964   return fresult;
1965 }
1966 
1967 
_wrap_FIDASensFree(void * farg1)1968 SWIGEXPORT void _wrap_FIDASensFree(void *farg1) {
1969   void *arg1 = (void *) 0 ;
1970 
1971   arg1 = (void *)(farg1);
1972   IDASensFree(arg1);
1973 }
1974 
1975 
_wrap_FIDAQuadSensInit(void * farg1,IDAQuadSensRhsFn farg2,void * farg3)1976 SWIGEXPORT int _wrap_FIDAQuadSensInit(void *farg1, IDAQuadSensRhsFn farg2, void *farg3) {
1977   int fresult ;
1978   void *arg1 = (void *) 0 ;
1979   IDAQuadSensRhsFn arg2 = (IDAQuadSensRhsFn) 0 ;
1980   N_Vector *arg3 = (N_Vector *) 0 ;
1981   int result;
1982 
1983   arg1 = (void *)(farg1);
1984   arg2 = (IDAQuadSensRhsFn)(farg2);
1985   arg3 = (N_Vector *)(farg3);
1986   result = (int)IDAQuadSensInit(arg1,arg2,arg3);
1987   fresult = (int)(result);
1988   return fresult;
1989 }
1990 
1991 
_wrap_FIDAQuadSensReInit(void * farg1,void * farg2)1992 SWIGEXPORT int _wrap_FIDAQuadSensReInit(void *farg1, void *farg2) {
1993   int fresult ;
1994   void *arg1 = (void *) 0 ;
1995   N_Vector *arg2 = (N_Vector *) 0 ;
1996   int result;
1997 
1998   arg1 = (void *)(farg1);
1999   arg2 = (N_Vector *)(farg2);
2000   result = (int)IDAQuadSensReInit(arg1,arg2);
2001   fresult = (int)(result);
2002   return fresult;
2003 }
2004 
2005 
_wrap_FIDAQuadSensSStolerances(void * farg1,double const * farg2,double * farg3)2006 SWIGEXPORT int _wrap_FIDAQuadSensSStolerances(void *farg1, double const *farg2, double *farg3) {
2007   int fresult ;
2008   void *arg1 = (void *) 0 ;
2009   realtype arg2 ;
2010   realtype *arg3 = (realtype *) 0 ;
2011   int result;
2012 
2013   arg1 = (void *)(farg1);
2014   arg2 = (realtype)(*farg2);
2015   arg3 = (realtype *)(farg3);
2016   result = (int)IDAQuadSensSStolerances(arg1,arg2,arg3);
2017   fresult = (int)(result);
2018   return fresult;
2019 }
2020 
2021 
_wrap_FIDAQuadSensSVtolerances(void * farg1,double const * farg2,void * farg3)2022 SWIGEXPORT int _wrap_FIDAQuadSensSVtolerances(void *farg1, double const *farg2, void *farg3) {
2023   int fresult ;
2024   void *arg1 = (void *) 0 ;
2025   realtype arg2 ;
2026   N_Vector *arg3 = (N_Vector *) 0 ;
2027   int result;
2028 
2029   arg1 = (void *)(farg1);
2030   arg2 = (realtype)(*farg2);
2031   arg3 = (N_Vector *)(farg3);
2032   result = (int)IDAQuadSensSVtolerances(arg1,arg2,arg3);
2033   fresult = (int)(result);
2034   return fresult;
2035 }
2036 
2037 
_wrap_FIDAQuadSensEEtolerances(void * farg1)2038 SWIGEXPORT int _wrap_FIDAQuadSensEEtolerances(void *farg1) {
2039   int fresult ;
2040   void *arg1 = (void *) 0 ;
2041   int result;
2042 
2043   arg1 = (void *)(farg1);
2044   result = (int)IDAQuadSensEEtolerances(arg1);
2045   fresult = (int)(result);
2046   return fresult;
2047 }
2048 
2049 
_wrap_FIDASetQuadSensErrCon(void * farg1,int const * farg2)2050 SWIGEXPORT int _wrap_FIDASetQuadSensErrCon(void *farg1, int const *farg2) {
2051   int fresult ;
2052   void *arg1 = (void *) 0 ;
2053   int arg2 ;
2054   int result;
2055 
2056   arg1 = (void *)(farg1);
2057   arg2 = (int)(*farg2);
2058   result = (int)IDASetQuadSensErrCon(arg1,arg2);
2059   fresult = (int)(result);
2060   return fresult;
2061 }
2062 
2063 
_wrap_FIDAGetQuadSens(void * farg1,double * farg2,void * farg3)2064 SWIGEXPORT int _wrap_FIDAGetQuadSens(void *farg1, double *farg2, void *farg3) {
2065   int fresult ;
2066   void *arg1 = (void *) 0 ;
2067   realtype *arg2 = (realtype *) 0 ;
2068   N_Vector *arg3 = (N_Vector *) 0 ;
2069   int result;
2070 
2071   arg1 = (void *)(farg1);
2072   arg2 = (realtype *)(farg2);
2073   arg3 = (N_Vector *)(farg3);
2074   result = (int)IDAGetQuadSens(arg1,arg2,arg3);
2075   fresult = (int)(result);
2076   return fresult;
2077 }
2078 
2079 
_wrap_FIDAGetQuadSens1(void * farg1,double * farg2,int const * farg3,N_Vector farg4)2080 SWIGEXPORT int _wrap_FIDAGetQuadSens1(void *farg1, double *farg2, int const *farg3, N_Vector farg4) {
2081   int fresult ;
2082   void *arg1 = (void *) 0 ;
2083   realtype *arg2 = (realtype *) 0 ;
2084   int arg3 ;
2085   N_Vector arg4 = (N_Vector) 0 ;
2086   int result;
2087 
2088   arg1 = (void *)(farg1);
2089   arg2 = (realtype *)(farg2);
2090   arg3 = (int)(*farg3);
2091   arg4 = (N_Vector)(farg4);
2092   result = (int)IDAGetQuadSens1(arg1,arg2,arg3,arg4);
2093   fresult = (int)(result);
2094   return fresult;
2095 }
2096 
2097 
_wrap_FIDAGetQuadSensDky(void * farg1,double const * farg2,int const * farg3,void * farg4)2098 SWIGEXPORT int _wrap_FIDAGetQuadSensDky(void *farg1, double const *farg2, int const *farg3, void *farg4) {
2099   int fresult ;
2100   void *arg1 = (void *) 0 ;
2101   realtype arg2 ;
2102   int arg3 ;
2103   N_Vector *arg4 = (N_Vector *) 0 ;
2104   int result;
2105 
2106   arg1 = (void *)(farg1);
2107   arg2 = (realtype)(*farg2);
2108   arg3 = (int)(*farg3);
2109   arg4 = (N_Vector *)(farg4);
2110   result = (int)IDAGetQuadSensDky(arg1,arg2,arg3,arg4);
2111   fresult = (int)(result);
2112   return fresult;
2113 }
2114 
2115 
_wrap_FIDAGetQuadSensDky1(void * farg1,double const * farg2,int const * farg3,int const * farg4,N_Vector farg5)2116 SWIGEXPORT int _wrap_FIDAGetQuadSensDky1(void *farg1, double const *farg2, int const *farg3, int const *farg4, N_Vector farg5) {
2117   int fresult ;
2118   void *arg1 = (void *) 0 ;
2119   realtype arg2 ;
2120   int arg3 ;
2121   int arg4 ;
2122   N_Vector arg5 = (N_Vector) 0 ;
2123   int result;
2124 
2125   arg1 = (void *)(farg1);
2126   arg2 = (realtype)(*farg2);
2127   arg3 = (int)(*farg3);
2128   arg4 = (int)(*farg4);
2129   arg5 = (N_Vector)(farg5);
2130   result = (int)IDAGetQuadSensDky1(arg1,arg2,arg3,arg4,arg5);
2131   fresult = (int)(result);
2132   return fresult;
2133 }
2134 
2135 
_wrap_FIDAGetQuadSensNumRhsEvals(void * farg1,long * farg2)2136 SWIGEXPORT int _wrap_FIDAGetQuadSensNumRhsEvals(void *farg1, long *farg2) {
2137   int fresult ;
2138   void *arg1 = (void *) 0 ;
2139   long *arg2 = (long *) 0 ;
2140   int result;
2141 
2142   arg1 = (void *)(farg1);
2143   arg2 = (long *)(farg2);
2144   result = (int)IDAGetQuadSensNumRhsEvals(arg1,arg2);
2145   fresult = (int)(result);
2146   return fresult;
2147 }
2148 
2149 
_wrap_FIDAGetQuadSensNumErrTestFails(void * farg1,long * farg2)2150 SWIGEXPORT int _wrap_FIDAGetQuadSensNumErrTestFails(void *farg1, long *farg2) {
2151   int fresult ;
2152   void *arg1 = (void *) 0 ;
2153   long *arg2 = (long *) 0 ;
2154   int result;
2155 
2156   arg1 = (void *)(farg1);
2157   arg2 = (long *)(farg2);
2158   result = (int)IDAGetQuadSensNumErrTestFails(arg1,arg2);
2159   fresult = (int)(result);
2160   return fresult;
2161 }
2162 
2163 
_wrap_FIDAGetQuadSensErrWeights(void * farg1,void * farg2)2164 SWIGEXPORT int _wrap_FIDAGetQuadSensErrWeights(void *farg1, void *farg2) {
2165   int fresult ;
2166   void *arg1 = (void *) 0 ;
2167   N_Vector *arg2 = (N_Vector *) 0 ;
2168   int result;
2169 
2170   arg1 = (void *)(farg1);
2171   arg2 = (N_Vector *)(farg2);
2172   result = (int)IDAGetQuadSensErrWeights(arg1,arg2);
2173   fresult = (int)(result);
2174   return fresult;
2175 }
2176 
2177 
_wrap_FIDAGetQuadSensStats(void * farg1,long * farg2,long * farg3)2178 SWIGEXPORT int _wrap_FIDAGetQuadSensStats(void *farg1, long *farg2, long *farg3) {
2179   int fresult ;
2180   void *arg1 = (void *) 0 ;
2181   long *arg2 = (long *) 0 ;
2182   long *arg3 = (long *) 0 ;
2183   int result;
2184 
2185   arg1 = (void *)(farg1);
2186   arg2 = (long *)(farg2);
2187   arg3 = (long *)(farg3);
2188   result = (int)IDAGetQuadSensStats(arg1,arg2,arg3);
2189   fresult = (int)(result);
2190   return fresult;
2191 }
2192 
2193 
_wrap_FIDAQuadSensFree(void * farg1)2194 SWIGEXPORT void _wrap_FIDAQuadSensFree(void *farg1) {
2195   void *arg1 = (void *) 0 ;
2196 
2197   arg1 = (void *)(farg1);
2198   IDAQuadSensFree(arg1);
2199 }
2200 
2201 
_wrap_FIDAAdjInit(void * farg1,long const * farg2,int const * farg3)2202 SWIGEXPORT int _wrap_FIDAAdjInit(void *farg1, long const *farg2, int const *farg3) {
2203   int fresult ;
2204   void *arg1 = (void *) 0 ;
2205   long arg2 ;
2206   int arg3 ;
2207   int result;
2208 
2209   arg1 = (void *)(farg1);
2210   arg2 = (long)(*farg2);
2211   arg3 = (int)(*farg3);
2212   result = (int)IDAAdjInit(arg1,arg2,arg3);
2213   fresult = (int)(result);
2214   return fresult;
2215 }
2216 
2217 
_wrap_FIDAAdjReInit(void * farg1)2218 SWIGEXPORT int _wrap_FIDAAdjReInit(void *farg1) {
2219   int fresult ;
2220   void *arg1 = (void *) 0 ;
2221   int result;
2222 
2223   arg1 = (void *)(farg1);
2224   result = (int)IDAAdjReInit(arg1);
2225   fresult = (int)(result);
2226   return fresult;
2227 }
2228 
2229 
_wrap_FIDAAdjFree(void * farg1)2230 SWIGEXPORT void _wrap_FIDAAdjFree(void *farg1) {
2231   void *arg1 = (void *) 0 ;
2232 
2233   arg1 = (void *)(farg1);
2234   IDAAdjFree(arg1);
2235 }
2236 
2237 
_wrap_FIDACreateB(void * farg1,int * farg2)2238 SWIGEXPORT int _wrap_FIDACreateB(void *farg1, int *farg2) {
2239   int fresult ;
2240   void *arg1 = (void *) 0 ;
2241   int *arg2 = (int *) 0 ;
2242   int result;
2243 
2244   arg1 = (void *)(farg1);
2245   arg2 = (int *)(farg2);
2246   result = (int)IDACreateB(arg1,arg2);
2247   fresult = (int)(result);
2248   return fresult;
2249 }
2250 
2251 
_wrap_FIDAInitB(void * farg1,int const * farg2,IDAResFnB farg3,double const * farg4,N_Vector farg5,N_Vector farg6)2252 SWIGEXPORT int _wrap_FIDAInitB(void *farg1, int const *farg2, IDAResFnB farg3, double const *farg4, N_Vector farg5, N_Vector farg6) {
2253   int fresult ;
2254   void *arg1 = (void *) 0 ;
2255   int arg2 ;
2256   IDAResFnB arg3 = (IDAResFnB) 0 ;
2257   realtype arg4 ;
2258   N_Vector arg5 = (N_Vector) 0 ;
2259   N_Vector arg6 = (N_Vector) 0 ;
2260   int result;
2261 
2262   arg1 = (void *)(farg1);
2263   arg2 = (int)(*farg2);
2264   arg3 = (IDAResFnB)(farg3);
2265   arg4 = (realtype)(*farg4);
2266   arg5 = (N_Vector)(farg5);
2267   arg6 = (N_Vector)(farg6);
2268   result = (int)IDAInitB(arg1,arg2,arg3,arg4,arg5,arg6);
2269   fresult = (int)(result);
2270   return fresult;
2271 }
2272 
2273 
_wrap_FIDAInitBS(void * farg1,int const * farg2,IDAResFnBS farg3,double const * farg4,N_Vector farg5,N_Vector farg6)2274 SWIGEXPORT int _wrap_FIDAInitBS(void *farg1, int const *farg2, IDAResFnBS farg3, double const *farg4, N_Vector farg5, N_Vector farg6) {
2275   int fresult ;
2276   void *arg1 = (void *) 0 ;
2277   int arg2 ;
2278   IDAResFnBS arg3 = (IDAResFnBS) 0 ;
2279   realtype arg4 ;
2280   N_Vector arg5 = (N_Vector) 0 ;
2281   N_Vector arg6 = (N_Vector) 0 ;
2282   int result;
2283 
2284   arg1 = (void *)(farg1);
2285   arg2 = (int)(*farg2);
2286   arg3 = (IDAResFnBS)(farg3);
2287   arg4 = (realtype)(*farg4);
2288   arg5 = (N_Vector)(farg5);
2289   arg6 = (N_Vector)(farg6);
2290   result = (int)IDAInitBS(arg1,arg2,arg3,arg4,arg5,arg6);
2291   fresult = (int)(result);
2292   return fresult;
2293 }
2294 
2295 
_wrap_FIDAReInitB(void * farg1,int const * farg2,double const * farg3,N_Vector farg4,N_Vector farg5)2296 SWIGEXPORT int _wrap_FIDAReInitB(void *farg1, int const *farg2, double const *farg3, N_Vector farg4, N_Vector farg5) {
2297   int fresult ;
2298   void *arg1 = (void *) 0 ;
2299   int arg2 ;
2300   realtype arg3 ;
2301   N_Vector arg4 = (N_Vector) 0 ;
2302   N_Vector arg5 = (N_Vector) 0 ;
2303   int result;
2304 
2305   arg1 = (void *)(farg1);
2306   arg2 = (int)(*farg2);
2307   arg3 = (realtype)(*farg3);
2308   arg4 = (N_Vector)(farg4);
2309   arg5 = (N_Vector)(farg5);
2310   result = (int)IDAReInitB(arg1,arg2,arg3,arg4,arg5);
2311   fresult = (int)(result);
2312   return fresult;
2313 }
2314 
2315 
_wrap_FIDASStolerancesB(void * farg1,int const * farg2,double const * farg3,double const * farg4)2316 SWIGEXPORT int _wrap_FIDASStolerancesB(void *farg1, int const *farg2, double const *farg3, double const *farg4) {
2317   int fresult ;
2318   void *arg1 = (void *) 0 ;
2319   int arg2 ;
2320   realtype arg3 ;
2321   realtype arg4 ;
2322   int result;
2323 
2324   arg1 = (void *)(farg1);
2325   arg2 = (int)(*farg2);
2326   arg3 = (realtype)(*farg3);
2327   arg4 = (realtype)(*farg4);
2328   result = (int)IDASStolerancesB(arg1,arg2,arg3,arg4);
2329   fresult = (int)(result);
2330   return fresult;
2331 }
2332 
2333 
_wrap_FIDASVtolerancesB(void * farg1,int const * farg2,double const * farg3,N_Vector farg4)2334 SWIGEXPORT int _wrap_FIDASVtolerancesB(void *farg1, int const *farg2, double const *farg3, N_Vector farg4) {
2335   int fresult ;
2336   void *arg1 = (void *) 0 ;
2337   int arg2 ;
2338   realtype arg3 ;
2339   N_Vector arg4 = (N_Vector) 0 ;
2340   int result;
2341 
2342   arg1 = (void *)(farg1);
2343   arg2 = (int)(*farg2);
2344   arg3 = (realtype)(*farg3);
2345   arg4 = (N_Vector)(farg4);
2346   result = (int)IDASVtolerancesB(arg1,arg2,arg3,arg4);
2347   fresult = (int)(result);
2348   return fresult;
2349 }
2350 
2351 
_wrap_FIDAQuadInitB(void * farg1,int const * farg2,IDAQuadRhsFnB farg3,N_Vector farg4)2352 SWIGEXPORT int _wrap_FIDAQuadInitB(void *farg1, int const *farg2, IDAQuadRhsFnB farg3, N_Vector farg4) {
2353   int fresult ;
2354   void *arg1 = (void *) 0 ;
2355   int arg2 ;
2356   IDAQuadRhsFnB arg3 = (IDAQuadRhsFnB) 0 ;
2357   N_Vector arg4 = (N_Vector) 0 ;
2358   int result;
2359 
2360   arg1 = (void *)(farg1);
2361   arg2 = (int)(*farg2);
2362   arg3 = (IDAQuadRhsFnB)(farg3);
2363   arg4 = (N_Vector)(farg4);
2364   result = (int)IDAQuadInitB(arg1,arg2,arg3,arg4);
2365   fresult = (int)(result);
2366   return fresult;
2367 }
2368 
2369 
_wrap_FIDAQuadInitBS(void * farg1,int const * farg2,IDAQuadRhsFnBS farg3,N_Vector farg4)2370 SWIGEXPORT int _wrap_FIDAQuadInitBS(void *farg1, int const *farg2, IDAQuadRhsFnBS farg3, N_Vector farg4) {
2371   int fresult ;
2372   void *arg1 = (void *) 0 ;
2373   int arg2 ;
2374   IDAQuadRhsFnBS arg3 = (IDAQuadRhsFnBS) 0 ;
2375   N_Vector arg4 = (N_Vector) 0 ;
2376   int result;
2377 
2378   arg1 = (void *)(farg1);
2379   arg2 = (int)(*farg2);
2380   arg3 = (IDAQuadRhsFnBS)(farg3);
2381   arg4 = (N_Vector)(farg4);
2382   result = (int)IDAQuadInitBS(arg1,arg2,arg3,arg4);
2383   fresult = (int)(result);
2384   return fresult;
2385 }
2386 
2387 
_wrap_FIDAQuadReInitB(void * farg1,int const * farg2,N_Vector farg3)2388 SWIGEXPORT int _wrap_FIDAQuadReInitB(void *farg1, int const *farg2, N_Vector farg3) {
2389   int fresult ;
2390   void *arg1 = (void *) 0 ;
2391   int arg2 ;
2392   N_Vector arg3 = (N_Vector) 0 ;
2393   int result;
2394 
2395   arg1 = (void *)(farg1);
2396   arg2 = (int)(*farg2);
2397   arg3 = (N_Vector)(farg3);
2398   result = (int)IDAQuadReInitB(arg1,arg2,arg3);
2399   fresult = (int)(result);
2400   return fresult;
2401 }
2402 
2403 
_wrap_FIDAQuadSStolerancesB(void * farg1,int const * farg2,double const * farg3,double const * farg4)2404 SWIGEXPORT int _wrap_FIDAQuadSStolerancesB(void *farg1, int const *farg2, double const *farg3, double const *farg4) {
2405   int fresult ;
2406   void *arg1 = (void *) 0 ;
2407   int arg2 ;
2408   realtype arg3 ;
2409   realtype arg4 ;
2410   int result;
2411 
2412   arg1 = (void *)(farg1);
2413   arg2 = (int)(*farg2);
2414   arg3 = (realtype)(*farg3);
2415   arg4 = (realtype)(*farg4);
2416   result = (int)IDAQuadSStolerancesB(arg1,arg2,arg3,arg4);
2417   fresult = (int)(result);
2418   return fresult;
2419 }
2420 
2421 
_wrap_FIDAQuadSVtolerancesB(void * farg1,int const * farg2,double const * farg3,N_Vector farg4)2422 SWIGEXPORT int _wrap_FIDAQuadSVtolerancesB(void *farg1, int const *farg2, double const *farg3, N_Vector farg4) {
2423   int fresult ;
2424   void *arg1 = (void *) 0 ;
2425   int arg2 ;
2426   realtype arg3 ;
2427   N_Vector arg4 = (N_Vector) 0 ;
2428   int result;
2429 
2430   arg1 = (void *)(farg1);
2431   arg2 = (int)(*farg2);
2432   arg3 = (realtype)(*farg3);
2433   arg4 = (N_Vector)(farg4);
2434   result = (int)IDAQuadSVtolerancesB(arg1,arg2,arg3,arg4);
2435   fresult = (int)(result);
2436   return fresult;
2437 }
2438 
2439 
_wrap_FIDACalcICB(void * farg1,int const * farg2,double const * farg3,N_Vector farg4,N_Vector farg5)2440 SWIGEXPORT int _wrap_FIDACalcICB(void *farg1, int const *farg2, double const *farg3, N_Vector farg4, N_Vector farg5) {
2441   int fresult ;
2442   void *arg1 = (void *) 0 ;
2443   int arg2 ;
2444   realtype arg3 ;
2445   N_Vector arg4 = (N_Vector) 0 ;
2446   N_Vector arg5 = (N_Vector) 0 ;
2447   int result;
2448 
2449   arg1 = (void *)(farg1);
2450   arg2 = (int)(*farg2);
2451   arg3 = (realtype)(*farg3);
2452   arg4 = (N_Vector)(farg4);
2453   arg5 = (N_Vector)(farg5);
2454   result = (int)IDACalcICB(arg1,arg2,arg3,arg4,arg5);
2455   fresult = (int)(result);
2456   return fresult;
2457 }
2458 
2459 
_wrap_FIDACalcICBS(void * farg1,int const * farg2,double const * farg3,N_Vector farg4,N_Vector farg5,void * farg6,void * farg7)2460 SWIGEXPORT int _wrap_FIDACalcICBS(void *farg1, int const *farg2, double const *farg3, N_Vector farg4, N_Vector farg5, void *farg6, void *farg7) {
2461   int fresult ;
2462   void *arg1 = (void *) 0 ;
2463   int arg2 ;
2464   realtype arg3 ;
2465   N_Vector arg4 = (N_Vector) 0 ;
2466   N_Vector arg5 = (N_Vector) 0 ;
2467   N_Vector *arg6 = (N_Vector *) 0 ;
2468   N_Vector *arg7 = (N_Vector *) 0 ;
2469   int result;
2470 
2471   arg1 = (void *)(farg1);
2472   arg2 = (int)(*farg2);
2473   arg3 = (realtype)(*farg3);
2474   arg4 = (N_Vector)(farg4);
2475   arg5 = (N_Vector)(farg5);
2476   arg6 = (N_Vector *)(farg6);
2477   arg7 = (N_Vector *)(farg7);
2478   result = (int)IDACalcICBS(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
2479   fresult = (int)(result);
2480   return fresult;
2481 }
2482 
2483 
_wrap_FIDASolveF(void * farg1,double const * farg2,double * farg3,N_Vector farg4,N_Vector farg5,int const * farg6,int * farg7)2484 SWIGEXPORT int _wrap_FIDASolveF(void *farg1, double const *farg2, double *farg3, N_Vector farg4, N_Vector farg5, int const *farg6, int *farg7) {
2485   int fresult ;
2486   void *arg1 = (void *) 0 ;
2487   realtype arg2 ;
2488   realtype *arg3 = (realtype *) 0 ;
2489   N_Vector arg4 = (N_Vector) 0 ;
2490   N_Vector arg5 = (N_Vector) 0 ;
2491   int arg6 ;
2492   int *arg7 = (int *) 0 ;
2493   int result;
2494 
2495   arg1 = (void *)(farg1);
2496   arg2 = (realtype)(*farg2);
2497   arg3 = (realtype *)(farg3);
2498   arg4 = (N_Vector)(farg4);
2499   arg5 = (N_Vector)(farg5);
2500   arg6 = (int)(*farg6);
2501   arg7 = (int *)(farg7);
2502   result = (int)IDASolveF(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
2503   fresult = (int)(result);
2504   return fresult;
2505 }
2506 
2507 
_wrap_FIDASolveB(void * farg1,double const * farg2,int const * farg3)2508 SWIGEXPORT int _wrap_FIDASolveB(void *farg1, double const *farg2, int const *farg3) {
2509   int fresult ;
2510   void *arg1 = (void *) 0 ;
2511   realtype arg2 ;
2512   int arg3 ;
2513   int result;
2514 
2515   arg1 = (void *)(farg1);
2516   arg2 = (realtype)(*farg2);
2517   arg3 = (int)(*farg3);
2518   result = (int)IDASolveB(arg1,arg2,arg3);
2519   fresult = (int)(result);
2520   return fresult;
2521 }
2522 
2523 
_wrap_FIDAAdjSetNoSensi(void * farg1)2524 SWIGEXPORT int _wrap_FIDAAdjSetNoSensi(void *farg1) {
2525   int fresult ;
2526   void *arg1 = (void *) 0 ;
2527   int result;
2528 
2529   arg1 = (void *)(farg1);
2530   result = (int)IDAAdjSetNoSensi(arg1);
2531   fresult = (int)(result);
2532   return fresult;
2533 }
2534 
2535 
_wrap_FIDASetUserDataB(void * farg1,int const * farg2,void * farg3)2536 SWIGEXPORT int _wrap_FIDASetUserDataB(void *farg1, int const *farg2, void *farg3) {
2537   int fresult ;
2538   void *arg1 = (void *) 0 ;
2539   int arg2 ;
2540   void *arg3 = (void *) 0 ;
2541   int result;
2542 
2543   arg1 = (void *)(farg1);
2544   arg2 = (int)(*farg2);
2545   arg3 = (void *)(farg3);
2546   result = (int)IDASetUserDataB(arg1,arg2,arg3);
2547   fresult = (int)(result);
2548   return fresult;
2549 }
2550 
2551 
_wrap_FIDASetMaxOrdB(void * farg1,int const * farg2,int const * farg3)2552 SWIGEXPORT int _wrap_FIDASetMaxOrdB(void *farg1, int const *farg2, int const *farg3) {
2553   int fresult ;
2554   void *arg1 = (void *) 0 ;
2555   int arg2 ;
2556   int arg3 ;
2557   int result;
2558 
2559   arg1 = (void *)(farg1);
2560   arg2 = (int)(*farg2);
2561   arg3 = (int)(*farg3);
2562   result = (int)IDASetMaxOrdB(arg1,arg2,arg3);
2563   fresult = (int)(result);
2564   return fresult;
2565 }
2566 
2567 
_wrap_FIDASetMaxNumStepsB(void * farg1,int const * farg2,long const * farg3)2568 SWIGEXPORT int _wrap_FIDASetMaxNumStepsB(void *farg1, int const *farg2, long const *farg3) {
2569   int fresult ;
2570   void *arg1 = (void *) 0 ;
2571   int arg2 ;
2572   long arg3 ;
2573   int result;
2574 
2575   arg1 = (void *)(farg1);
2576   arg2 = (int)(*farg2);
2577   arg3 = (long)(*farg3);
2578   result = (int)IDASetMaxNumStepsB(arg1,arg2,arg3);
2579   fresult = (int)(result);
2580   return fresult;
2581 }
2582 
2583 
_wrap_FIDASetInitStepB(void * farg1,int const * farg2,double const * farg3)2584 SWIGEXPORT int _wrap_FIDASetInitStepB(void *farg1, int const *farg2, double const *farg3) {
2585   int fresult ;
2586   void *arg1 = (void *) 0 ;
2587   int arg2 ;
2588   realtype arg3 ;
2589   int result;
2590 
2591   arg1 = (void *)(farg1);
2592   arg2 = (int)(*farg2);
2593   arg3 = (realtype)(*farg3);
2594   result = (int)IDASetInitStepB(arg1,arg2,arg3);
2595   fresult = (int)(result);
2596   return fresult;
2597 }
2598 
2599 
_wrap_FIDASetMaxStepB(void * farg1,int const * farg2,double const * farg3)2600 SWIGEXPORT int _wrap_FIDASetMaxStepB(void *farg1, int const *farg2, double const *farg3) {
2601   int fresult ;
2602   void *arg1 = (void *) 0 ;
2603   int arg2 ;
2604   realtype arg3 ;
2605   int result;
2606 
2607   arg1 = (void *)(farg1);
2608   arg2 = (int)(*farg2);
2609   arg3 = (realtype)(*farg3);
2610   result = (int)IDASetMaxStepB(arg1,arg2,arg3);
2611   fresult = (int)(result);
2612   return fresult;
2613 }
2614 
2615 
_wrap_FIDASetSuppressAlgB(void * farg1,int const * farg2,int const * farg3)2616 SWIGEXPORT int _wrap_FIDASetSuppressAlgB(void *farg1, int const *farg2, int const *farg3) {
2617   int fresult ;
2618   void *arg1 = (void *) 0 ;
2619   int arg2 ;
2620   int arg3 ;
2621   int result;
2622 
2623   arg1 = (void *)(farg1);
2624   arg2 = (int)(*farg2);
2625   arg3 = (int)(*farg3);
2626   result = (int)IDASetSuppressAlgB(arg1,arg2,arg3);
2627   fresult = (int)(result);
2628   return fresult;
2629 }
2630 
2631 
_wrap_FIDASetIdB(void * farg1,int const * farg2,N_Vector farg3)2632 SWIGEXPORT int _wrap_FIDASetIdB(void *farg1, int const *farg2, N_Vector farg3) {
2633   int fresult ;
2634   void *arg1 = (void *) 0 ;
2635   int arg2 ;
2636   N_Vector arg3 = (N_Vector) 0 ;
2637   int result;
2638 
2639   arg1 = (void *)(farg1);
2640   arg2 = (int)(*farg2);
2641   arg3 = (N_Vector)(farg3);
2642   result = (int)IDASetIdB(arg1,arg2,arg3);
2643   fresult = (int)(result);
2644   return fresult;
2645 }
2646 
2647 
_wrap_FIDASetConstraintsB(void * farg1,int const * farg2,N_Vector farg3)2648 SWIGEXPORT int _wrap_FIDASetConstraintsB(void *farg1, int const *farg2, N_Vector farg3) {
2649   int fresult ;
2650   void *arg1 = (void *) 0 ;
2651   int arg2 ;
2652   N_Vector arg3 = (N_Vector) 0 ;
2653   int result;
2654 
2655   arg1 = (void *)(farg1);
2656   arg2 = (int)(*farg2);
2657   arg3 = (N_Vector)(farg3);
2658   result = (int)IDASetConstraintsB(arg1,arg2,arg3);
2659   fresult = (int)(result);
2660   return fresult;
2661 }
2662 
2663 
_wrap_FIDASetQuadErrConB(void * farg1,int const * farg2,int const * farg3)2664 SWIGEXPORT int _wrap_FIDASetQuadErrConB(void *farg1, int const *farg2, int const *farg3) {
2665   int fresult ;
2666   void *arg1 = (void *) 0 ;
2667   int arg2 ;
2668   int arg3 ;
2669   int result;
2670 
2671   arg1 = (void *)(farg1);
2672   arg2 = (int)(*farg2);
2673   arg3 = (int)(*farg3);
2674   result = (int)IDASetQuadErrConB(arg1,arg2,arg3);
2675   fresult = (int)(result);
2676   return fresult;
2677 }
2678 
2679 
_wrap_FIDASetNonlinearSolverB(void * farg1,int const * farg2,SUNNonlinearSolver farg3)2680 SWIGEXPORT int _wrap_FIDASetNonlinearSolverB(void *farg1, int const *farg2, SUNNonlinearSolver farg3) {
2681   int fresult ;
2682   void *arg1 = (void *) 0 ;
2683   int arg2 ;
2684   SUNNonlinearSolver arg3 = (SUNNonlinearSolver) 0 ;
2685   int result;
2686 
2687   arg1 = (void *)(farg1);
2688   arg2 = (int)(*farg2);
2689   arg3 = (SUNNonlinearSolver)(farg3);
2690   result = (int)IDASetNonlinearSolverB(arg1,arg2,arg3);
2691   fresult = (int)(result);
2692   return fresult;
2693 }
2694 
2695 
_wrap_FIDAGetB(void * farg1,int const * farg2,double * farg3,N_Vector farg4,N_Vector farg5)2696 SWIGEXPORT int _wrap_FIDAGetB(void *farg1, int const *farg2, double *farg3, N_Vector farg4, N_Vector farg5) {
2697   int fresult ;
2698   void *arg1 = (void *) 0 ;
2699   int arg2 ;
2700   realtype *arg3 = (realtype *) 0 ;
2701   N_Vector arg4 = (N_Vector) 0 ;
2702   N_Vector arg5 = (N_Vector) 0 ;
2703   int result;
2704 
2705   arg1 = (void *)(farg1);
2706   arg2 = (int)(*farg2);
2707   arg3 = (realtype *)(farg3);
2708   arg4 = (N_Vector)(farg4);
2709   arg5 = (N_Vector)(farg5);
2710   result = (int)IDAGetB(arg1,arg2,arg3,arg4,arg5);
2711   fresult = (int)(result);
2712   return fresult;
2713 }
2714 
2715 
_wrap_FIDAGetQuadB(void * farg1,int const * farg2,double * farg3,N_Vector farg4)2716 SWIGEXPORT int _wrap_FIDAGetQuadB(void *farg1, int const *farg2, double *farg3, N_Vector farg4) {
2717   int fresult ;
2718   void *arg1 = (void *) 0 ;
2719   int arg2 ;
2720   realtype *arg3 = (realtype *) 0 ;
2721   N_Vector arg4 = (N_Vector) 0 ;
2722   int result;
2723 
2724   arg1 = (void *)(farg1);
2725   arg2 = (int)(*farg2);
2726   arg3 = (realtype *)(farg3);
2727   arg4 = (N_Vector)(farg4);
2728   result = (int)IDAGetQuadB(arg1,arg2,arg3,arg4);
2729   fresult = (int)(result);
2730   return fresult;
2731 }
2732 
2733 
_wrap_FIDAGetAdjIDABmem(void * farg1,int const * farg2)2734 SWIGEXPORT void * _wrap_FIDAGetAdjIDABmem(void *farg1, int const *farg2) {
2735   void * fresult ;
2736   void *arg1 = (void *) 0 ;
2737   int arg2 ;
2738   void *result = 0 ;
2739 
2740   arg1 = (void *)(farg1);
2741   arg2 = (int)(*farg2);
2742   result = (void *)IDAGetAdjIDABmem(arg1,arg2);
2743   fresult = result;
2744   return fresult;
2745 }
2746 
2747 
_wrap_FIDAGetConsistentICB(void * farg1,int const * farg2,N_Vector farg3,N_Vector farg4)2748 SWIGEXPORT int _wrap_FIDAGetConsistentICB(void *farg1, int const *farg2, N_Vector farg3, N_Vector farg4) {
2749   int fresult ;
2750   void *arg1 = (void *) 0 ;
2751   int arg2 ;
2752   N_Vector arg3 = (N_Vector) 0 ;
2753   N_Vector arg4 = (N_Vector) 0 ;
2754   int result;
2755 
2756   arg1 = (void *)(farg1);
2757   arg2 = (int)(*farg2);
2758   arg3 = (N_Vector)(farg3);
2759   arg4 = (N_Vector)(farg4);
2760   result = (int)IDAGetConsistentICB(arg1,arg2,arg3,arg4);
2761   fresult = (int)(result);
2762   return fresult;
2763 }
2764 
2765 
_wrap_FIDAGetAdjY(void * farg1,double const * farg2,N_Vector farg3,N_Vector farg4)2766 SWIGEXPORT int _wrap_FIDAGetAdjY(void *farg1, double const *farg2, N_Vector farg3, N_Vector farg4) {
2767   int fresult ;
2768   void *arg1 = (void *) 0 ;
2769   realtype arg2 ;
2770   N_Vector arg3 = (N_Vector) 0 ;
2771   N_Vector arg4 = (N_Vector) 0 ;
2772   int result;
2773 
2774   arg1 = (void *)(farg1);
2775   arg2 = (realtype)(*farg2);
2776   arg3 = (N_Vector)(farg3);
2777   arg4 = (N_Vector)(farg4);
2778   result = (int)IDAGetAdjY(arg1,arg2,arg3,arg4);
2779   fresult = (int)(result);
2780   return fresult;
2781 }
2782 
2783 
_wrap_IDAadjCheckPointRec_my_addr_set(SwigClassWrapper const * farg1,void * farg2)2784 SWIGEXPORT void _wrap_IDAadjCheckPointRec_my_addr_set(SwigClassWrapper const *farg1, void *farg2) {
2785   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2786   void *arg2 = (void *) 0 ;
2787 
2788   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::my_addr", return );
2789   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2790   arg2 = (void *)(farg2);
2791   if (arg1) (arg1)->my_addr = arg2;
2792 }
2793 
2794 
_wrap_IDAadjCheckPointRec_my_addr_get(SwigClassWrapper const * farg1)2795 SWIGEXPORT void * _wrap_IDAadjCheckPointRec_my_addr_get(SwigClassWrapper const *farg1) {
2796   void * fresult ;
2797   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2798   void *result = 0 ;
2799 
2800   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::my_addr", return 0);
2801   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2802   result = (void *) ((arg1)->my_addr);
2803   fresult = result;
2804   return fresult;
2805 }
2806 
2807 
_wrap_IDAadjCheckPointRec_next_addr_set(SwigClassWrapper const * farg1,void * farg2)2808 SWIGEXPORT void _wrap_IDAadjCheckPointRec_next_addr_set(SwigClassWrapper const *farg1, void *farg2) {
2809   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2810   void *arg2 = (void *) 0 ;
2811 
2812   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::next_addr", return );
2813   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2814   arg2 = (void *)(farg2);
2815   if (arg1) (arg1)->next_addr = arg2;
2816 }
2817 
2818 
_wrap_IDAadjCheckPointRec_next_addr_get(SwigClassWrapper const * farg1)2819 SWIGEXPORT void * _wrap_IDAadjCheckPointRec_next_addr_get(SwigClassWrapper const *farg1) {
2820   void * fresult ;
2821   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2822   void *result = 0 ;
2823 
2824   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::next_addr", return 0);
2825   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2826   result = (void *) ((arg1)->next_addr);
2827   fresult = result;
2828   return fresult;
2829 }
2830 
2831 
_wrap_IDAadjCheckPointRec_t0_set(SwigClassWrapper const * farg1,double const * farg2)2832 SWIGEXPORT void _wrap_IDAadjCheckPointRec_t0_set(SwigClassWrapper const *farg1, double const *farg2) {
2833   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2834   realtype arg2 ;
2835 
2836   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::t0", return );
2837   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2838   arg2 = (realtype)(*farg2);
2839   if (arg1) (arg1)->t0 = arg2;
2840 }
2841 
2842 
_wrap_IDAadjCheckPointRec_t0_get(SwigClassWrapper const * farg1)2843 SWIGEXPORT double _wrap_IDAadjCheckPointRec_t0_get(SwigClassWrapper const *farg1) {
2844   double fresult ;
2845   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2846   realtype result;
2847 
2848   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::t0", return 0);
2849   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2850   result = (realtype) ((arg1)->t0);
2851   fresult = (realtype)(result);
2852   return fresult;
2853 }
2854 
2855 
_wrap_IDAadjCheckPointRec_t1_set(SwigClassWrapper const * farg1,double const * farg2)2856 SWIGEXPORT void _wrap_IDAadjCheckPointRec_t1_set(SwigClassWrapper const *farg1, double const *farg2) {
2857   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2858   realtype arg2 ;
2859 
2860   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::t1", return );
2861   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2862   arg2 = (realtype)(*farg2);
2863   if (arg1) (arg1)->t1 = arg2;
2864 }
2865 
2866 
_wrap_IDAadjCheckPointRec_t1_get(SwigClassWrapper const * farg1)2867 SWIGEXPORT double _wrap_IDAadjCheckPointRec_t1_get(SwigClassWrapper const *farg1) {
2868   double fresult ;
2869   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2870   realtype result;
2871 
2872   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::t1", return 0);
2873   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2874   result = (realtype) ((arg1)->t1);
2875   fresult = (realtype)(result);
2876   return fresult;
2877 }
2878 
2879 
_wrap_IDAadjCheckPointRec_nstep_set(SwigClassWrapper const * farg1,long const * farg2)2880 SWIGEXPORT void _wrap_IDAadjCheckPointRec_nstep_set(SwigClassWrapper const *farg1, long const *farg2) {
2881   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2882   long arg2 ;
2883 
2884   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::nstep", return );
2885   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2886   arg2 = (long)(*farg2);
2887   if (arg1) (arg1)->nstep = arg2;
2888 }
2889 
2890 
_wrap_IDAadjCheckPointRec_nstep_get(SwigClassWrapper const * farg1)2891 SWIGEXPORT long _wrap_IDAadjCheckPointRec_nstep_get(SwigClassWrapper const *farg1) {
2892   long fresult ;
2893   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2894   long result;
2895 
2896   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::nstep", return 0);
2897   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2898   result = (long) ((arg1)->nstep);
2899   fresult = (long)(result);
2900   return fresult;
2901 }
2902 
2903 
_wrap_IDAadjCheckPointRec_order_set(SwigClassWrapper const * farg1,int const * farg2)2904 SWIGEXPORT void _wrap_IDAadjCheckPointRec_order_set(SwigClassWrapper const *farg1, int const *farg2) {
2905   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2906   int arg2 ;
2907 
2908   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::order", return );
2909   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2910   arg2 = (int)(*farg2);
2911   if (arg1) (arg1)->order = arg2;
2912 }
2913 
2914 
_wrap_IDAadjCheckPointRec_order_get(SwigClassWrapper const * farg1)2915 SWIGEXPORT int _wrap_IDAadjCheckPointRec_order_get(SwigClassWrapper const *farg1) {
2916   int fresult ;
2917   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2918   int result;
2919 
2920   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::order", return 0);
2921   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2922   result = (int) ((arg1)->order);
2923   fresult = (int)(result);
2924   return fresult;
2925 }
2926 
2927 
_wrap_IDAadjCheckPointRec_step_set(SwigClassWrapper const * farg1,double const * farg2)2928 SWIGEXPORT void _wrap_IDAadjCheckPointRec_step_set(SwigClassWrapper const *farg1, double const *farg2) {
2929   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2930   realtype arg2 ;
2931 
2932   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::step", return );
2933   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2934   arg2 = (realtype)(*farg2);
2935   if (arg1) (arg1)->step = arg2;
2936 }
2937 
2938 
_wrap_IDAadjCheckPointRec_step_get(SwigClassWrapper const * farg1)2939 SWIGEXPORT double _wrap_IDAadjCheckPointRec_step_get(SwigClassWrapper const *farg1) {
2940   double fresult ;
2941   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2942   realtype result;
2943 
2944   SWIG_check_mutable_nonnull(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::step", return 0);
2945   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2946   result = (realtype) ((arg1)->step);
2947   fresult = (realtype)(result);
2948   return fresult;
2949 }
2950 
2951 
_wrap_new_IDAadjCheckPointRec()2952 SWIGEXPORT SwigClassWrapper _wrap_new_IDAadjCheckPointRec() {
2953   SwigClassWrapper fresult ;
2954   IDAadjCheckPointRec *result = 0 ;
2955 
2956   result = (IDAadjCheckPointRec *)calloc(1, sizeof(IDAadjCheckPointRec));
2957   fresult.cptr = result;
2958   fresult.cmemflags = SWIG_MEM_RVALUE | (1 ? SWIG_MEM_OWN : 0);
2959   return fresult;
2960 }
2961 
2962 
_wrap_delete_IDAadjCheckPointRec(SwigClassWrapper * farg1)2963 SWIGEXPORT void _wrap_delete_IDAadjCheckPointRec(SwigClassWrapper *farg1) {
2964   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2965 
2966   SWIG_check_mutable(*farg1, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAadjCheckPointRec::~IDAadjCheckPointRec()", return );
2967   arg1 = (IDAadjCheckPointRec *)(farg1->cptr);
2968   free((char *) arg1);
2969 }
2970 
2971 
_wrap_IDAadjCheckPointRec_op_assign__(SwigClassWrapper * farg1,SwigClassWrapper const * farg2)2972 SWIGEXPORT void _wrap_IDAadjCheckPointRec_op_assign__(SwigClassWrapper *farg1, SwigClassWrapper const *farg2) {
2973   IDAadjCheckPointRec *arg1 = (IDAadjCheckPointRec *) 0 ;
2974   IDAadjCheckPointRec *arg2 = 0 ;
2975 
2976   (void)sizeof(arg1);
2977   (void)sizeof(arg2);
2978   SWIG_assign(farg1, *farg2);
2979 
2980 }
2981 
2982 
_wrap_FIDAGetAdjCheckPointsInfo(void * farg1,SwigClassWrapper const * farg2)2983 SWIGEXPORT int _wrap_FIDAGetAdjCheckPointsInfo(void *farg1, SwigClassWrapper const *farg2) {
2984   int fresult ;
2985   void *arg1 = (void *) 0 ;
2986   IDAadjCheckPointRec *arg2 = (IDAadjCheckPointRec *) 0 ;
2987   int result;
2988 
2989   arg1 = (void *)(farg1);
2990   SWIG_check_mutable(*farg2, "IDAadjCheckPointRec *", "IDAadjCheckPointRec", "IDAGetAdjCheckPointsInfo(void *,IDAadjCheckPointRec *)", return 0);
2991   arg2 = (IDAadjCheckPointRec *)(farg2->cptr);
2992   result = (int)IDAGetAdjCheckPointsInfo(arg1,arg2);
2993   fresult = (int)(result);
2994   return fresult;
2995 }
2996 
2997 
_wrap_FIDASetJacTimesResFnB(void * farg1,int const * farg2,IDAResFn farg3)2998 SWIGEXPORT int _wrap_FIDASetJacTimesResFnB(void *farg1, int const *farg2, IDAResFn farg3) {
2999   int fresult ;
3000   void *arg1 = (void *) 0 ;
3001   int arg2 ;
3002   IDAResFn arg3 = (IDAResFn) 0 ;
3003   int result;
3004 
3005   arg1 = (void *)(farg1);
3006   arg2 = (int)(*farg2);
3007   arg3 = (IDAResFn)(farg3);
3008   result = (int)IDASetJacTimesResFnB(arg1,arg2,arg3);
3009   fresult = (int)(result);
3010   return fresult;
3011 }
3012 
3013 
_wrap_FIDAGetAdjDataPointHermite(void * farg1,int const * farg2,double * farg3,N_Vector farg4,N_Vector farg5)3014 SWIGEXPORT int _wrap_FIDAGetAdjDataPointHermite(void *farg1, int const *farg2, double *farg3, N_Vector farg4, N_Vector farg5) {
3015   int fresult ;
3016   void *arg1 = (void *) 0 ;
3017   int arg2 ;
3018   realtype *arg3 = (realtype *) 0 ;
3019   N_Vector arg4 = (N_Vector) 0 ;
3020   N_Vector arg5 = (N_Vector) 0 ;
3021   int result;
3022 
3023   arg1 = (void *)(farg1);
3024   arg2 = (int)(*farg2);
3025   arg3 = (realtype *)(farg3);
3026   arg4 = (N_Vector)(farg4);
3027   arg5 = (N_Vector)(farg5);
3028   result = (int)IDAGetAdjDataPointHermite(arg1,arg2,arg3,arg4,arg5);
3029   fresult = (int)(result);
3030   return fresult;
3031 }
3032 
3033 
_wrap_FIDAGetAdjDataPointPolynomial(void * farg1,int const * farg2,double * farg3,int * farg4,N_Vector farg5)3034 SWIGEXPORT int _wrap_FIDAGetAdjDataPointPolynomial(void *farg1, int const *farg2, double *farg3, int *farg4, N_Vector farg5) {
3035   int fresult ;
3036   void *arg1 = (void *) 0 ;
3037   int arg2 ;
3038   realtype *arg3 = (realtype *) 0 ;
3039   int *arg4 = (int *) 0 ;
3040   N_Vector arg5 = (N_Vector) 0 ;
3041   int result;
3042 
3043   arg1 = (void *)(farg1);
3044   arg2 = (int)(*farg2);
3045   arg3 = (realtype *)(farg3);
3046   arg4 = (int *)(farg4);
3047   arg5 = (N_Vector)(farg5);
3048   result = (int)IDAGetAdjDataPointPolynomial(arg1,arg2,arg3,arg4,arg5);
3049   fresult = (int)(result);
3050   return fresult;
3051 }
3052 
3053 
_wrap_FIDAGetAdjCurrentCheckPoint(void * farg1,void * farg2)3054 SWIGEXPORT int _wrap_FIDAGetAdjCurrentCheckPoint(void *farg1, void *farg2) {
3055   int fresult ;
3056   void *arg1 = (void *) 0 ;
3057   void **arg2 = (void **) 0 ;
3058   int result;
3059 
3060   arg1 = (void *)(farg1);
3061   arg2 = (void **)(farg2);
3062   result = (int)IDAGetAdjCurrentCheckPoint(arg1,arg2);
3063   fresult = (int)(result);
3064   return fresult;
3065 }
3066 
3067 
_wrap_FIDABBDPrecInit(void * farg1,int64_t const * farg2,int64_t const * farg3,int64_t const * farg4,int64_t const * farg5,int64_t const * farg6,double const * farg7,IDABBDLocalFn farg8,IDABBDCommFn farg9)3068 SWIGEXPORT int _wrap_FIDABBDPrecInit(void *farg1, int64_t const *farg2, int64_t const *farg3, int64_t const *farg4, int64_t const *farg5, int64_t const *farg6, double const *farg7, IDABBDLocalFn farg8, IDABBDCommFn farg9) {
3069   int fresult ;
3070   void *arg1 = (void *) 0 ;
3071   sunindextype arg2 ;
3072   sunindextype arg3 ;
3073   sunindextype arg4 ;
3074   sunindextype arg5 ;
3075   sunindextype arg6 ;
3076   realtype arg7 ;
3077   IDABBDLocalFn arg8 = (IDABBDLocalFn) 0 ;
3078   IDABBDCommFn arg9 = (IDABBDCommFn) 0 ;
3079   int result;
3080 
3081   arg1 = (void *)(farg1);
3082   arg2 = (sunindextype)(*farg2);
3083   arg3 = (sunindextype)(*farg3);
3084   arg4 = (sunindextype)(*farg4);
3085   arg5 = (sunindextype)(*farg5);
3086   arg6 = (sunindextype)(*farg6);
3087   arg7 = (realtype)(*farg7);
3088   arg8 = (IDABBDLocalFn)(farg8);
3089   arg9 = (IDABBDCommFn)(farg9);
3090   result = (int)IDABBDPrecInit(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
3091   fresult = (int)(result);
3092   return fresult;
3093 }
3094 
3095 
_wrap_FIDABBDPrecReInit(void * farg1,int64_t const * farg2,int64_t const * farg3,double const * farg4)3096 SWIGEXPORT int _wrap_FIDABBDPrecReInit(void *farg1, int64_t const *farg2, int64_t const *farg3, double const *farg4) {
3097   int fresult ;
3098   void *arg1 = (void *) 0 ;
3099   sunindextype arg2 ;
3100   sunindextype arg3 ;
3101   realtype arg4 ;
3102   int result;
3103 
3104   arg1 = (void *)(farg1);
3105   arg2 = (sunindextype)(*farg2);
3106   arg3 = (sunindextype)(*farg3);
3107   arg4 = (realtype)(*farg4);
3108   result = (int)IDABBDPrecReInit(arg1,arg2,arg3,arg4);
3109   fresult = (int)(result);
3110   return fresult;
3111 }
3112 
3113 
_wrap_FIDABBDPrecGetWorkSpace(void * farg1,long * farg2,long * farg3)3114 SWIGEXPORT int _wrap_FIDABBDPrecGetWorkSpace(void *farg1, long *farg2, long *farg3) {
3115   int fresult ;
3116   void *arg1 = (void *) 0 ;
3117   long *arg2 = (long *) 0 ;
3118   long *arg3 = (long *) 0 ;
3119   int result;
3120 
3121   arg1 = (void *)(farg1);
3122   arg2 = (long *)(farg2);
3123   arg3 = (long *)(farg3);
3124   result = (int)IDABBDPrecGetWorkSpace(arg1,arg2,arg3);
3125   fresult = (int)(result);
3126   return fresult;
3127 }
3128 
3129 
_wrap_FIDABBDPrecGetNumGfnEvals(void * farg1,long * farg2)3130 SWIGEXPORT int _wrap_FIDABBDPrecGetNumGfnEvals(void *farg1, long *farg2) {
3131   int fresult ;
3132   void *arg1 = (void *) 0 ;
3133   long *arg2 = (long *) 0 ;
3134   int result;
3135 
3136   arg1 = (void *)(farg1);
3137   arg2 = (long *)(farg2);
3138   result = (int)IDABBDPrecGetNumGfnEvals(arg1,arg2);
3139   fresult = (int)(result);
3140   return fresult;
3141 }
3142 
3143 
_wrap_FIDABBDPrecInitB(void * farg1,int const * farg2,int64_t const * farg3,int64_t const * farg4,int64_t const * farg5,int64_t const * farg6,int64_t const * farg7,double const * farg8,IDABBDLocalFnB farg9,IDABBDCommFnB farg10)3144 SWIGEXPORT int _wrap_FIDABBDPrecInitB(void *farg1, int const *farg2, int64_t const *farg3, int64_t const *farg4, int64_t const *farg5, int64_t const *farg6, int64_t const *farg7, double const *farg8, IDABBDLocalFnB farg9, IDABBDCommFnB farg10) {
3145   int fresult ;
3146   void *arg1 = (void *) 0 ;
3147   int arg2 ;
3148   sunindextype arg3 ;
3149   sunindextype arg4 ;
3150   sunindextype arg5 ;
3151   sunindextype arg6 ;
3152   sunindextype arg7 ;
3153   realtype arg8 ;
3154   IDABBDLocalFnB arg9 = (IDABBDLocalFnB) 0 ;
3155   IDABBDCommFnB arg10 = (IDABBDCommFnB) 0 ;
3156   int result;
3157 
3158   arg1 = (void *)(farg1);
3159   arg2 = (int)(*farg2);
3160   arg3 = (sunindextype)(*farg3);
3161   arg4 = (sunindextype)(*farg4);
3162   arg5 = (sunindextype)(*farg5);
3163   arg6 = (sunindextype)(*farg6);
3164   arg7 = (sunindextype)(*farg7);
3165   arg8 = (realtype)(*farg8);
3166   arg9 = (IDABBDLocalFnB)(farg9);
3167   arg10 = (IDABBDCommFnB)(farg10);
3168   result = (int)IDABBDPrecInitB(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3169   fresult = (int)(result);
3170   return fresult;
3171 }
3172 
3173 
_wrap_FIDABBDPrecReInitB(void * farg1,int const * farg2,int64_t const * farg3,int64_t const * farg4,double const * farg5)3174 SWIGEXPORT int _wrap_FIDABBDPrecReInitB(void *farg1, int const *farg2, int64_t const *farg3, int64_t const *farg4, double const *farg5) {
3175   int fresult ;
3176   void *arg1 = (void *) 0 ;
3177   int arg2 ;
3178   sunindextype arg3 ;
3179   sunindextype arg4 ;
3180   realtype arg5 ;
3181   int result;
3182 
3183   arg1 = (void *)(farg1);
3184   arg2 = (int)(*farg2);
3185   arg3 = (sunindextype)(*farg3);
3186   arg4 = (sunindextype)(*farg4);
3187   arg5 = (realtype)(*farg5);
3188   result = (int)IDABBDPrecReInitB(arg1,arg2,arg3,arg4,arg5);
3189   fresult = (int)(result);
3190   return fresult;
3191 }
3192 
3193 
_wrap_FIDASetLinearSolver(void * farg1,SUNLinearSolver farg2,SUNMatrix farg3)3194 SWIGEXPORT int _wrap_FIDASetLinearSolver(void *farg1, SUNLinearSolver farg2, SUNMatrix farg3) {
3195   int fresult ;
3196   void *arg1 = (void *) 0 ;
3197   SUNLinearSolver arg2 = (SUNLinearSolver) 0 ;
3198   SUNMatrix arg3 = (SUNMatrix) 0 ;
3199   int result;
3200 
3201   arg1 = (void *)(farg1);
3202   arg2 = (SUNLinearSolver)(farg2);
3203   arg3 = (SUNMatrix)(farg3);
3204   result = (int)IDASetLinearSolver(arg1,arg2,arg3);
3205   fresult = (int)(result);
3206   return fresult;
3207 }
3208 
3209 
_wrap_FIDASetJacFn(void * farg1,IDALsJacFn farg2)3210 SWIGEXPORT int _wrap_FIDASetJacFn(void *farg1, IDALsJacFn farg2) {
3211   int fresult ;
3212   void *arg1 = (void *) 0 ;
3213   IDALsJacFn arg2 = (IDALsJacFn) 0 ;
3214   int result;
3215 
3216   arg1 = (void *)(farg1);
3217   arg2 = (IDALsJacFn)(farg2);
3218   result = (int)IDASetJacFn(arg1,arg2);
3219   fresult = (int)(result);
3220   return fresult;
3221 }
3222 
3223 
_wrap_FIDASetPreconditioner(void * farg1,IDALsPrecSetupFn farg2,IDALsPrecSolveFn farg3)3224 SWIGEXPORT int _wrap_FIDASetPreconditioner(void *farg1, IDALsPrecSetupFn farg2, IDALsPrecSolveFn farg3) {
3225   int fresult ;
3226   void *arg1 = (void *) 0 ;
3227   IDALsPrecSetupFn arg2 = (IDALsPrecSetupFn) 0 ;
3228   IDALsPrecSolveFn arg3 = (IDALsPrecSolveFn) 0 ;
3229   int result;
3230 
3231   arg1 = (void *)(farg1);
3232   arg2 = (IDALsPrecSetupFn)(farg2);
3233   arg3 = (IDALsPrecSolveFn)(farg3);
3234   result = (int)IDASetPreconditioner(arg1,arg2,arg3);
3235   fresult = (int)(result);
3236   return fresult;
3237 }
3238 
3239 
_wrap_FIDASetJacTimes(void * farg1,IDALsJacTimesSetupFn farg2,IDALsJacTimesVecFn farg3)3240 SWIGEXPORT int _wrap_FIDASetJacTimes(void *farg1, IDALsJacTimesSetupFn farg2, IDALsJacTimesVecFn farg3) {
3241   int fresult ;
3242   void *arg1 = (void *) 0 ;
3243   IDALsJacTimesSetupFn arg2 = (IDALsJacTimesSetupFn) 0 ;
3244   IDALsJacTimesVecFn arg3 = (IDALsJacTimesVecFn) 0 ;
3245   int result;
3246 
3247   arg1 = (void *)(farg1);
3248   arg2 = (IDALsJacTimesSetupFn)(farg2);
3249   arg3 = (IDALsJacTimesVecFn)(farg3);
3250   result = (int)IDASetJacTimes(arg1,arg2,arg3);
3251   fresult = (int)(result);
3252   return fresult;
3253 }
3254 
3255 
_wrap_FIDASetEpsLin(void * farg1,double const * farg2)3256 SWIGEXPORT int _wrap_FIDASetEpsLin(void *farg1, double const *farg2) {
3257   int fresult ;
3258   void *arg1 = (void *) 0 ;
3259   realtype arg2 ;
3260   int result;
3261 
3262   arg1 = (void *)(farg1);
3263   arg2 = (realtype)(*farg2);
3264   result = (int)IDASetEpsLin(arg1,arg2);
3265   fresult = (int)(result);
3266   return fresult;
3267 }
3268 
3269 
_wrap_FIDASetLSNormFactor(void * farg1,double const * farg2)3270 SWIGEXPORT int _wrap_FIDASetLSNormFactor(void *farg1, double const *farg2) {
3271   int fresult ;
3272   void *arg1 = (void *) 0 ;
3273   realtype arg2 ;
3274   int result;
3275 
3276   arg1 = (void *)(farg1);
3277   arg2 = (realtype)(*farg2);
3278   result = (int)IDASetLSNormFactor(arg1,arg2);
3279   fresult = (int)(result);
3280   return fresult;
3281 }
3282 
3283 
_wrap_FIDASetLinearSolutionScaling(void * farg1,int const * farg2)3284 SWIGEXPORT int _wrap_FIDASetLinearSolutionScaling(void *farg1, int const *farg2) {
3285   int fresult ;
3286   void *arg1 = (void *) 0 ;
3287   int arg2 ;
3288   int result;
3289 
3290   arg1 = (void *)(farg1);
3291   arg2 = (int)(*farg2);
3292   result = (int)IDASetLinearSolutionScaling(arg1,arg2);
3293   fresult = (int)(result);
3294   return fresult;
3295 }
3296 
3297 
_wrap_FIDASetIncrementFactor(void * farg1,double const * farg2)3298 SWIGEXPORT int _wrap_FIDASetIncrementFactor(void *farg1, double const *farg2) {
3299   int fresult ;
3300   void *arg1 = (void *) 0 ;
3301   realtype arg2 ;
3302   int result;
3303 
3304   arg1 = (void *)(farg1);
3305   arg2 = (realtype)(*farg2);
3306   result = (int)IDASetIncrementFactor(arg1,arg2);
3307   fresult = (int)(result);
3308   return fresult;
3309 }
3310 
3311 
_wrap_FIDAGetLinWorkSpace(void * farg1,long * farg2,long * farg3)3312 SWIGEXPORT int _wrap_FIDAGetLinWorkSpace(void *farg1, long *farg2, long *farg3) {
3313   int fresult ;
3314   void *arg1 = (void *) 0 ;
3315   long *arg2 = (long *) 0 ;
3316   long *arg3 = (long *) 0 ;
3317   int result;
3318 
3319   arg1 = (void *)(farg1);
3320   arg2 = (long *)(farg2);
3321   arg3 = (long *)(farg3);
3322   result = (int)IDAGetLinWorkSpace(arg1,arg2,arg3);
3323   fresult = (int)(result);
3324   return fresult;
3325 }
3326 
3327 
_wrap_FIDAGetNumJacEvals(void * farg1,long * farg2)3328 SWIGEXPORT int _wrap_FIDAGetNumJacEvals(void *farg1, long *farg2) {
3329   int fresult ;
3330   void *arg1 = (void *) 0 ;
3331   long *arg2 = (long *) 0 ;
3332   int result;
3333 
3334   arg1 = (void *)(farg1);
3335   arg2 = (long *)(farg2);
3336   result = (int)IDAGetNumJacEvals(arg1,arg2);
3337   fresult = (int)(result);
3338   return fresult;
3339 }
3340 
3341 
_wrap_FIDAGetNumPrecEvals(void * farg1,long * farg2)3342 SWIGEXPORT int _wrap_FIDAGetNumPrecEvals(void *farg1, long *farg2) {
3343   int fresult ;
3344   void *arg1 = (void *) 0 ;
3345   long *arg2 = (long *) 0 ;
3346   int result;
3347 
3348   arg1 = (void *)(farg1);
3349   arg2 = (long *)(farg2);
3350   result = (int)IDAGetNumPrecEvals(arg1,arg2);
3351   fresult = (int)(result);
3352   return fresult;
3353 }
3354 
3355 
_wrap_FIDAGetNumPrecSolves(void * farg1,long * farg2)3356 SWIGEXPORT int _wrap_FIDAGetNumPrecSolves(void *farg1, long *farg2) {
3357   int fresult ;
3358   void *arg1 = (void *) 0 ;
3359   long *arg2 = (long *) 0 ;
3360   int result;
3361 
3362   arg1 = (void *)(farg1);
3363   arg2 = (long *)(farg2);
3364   result = (int)IDAGetNumPrecSolves(arg1,arg2);
3365   fresult = (int)(result);
3366   return fresult;
3367 }
3368 
3369 
_wrap_FIDAGetNumLinIters(void * farg1,long * farg2)3370 SWIGEXPORT int _wrap_FIDAGetNumLinIters(void *farg1, long *farg2) {
3371   int fresult ;
3372   void *arg1 = (void *) 0 ;
3373   long *arg2 = (long *) 0 ;
3374   int result;
3375 
3376   arg1 = (void *)(farg1);
3377   arg2 = (long *)(farg2);
3378   result = (int)IDAGetNumLinIters(arg1,arg2);
3379   fresult = (int)(result);
3380   return fresult;
3381 }
3382 
3383 
_wrap_FIDAGetNumLinConvFails(void * farg1,long * farg2)3384 SWIGEXPORT int _wrap_FIDAGetNumLinConvFails(void *farg1, long *farg2) {
3385   int fresult ;
3386   void *arg1 = (void *) 0 ;
3387   long *arg2 = (long *) 0 ;
3388   int result;
3389 
3390   arg1 = (void *)(farg1);
3391   arg2 = (long *)(farg2);
3392   result = (int)IDAGetNumLinConvFails(arg1,arg2);
3393   fresult = (int)(result);
3394   return fresult;
3395 }
3396 
3397 
_wrap_FIDAGetNumJTSetupEvals(void * farg1,long * farg2)3398 SWIGEXPORT int _wrap_FIDAGetNumJTSetupEvals(void *farg1, long *farg2) {
3399   int fresult ;
3400   void *arg1 = (void *) 0 ;
3401   long *arg2 = (long *) 0 ;
3402   int result;
3403 
3404   arg1 = (void *)(farg1);
3405   arg2 = (long *)(farg2);
3406   result = (int)IDAGetNumJTSetupEvals(arg1,arg2);
3407   fresult = (int)(result);
3408   return fresult;
3409 }
3410 
3411 
_wrap_FIDAGetNumJtimesEvals(void * farg1,long * farg2)3412 SWIGEXPORT int _wrap_FIDAGetNumJtimesEvals(void *farg1, long *farg2) {
3413   int fresult ;
3414   void *arg1 = (void *) 0 ;
3415   long *arg2 = (long *) 0 ;
3416   int result;
3417 
3418   arg1 = (void *)(farg1);
3419   arg2 = (long *)(farg2);
3420   result = (int)IDAGetNumJtimesEvals(arg1,arg2);
3421   fresult = (int)(result);
3422   return fresult;
3423 }
3424 
3425 
_wrap_FIDAGetNumLinResEvals(void * farg1,long * farg2)3426 SWIGEXPORT int _wrap_FIDAGetNumLinResEvals(void *farg1, long *farg2) {
3427   int fresult ;
3428   void *arg1 = (void *) 0 ;
3429   long *arg2 = (long *) 0 ;
3430   int result;
3431 
3432   arg1 = (void *)(farg1);
3433   arg2 = (long *)(farg2);
3434   result = (int)IDAGetNumLinResEvals(arg1,arg2);
3435   fresult = (int)(result);
3436   return fresult;
3437 }
3438 
3439 
_wrap_FIDAGetLastLinFlag(void * farg1,long * farg2)3440 SWIGEXPORT int _wrap_FIDAGetLastLinFlag(void *farg1, long *farg2) {
3441   int fresult ;
3442   void *arg1 = (void *) 0 ;
3443   long *arg2 = (long *) 0 ;
3444   int result;
3445 
3446   arg1 = (void *)(farg1);
3447   arg2 = (long *)(farg2);
3448   result = (int)IDAGetLastLinFlag(arg1,arg2);
3449   fresult = (int)(result);
3450   return fresult;
3451 }
3452 
3453 
_wrap_FIDAGetLinReturnFlagName(long const * farg1)3454 SWIGEXPORT SwigArrayWrapper _wrap_FIDAGetLinReturnFlagName(long const *farg1) {
3455   SwigArrayWrapper fresult ;
3456   long arg1 ;
3457   char *result = 0 ;
3458 
3459   arg1 = (long)(*farg1);
3460   result = (char *)IDAGetLinReturnFlagName(arg1);
3461   fresult.size = strlen((const char*)(result));
3462   fresult.data = (char *)(result);
3463   return fresult;
3464 }
3465 
3466 
_wrap_FIDASetLinearSolverB(void * farg1,int const * farg2,SUNLinearSolver farg3,SUNMatrix farg4)3467 SWIGEXPORT int _wrap_FIDASetLinearSolverB(void *farg1, int const *farg2, SUNLinearSolver farg3, SUNMatrix farg4) {
3468   int fresult ;
3469   void *arg1 = (void *) 0 ;
3470   int arg2 ;
3471   SUNLinearSolver arg3 = (SUNLinearSolver) 0 ;
3472   SUNMatrix arg4 = (SUNMatrix) 0 ;
3473   int result;
3474 
3475   arg1 = (void *)(farg1);
3476   arg2 = (int)(*farg2);
3477   arg3 = (SUNLinearSolver)(farg3);
3478   arg4 = (SUNMatrix)(farg4);
3479   result = (int)IDASetLinearSolverB(arg1,arg2,arg3,arg4);
3480   fresult = (int)(result);
3481   return fresult;
3482 }
3483 
3484 
_wrap_FIDASetJacFnB(void * farg1,int const * farg2,IDALsJacFnB farg3)3485 SWIGEXPORT int _wrap_FIDASetJacFnB(void *farg1, int const *farg2, IDALsJacFnB farg3) {
3486   int fresult ;
3487   void *arg1 = (void *) 0 ;
3488   int arg2 ;
3489   IDALsJacFnB arg3 = (IDALsJacFnB) 0 ;
3490   int result;
3491 
3492   arg1 = (void *)(farg1);
3493   arg2 = (int)(*farg2);
3494   arg3 = (IDALsJacFnB)(farg3);
3495   result = (int)IDASetJacFnB(arg1,arg2,arg3);
3496   fresult = (int)(result);
3497   return fresult;
3498 }
3499 
3500 
_wrap_FIDASetJacFnBS(void * farg1,int const * farg2,IDALsJacFnBS farg3)3501 SWIGEXPORT int _wrap_FIDASetJacFnBS(void *farg1, int const *farg2, IDALsJacFnBS farg3) {
3502   int fresult ;
3503   void *arg1 = (void *) 0 ;
3504   int arg2 ;
3505   IDALsJacFnBS arg3 = (IDALsJacFnBS) 0 ;
3506   int result;
3507 
3508   arg1 = (void *)(farg1);
3509   arg2 = (int)(*farg2);
3510   arg3 = (IDALsJacFnBS)(farg3);
3511   result = (int)IDASetJacFnBS(arg1,arg2,arg3);
3512   fresult = (int)(result);
3513   return fresult;
3514 }
3515 
3516 
_wrap_FIDASetEpsLinB(void * farg1,int const * farg2,double const * farg3)3517 SWIGEXPORT int _wrap_FIDASetEpsLinB(void *farg1, int const *farg2, double const *farg3) {
3518   int fresult ;
3519   void *arg1 = (void *) 0 ;
3520   int arg2 ;
3521   realtype arg3 ;
3522   int result;
3523 
3524   arg1 = (void *)(farg1);
3525   arg2 = (int)(*farg2);
3526   arg3 = (realtype)(*farg3);
3527   result = (int)IDASetEpsLinB(arg1,arg2,arg3);
3528   fresult = (int)(result);
3529   return fresult;
3530 }
3531 
3532 
_wrap_FIDASetLSNormFactorB(void * farg1,int const * farg2,double const * farg3)3533 SWIGEXPORT int _wrap_FIDASetLSNormFactorB(void *farg1, int const *farg2, double const *farg3) {
3534   int fresult ;
3535   void *arg1 = (void *) 0 ;
3536   int arg2 ;
3537   realtype arg3 ;
3538   int result;
3539 
3540   arg1 = (void *)(farg1);
3541   arg2 = (int)(*farg2);
3542   arg3 = (realtype)(*farg3);
3543   result = (int)IDASetLSNormFactorB(arg1,arg2,arg3);
3544   fresult = (int)(result);
3545   return fresult;
3546 }
3547 
3548 
_wrap_FIDASetLinearSolutionScalingB(void * farg1,int const * farg2,int const * farg3)3549 SWIGEXPORT int _wrap_FIDASetLinearSolutionScalingB(void *farg1, int const *farg2, int const *farg3) {
3550   int fresult ;
3551   void *arg1 = (void *) 0 ;
3552   int arg2 ;
3553   int arg3 ;
3554   int result;
3555 
3556   arg1 = (void *)(farg1);
3557   arg2 = (int)(*farg2);
3558   arg3 = (int)(*farg3);
3559   result = (int)IDASetLinearSolutionScalingB(arg1,arg2,arg3);
3560   fresult = (int)(result);
3561   return fresult;
3562 }
3563 
3564 
_wrap_FIDASetIncrementFactorB(void * farg1,int const * farg2,double const * farg3)3565 SWIGEXPORT int _wrap_FIDASetIncrementFactorB(void *farg1, int const *farg2, double const *farg3) {
3566   int fresult ;
3567   void *arg1 = (void *) 0 ;
3568   int arg2 ;
3569   realtype arg3 ;
3570   int result;
3571 
3572   arg1 = (void *)(farg1);
3573   arg2 = (int)(*farg2);
3574   arg3 = (realtype)(*farg3);
3575   result = (int)IDASetIncrementFactorB(arg1,arg2,arg3);
3576   fresult = (int)(result);
3577   return fresult;
3578 }
3579 
3580 
_wrap_FIDASetPreconditionerB(void * farg1,int const * farg2,IDALsPrecSetupFnB farg3,IDALsPrecSolveFnB farg4)3581 SWIGEXPORT int _wrap_FIDASetPreconditionerB(void *farg1, int const *farg2, IDALsPrecSetupFnB farg3, IDALsPrecSolveFnB farg4) {
3582   int fresult ;
3583   void *arg1 = (void *) 0 ;
3584   int arg2 ;
3585   IDALsPrecSetupFnB arg3 = (IDALsPrecSetupFnB) 0 ;
3586   IDALsPrecSolveFnB arg4 = (IDALsPrecSolveFnB) 0 ;
3587   int result;
3588 
3589   arg1 = (void *)(farg1);
3590   arg2 = (int)(*farg2);
3591   arg3 = (IDALsPrecSetupFnB)(farg3);
3592   arg4 = (IDALsPrecSolveFnB)(farg4);
3593   result = (int)IDASetPreconditionerB(arg1,arg2,arg3,arg4);
3594   fresult = (int)(result);
3595   return fresult;
3596 }
3597 
3598 
_wrap_FIDASetPreconditionerBS(void * farg1,int const * farg2,IDALsPrecSetupFnBS farg3,IDALsPrecSolveFnBS farg4)3599 SWIGEXPORT int _wrap_FIDASetPreconditionerBS(void *farg1, int const *farg2, IDALsPrecSetupFnBS farg3, IDALsPrecSolveFnBS farg4) {
3600   int fresult ;
3601   void *arg1 = (void *) 0 ;
3602   int arg2 ;
3603   IDALsPrecSetupFnBS arg3 = (IDALsPrecSetupFnBS) 0 ;
3604   IDALsPrecSolveFnBS arg4 = (IDALsPrecSolveFnBS) 0 ;
3605   int result;
3606 
3607   arg1 = (void *)(farg1);
3608   arg2 = (int)(*farg2);
3609   arg3 = (IDALsPrecSetupFnBS)(farg3);
3610   arg4 = (IDALsPrecSolveFnBS)(farg4);
3611   result = (int)IDASetPreconditionerBS(arg1,arg2,arg3,arg4);
3612   fresult = (int)(result);
3613   return fresult;
3614 }
3615 
3616 
_wrap_FIDASetJacTimesB(void * farg1,int const * farg2,IDALsJacTimesSetupFnB farg3,IDALsJacTimesVecFnB farg4)3617 SWIGEXPORT int _wrap_FIDASetJacTimesB(void *farg1, int const *farg2, IDALsJacTimesSetupFnB farg3, IDALsJacTimesVecFnB farg4) {
3618   int fresult ;
3619   void *arg1 = (void *) 0 ;
3620   int arg2 ;
3621   IDALsJacTimesSetupFnB arg3 = (IDALsJacTimesSetupFnB) 0 ;
3622   IDALsJacTimesVecFnB arg4 = (IDALsJacTimesVecFnB) 0 ;
3623   int result;
3624 
3625   arg1 = (void *)(farg1);
3626   arg2 = (int)(*farg2);
3627   arg3 = (IDALsJacTimesSetupFnB)(farg3);
3628   arg4 = (IDALsJacTimesVecFnB)(farg4);
3629   result = (int)IDASetJacTimesB(arg1,arg2,arg3,arg4);
3630   fresult = (int)(result);
3631   return fresult;
3632 }
3633 
3634 
_wrap_FIDASetJacTimesBS(void * farg1,int const * farg2,IDALsJacTimesSetupFnBS farg3,IDALsJacTimesVecFnBS farg4)3635 SWIGEXPORT int _wrap_FIDASetJacTimesBS(void *farg1, int const *farg2, IDALsJacTimesSetupFnBS farg3, IDALsJacTimesVecFnBS farg4) {
3636   int fresult ;
3637   void *arg1 = (void *) 0 ;
3638   int arg2 ;
3639   IDALsJacTimesSetupFnBS arg3 = (IDALsJacTimesSetupFnBS) 0 ;
3640   IDALsJacTimesVecFnBS arg4 = (IDALsJacTimesVecFnBS) 0 ;
3641   int result;
3642 
3643   arg1 = (void *)(farg1);
3644   arg2 = (int)(*farg2);
3645   arg3 = (IDALsJacTimesSetupFnBS)(farg3);
3646   arg4 = (IDALsJacTimesVecFnBS)(farg4);
3647   result = (int)IDASetJacTimesBS(arg1,arg2,arg3,arg4);
3648   fresult = (int)(result);
3649   return fresult;
3650 }
3651 
3652 
3653 
3654