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-2020, 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  { printf("In " DECL ": " MSG); assert(0); RETURNNULL; }
179 
180 
181 #include <stdio.h>
182 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
183 # ifndef snprintf
184 #  define snprintf _snprintf
185 # endif
186 #endif
187 
188 
189 /* Support for the `contract` feature.
190  *
191  * Note that RETURNNULL is first because it's inserted via a 'Replaceall' in
192  * the fortran.cxx file.
193  */
194 #define SWIG_contract_assert(RETURNNULL, EXPR, MSG) \
195  if (!(EXPR)) { SWIG_exception_impl("$decl", SWIG_ValueError, MSG, RETURNNULL); }
196 
197 
198 #define SWIGVERSION 0x040000
199 #define SWIG_VERSION SWIGVERSION
200 
201 
202 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
203 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
204 
205 
206 #include "cvode/cvode.h"
207 #include "cvode/cvode_bandpre.h"
208 #include "cvode/cvode_bbdpre.h"
209 #include "cvode/cvode_diag.h"
210 #include "cvode/cvode_ls.h"
211 #include "cvode/cvode_proj.h"
212 
213 
214 #include <stdlib.h>
215 #ifdef _MSC_VER
216 # ifndef strtoull
217 #  define strtoull _strtoui64
218 # endif
219 # ifndef strtoll
220 #  define strtoll _strtoi64
221 # endif
222 #endif
223 
224 
225 typedef struct {
226     void* data;
227     size_t size;
228 } SwigArrayWrapper;
229 
230 
SwigArrayWrapper_uninitialized()231 SWIGINTERN SwigArrayWrapper SwigArrayWrapper_uninitialized() {
232   SwigArrayWrapper result;
233   result.data = NULL;
234   result.size = 0;
235   return result;
236 }
237 
238 
239 #include <string.h>
240 
_wrap_FCVodeCreate(int const * farg1)241 SWIGEXPORT void * _wrap_FCVodeCreate(int const *farg1) {
242   void * fresult ;
243   int arg1 ;
244   void *result = 0 ;
245 
246   arg1 = (int)(*farg1);
247   result = (void *)CVodeCreate(arg1);
248   fresult = result;
249   return fresult;
250 }
251 
252 
_wrap_FCVodeInit(void * farg1,CVRhsFn farg2,double const * farg3,N_Vector farg4)253 SWIGEXPORT int _wrap_FCVodeInit(void *farg1, CVRhsFn farg2, double const *farg3, N_Vector farg4) {
254   int fresult ;
255   void *arg1 = (void *) 0 ;
256   CVRhsFn arg2 = (CVRhsFn) 0 ;
257   realtype arg3 ;
258   N_Vector arg4 = (N_Vector) 0 ;
259   int result;
260 
261   arg1 = (void *)(farg1);
262   arg2 = (CVRhsFn)(farg2);
263   arg3 = (realtype)(*farg3);
264   arg4 = (N_Vector)(farg4);
265   result = (int)CVodeInit(arg1,arg2,arg3,arg4);
266   fresult = (int)(result);
267   return fresult;
268 }
269 
270 
_wrap_FCVodeReInit(void * farg1,double const * farg2,N_Vector farg3)271 SWIGEXPORT int _wrap_FCVodeReInit(void *farg1, double const *farg2, N_Vector farg3) {
272   int fresult ;
273   void *arg1 = (void *) 0 ;
274   realtype arg2 ;
275   N_Vector arg3 = (N_Vector) 0 ;
276   int result;
277 
278   arg1 = (void *)(farg1);
279   arg2 = (realtype)(*farg2);
280   arg3 = (N_Vector)(farg3);
281   result = (int)CVodeReInit(arg1,arg2,arg3);
282   fresult = (int)(result);
283   return fresult;
284 }
285 
286 
_wrap_FCVodeSStolerances(void * farg1,double const * farg2,double const * farg3)287 SWIGEXPORT int _wrap_FCVodeSStolerances(void *farg1, double const *farg2, double const *farg3) {
288   int fresult ;
289   void *arg1 = (void *) 0 ;
290   realtype arg2 ;
291   realtype arg3 ;
292   int result;
293 
294   arg1 = (void *)(farg1);
295   arg2 = (realtype)(*farg2);
296   arg3 = (realtype)(*farg3);
297   result = (int)CVodeSStolerances(arg1,arg2,arg3);
298   fresult = (int)(result);
299   return fresult;
300 }
301 
302 
_wrap_FCVodeSVtolerances(void * farg1,double const * farg2,N_Vector farg3)303 SWIGEXPORT int _wrap_FCVodeSVtolerances(void *farg1, double const *farg2, N_Vector farg3) {
304   int fresult ;
305   void *arg1 = (void *) 0 ;
306   realtype arg2 ;
307   N_Vector arg3 = (N_Vector) 0 ;
308   int result;
309 
310   arg1 = (void *)(farg1);
311   arg2 = (realtype)(*farg2);
312   arg3 = (N_Vector)(farg3);
313   result = (int)CVodeSVtolerances(arg1,arg2,arg3);
314   fresult = (int)(result);
315   return fresult;
316 }
317 
318 
_wrap_FCVodeWFtolerances(void * farg1,CVEwtFn farg2)319 SWIGEXPORT int _wrap_FCVodeWFtolerances(void *farg1, CVEwtFn farg2) {
320   int fresult ;
321   void *arg1 = (void *) 0 ;
322   CVEwtFn arg2 = (CVEwtFn) 0 ;
323   int result;
324 
325   arg1 = (void *)(farg1);
326   arg2 = (CVEwtFn)(farg2);
327   result = (int)CVodeWFtolerances(arg1,arg2);
328   fresult = (int)(result);
329   return fresult;
330 }
331 
332 
_wrap_FCVodeSetErrHandlerFn(void * farg1,CVErrHandlerFn farg2,void * farg3)333 SWIGEXPORT int _wrap_FCVodeSetErrHandlerFn(void *farg1, CVErrHandlerFn farg2, void *farg3) {
334   int fresult ;
335   void *arg1 = (void *) 0 ;
336   CVErrHandlerFn arg2 = (CVErrHandlerFn) 0 ;
337   void *arg3 = (void *) 0 ;
338   int result;
339 
340   arg1 = (void *)(farg1);
341   arg2 = (CVErrHandlerFn)(farg2);
342   arg3 = (void *)(farg3);
343   result = (int)CVodeSetErrHandlerFn(arg1,arg2,arg3);
344   fresult = (int)(result);
345   return fresult;
346 }
347 
348 
_wrap_FCVodeSetErrFile(void * farg1,void * farg2)349 SWIGEXPORT int _wrap_FCVodeSetErrFile(void *farg1, void *farg2) {
350   int fresult ;
351   void *arg1 = (void *) 0 ;
352   FILE *arg2 = (FILE *) 0 ;
353   int result;
354 
355   arg1 = (void *)(farg1);
356   arg2 = (FILE *)(farg2);
357   result = (int)CVodeSetErrFile(arg1,arg2);
358   fresult = (int)(result);
359   return fresult;
360 }
361 
362 
_wrap_FCVodeSetUserData(void * farg1,void * farg2)363 SWIGEXPORT int _wrap_FCVodeSetUserData(void *farg1, void *farg2) {
364   int fresult ;
365   void *arg1 = (void *) 0 ;
366   void *arg2 = (void *) 0 ;
367   int result;
368 
369   arg1 = (void *)(farg1);
370   arg2 = (void *)(farg2);
371   result = (int)CVodeSetUserData(arg1,arg2);
372   fresult = (int)(result);
373   return fresult;
374 }
375 
376 
_wrap_FCVodeSetMonitorFn(void * farg1,CVMonitorFn farg2)377 SWIGEXPORT int _wrap_FCVodeSetMonitorFn(void *farg1, CVMonitorFn farg2) {
378   int fresult ;
379   void *arg1 = (void *) 0 ;
380   CVMonitorFn arg2 = (CVMonitorFn) 0 ;
381   int result;
382 
383   arg1 = (void *)(farg1);
384   arg2 = (CVMonitorFn)(farg2);
385   result = (int)CVodeSetMonitorFn(arg1,arg2);
386   fresult = (int)(result);
387   return fresult;
388 }
389 
390 
_wrap_FCVodeSetMonitorFrequency(void * farg1,long const * farg2)391 SWIGEXPORT int _wrap_FCVodeSetMonitorFrequency(void *farg1, long const *farg2) {
392   int fresult ;
393   void *arg1 = (void *) 0 ;
394   long arg2 ;
395   int result;
396 
397   arg1 = (void *)(farg1);
398   arg2 = (long)(*farg2);
399   result = (int)CVodeSetMonitorFrequency(arg1,arg2);
400   fresult = (int)(result);
401   return fresult;
402 }
403 
404 
_wrap_FCVodeSetMaxOrd(void * farg1,int const * farg2)405 SWIGEXPORT int _wrap_FCVodeSetMaxOrd(void *farg1, int const *farg2) {
406   int fresult ;
407   void *arg1 = (void *) 0 ;
408   int arg2 ;
409   int result;
410 
411   arg1 = (void *)(farg1);
412   arg2 = (int)(*farg2);
413   result = (int)CVodeSetMaxOrd(arg1,arg2);
414   fresult = (int)(result);
415   return fresult;
416 }
417 
418 
_wrap_FCVodeSetMaxNumSteps(void * farg1,long const * farg2)419 SWIGEXPORT int _wrap_FCVodeSetMaxNumSteps(void *farg1, long const *farg2) {
420   int fresult ;
421   void *arg1 = (void *) 0 ;
422   long arg2 ;
423   int result;
424 
425   arg1 = (void *)(farg1);
426   arg2 = (long)(*farg2);
427   result = (int)CVodeSetMaxNumSteps(arg1,arg2);
428   fresult = (int)(result);
429   return fresult;
430 }
431 
432 
_wrap_FCVodeSetMaxHnilWarns(void * farg1,int const * farg2)433 SWIGEXPORT int _wrap_FCVodeSetMaxHnilWarns(void *farg1, int const *farg2) {
434   int fresult ;
435   void *arg1 = (void *) 0 ;
436   int arg2 ;
437   int result;
438 
439   arg1 = (void *)(farg1);
440   arg2 = (int)(*farg2);
441   result = (int)CVodeSetMaxHnilWarns(arg1,arg2);
442   fresult = (int)(result);
443   return fresult;
444 }
445 
446 
_wrap_FCVodeSetStabLimDet(void * farg1,int const * farg2)447 SWIGEXPORT int _wrap_FCVodeSetStabLimDet(void *farg1, int const *farg2) {
448   int fresult ;
449   void *arg1 = (void *) 0 ;
450   int arg2 ;
451   int result;
452 
453   arg1 = (void *)(farg1);
454   arg2 = (int)(*farg2);
455   result = (int)CVodeSetStabLimDet(arg1,arg2);
456   fresult = (int)(result);
457   return fresult;
458 }
459 
460 
_wrap_FCVodeSetInitStep(void * farg1,double const * farg2)461 SWIGEXPORT int _wrap_FCVodeSetInitStep(void *farg1, double const *farg2) {
462   int fresult ;
463   void *arg1 = (void *) 0 ;
464   realtype arg2 ;
465   int result;
466 
467   arg1 = (void *)(farg1);
468   arg2 = (realtype)(*farg2);
469   result = (int)CVodeSetInitStep(arg1,arg2);
470   fresult = (int)(result);
471   return fresult;
472 }
473 
474 
_wrap_FCVodeSetMinStep(void * farg1,double const * farg2)475 SWIGEXPORT int _wrap_FCVodeSetMinStep(void *farg1, double const *farg2) {
476   int fresult ;
477   void *arg1 = (void *) 0 ;
478   realtype arg2 ;
479   int result;
480 
481   arg1 = (void *)(farg1);
482   arg2 = (realtype)(*farg2);
483   result = (int)CVodeSetMinStep(arg1,arg2);
484   fresult = (int)(result);
485   return fresult;
486 }
487 
488 
_wrap_FCVodeSetMaxStep(void * farg1,double const * farg2)489 SWIGEXPORT int _wrap_FCVodeSetMaxStep(void *farg1, double const *farg2) {
490   int fresult ;
491   void *arg1 = (void *) 0 ;
492   realtype arg2 ;
493   int result;
494 
495   arg1 = (void *)(farg1);
496   arg2 = (realtype)(*farg2);
497   result = (int)CVodeSetMaxStep(arg1,arg2);
498   fresult = (int)(result);
499   return fresult;
500 }
501 
502 
_wrap_FCVodeSetStopTime(void * farg1,double const * farg2)503 SWIGEXPORT int _wrap_FCVodeSetStopTime(void *farg1, double const *farg2) {
504   int fresult ;
505   void *arg1 = (void *) 0 ;
506   realtype arg2 ;
507   int result;
508 
509   arg1 = (void *)(farg1);
510   arg2 = (realtype)(*farg2);
511   result = (int)CVodeSetStopTime(arg1,arg2);
512   fresult = (int)(result);
513   return fresult;
514 }
515 
516 
_wrap_FCVodeSetMaxErrTestFails(void * farg1,int const * farg2)517 SWIGEXPORT int _wrap_FCVodeSetMaxErrTestFails(void *farg1, int const *farg2) {
518   int fresult ;
519   void *arg1 = (void *) 0 ;
520   int arg2 ;
521   int result;
522 
523   arg1 = (void *)(farg1);
524   arg2 = (int)(*farg2);
525   result = (int)CVodeSetMaxErrTestFails(arg1,arg2);
526   fresult = (int)(result);
527   return fresult;
528 }
529 
530 
_wrap_FCVodeSetMaxNonlinIters(void * farg1,int const * farg2)531 SWIGEXPORT int _wrap_FCVodeSetMaxNonlinIters(void *farg1, int const *farg2) {
532   int fresult ;
533   void *arg1 = (void *) 0 ;
534   int arg2 ;
535   int result;
536 
537   arg1 = (void *)(farg1);
538   arg2 = (int)(*farg2);
539   result = (int)CVodeSetMaxNonlinIters(arg1,arg2);
540   fresult = (int)(result);
541   return fresult;
542 }
543 
544 
_wrap_FCVodeSetMaxConvFails(void * farg1,int const * farg2)545 SWIGEXPORT int _wrap_FCVodeSetMaxConvFails(void *farg1, int const *farg2) {
546   int fresult ;
547   void *arg1 = (void *) 0 ;
548   int arg2 ;
549   int result;
550 
551   arg1 = (void *)(farg1);
552   arg2 = (int)(*farg2);
553   result = (int)CVodeSetMaxConvFails(arg1,arg2);
554   fresult = (int)(result);
555   return fresult;
556 }
557 
558 
_wrap_FCVodeSetNonlinConvCoef(void * farg1,double const * farg2)559 SWIGEXPORT int _wrap_FCVodeSetNonlinConvCoef(void *farg1, double const *farg2) {
560   int fresult ;
561   void *arg1 = (void *) 0 ;
562   realtype arg2 ;
563   int result;
564 
565   arg1 = (void *)(farg1);
566   arg2 = (realtype)(*farg2);
567   result = (int)CVodeSetNonlinConvCoef(arg1,arg2);
568   fresult = (int)(result);
569   return fresult;
570 }
571 
572 
_wrap_FCVodeSetConstraints(void * farg1,N_Vector farg2)573 SWIGEXPORT int _wrap_FCVodeSetConstraints(void *farg1, N_Vector farg2) {
574   int fresult ;
575   void *arg1 = (void *) 0 ;
576   N_Vector arg2 = (N_Vector) 0 ;
577   int result;
578 
579   arg1 = (void *)(farg1);
580   arg2 = (N_Vector)(farg2);
581   result = (int)CVodeSetConstraints(arg1,arg2);
582   fresult = (int)(result);
583   return fresult;
584 }
585 
586 
_wrap_FCVodeSetNonlinearSolver(void * farg1,SUNNonlinearSolver farg2)587 SWIGEXPORT int _wrap_FCVodeSetNonlinearSolver(void *farg1, SUNNonlinearSolver farg2) {
588   int fresult ;
589   void *arg1 = (void *) 0 ;
590   SUNNonlinearSolver arg2 = (SUNNonlinearSolver) 0 ;
591   int result;
592 
593   arg1 = (void *)(farg1);
594   arg2 = (SUNNonlinearSolver)(farg2);
595   result = (int)CVodeSetNonlinearSolver(arg1,arg2);
596   fresult = (int)(result);
597   return fresult;
598 }
599 
600 
_wrap_FCVodeSetUseIntegratorFusedKernels(void * farg1,int const * farg2)601 SWIGEXPORT int _wrap_FCVodeSetUseIntegratorFusedKernels(void *farg1, int const *farg2) {
602   int fresult ;
603   void *arg1 = (void *) 0 ;
604   int arg2 ;
605   int result;
606 
607   arg1 = (void *)(farg1);
608   arg2 = (int)(*farg2);
609   result = (int)CVodeSetUseIntegratorFusedKernels(arg1,arg2);
610   fresult = (int)(result);
611   return fresult;
612 }
613 
614 
_wrap_FCVodeRootInit(void * farg1,int const * farg2,CVRootFn farg3)615 SWIGEXPORT int _wrap_FCVodeRootInit(void *farg1, int const *farg2, CVRootFn farg3) {
616   int fresult ;
617   void *arg1 = (void *) 0 ;
618   int arg2 ;
619   CVRootFn arg3 = (CVRootFn) 0 ;
620   int result;
621 
622   arg1 = (void *)(farg1);
623   arg2 = (int)(*farg2);
624   arg3 = (CVRootFn)(farg3);
625   result = (int)CVodeRootInit(arg1,arg2,arg3);
626   fresult = (int)(result);
627   return fresult;
628 }
629 
630 
_wrap_FCVodeSetRootDirection(void * farg1,int * farg2)631 SWIGEXPORT int _wrap_FCVodeSetRootDirection(void *farg1, int *farg2) {
632   int fresult ;
633   void *arg1 = (void *) 0 ;
634   int *arg2 = (int *) 0 ;
635   int result;
636 
637   arg1 = (void *)(farg1);
638   arg2 = (int *)(farg2);
639   result = (int)CVodeSetRootDirection(arg1,arg2);
640   fresult = (int)(result);
641   return fresult;
642 }
643 
644 
_wrap_FCVodeSetNoInactiveRootWarn(void * farg1)645 SWIGEXPORT int _wrap_FCVodeSetNoInactiveRootWarn(void *farg1) {
646   int fresult ;
647   void *arg1 = (void *) 0 ;
648   int result;
649 
650   arg1 = (void *)(farg1);
651   result = (int)CVodeSetNoInactiveRootWarn(arg1);
652   fresult = (int)(result);
653   return fresult;
654 }
655 
656 
_wrap_FCVode(void * farg1,double const * farg2,N_Vector farg3,double * farg4,int const * farg5)657 SWIGEXPORT int _wrap_FCVode(void *farg1, double const *farg2, N_Vector farg3, double *farg4, int const *farg5) {
658   int fresult ;
659   void *arg1 = (void *) 0 ;
660   realtype arg2 ;
661   N_Vector arg3 = (N_Vector) 0 ;
662   realtype *arg4 = (realtype *) 0 ;
663   int arg5 ;
664   int result;
665 
666   arg1 = (void *)(farg1);
667   arg2 = (realtype)(*farg2);
668   arg3 = (N_Vector)(farg3);
669   arg4 = (realtype *)(farg4);
670   arg5 = (int)(*farg5);
671   result = (int)CVode(arg1,arg2,arg3,arg4,arg5);
672   fresult = (int)(result);
673   return fresult;
674 }
675 
676 
_wrap_FCVodeGetDky(void * farg1,double const * farg2,int const * farg3,N_Vector farg4)677 SWIGEXPORT int _wrap_FCVodeGetDky(void *farg1, double const *farg2, int const *farg3, N_Vector farg4) {
678   int fresult ;
679   void *arg1 = (void *) 0 ;
680   realtype arg2 ;
681   int arg3 ;
682   N_Vector arg4 = (N_Vector) 0 ;
683   int result;
684 
685   arg1 = (void *)(farg1);
686   arg2 = (realtype)(*farg2);
687   arg3 = (int)(*farg3);
688   arg4 = (N_Vector)(farg4);
689   result = (int)CVodeGetDky(arg1,arg2,arg3,arg4);
690   fresult = (int)(result);
691   return fresult;
692 }
693 
694 
_wrap_FCVodeGetWorkSpace(void * farg1,long * farg2,long * farg3)695 SWIGEXPORT int _wrap_FCVodeGetWorkSpace(void *farg1, long *farg2, long *farg3) {
696   int fresult ;
697   void *arg1 = (void *) 0 ;
698   long *arg2 = (long *) 0 ;
699   long *arg3 = (long *) 0 ;
700   int result;
701 
702   arg1 = (void *)(farg1);
703   arg2 = (long *)(farg2);
704   arg3 = (long *)(farg3);
705   result = (int)CVodeGetWorkSpace(arg1,arg2,arg3);
706   fresult = (int)(result);
707   return fresult;
708 }
709 
710 
_wrap_FCVodeGetNumSteps(void * farg1,long * farg2)711 SWIGEXPORT int _wrap_FCVodeGetNumSteps(void *farg1, long *farg2) {
712   int fresult ;
713   void *arg1 = (void *) 0 ;
714   long *arg2 = (long *) 0 ;
715   int result;
716 
717   arg1 = (void *)(farg1);
718   arg2 = (long *)(farg2);
719   result = (int)CVodeGetNumSteps(arg1,arg2);
720   fresult = (int)(result);
721   return fresult;
722 }
723 
724 
_wrap_FCVodeGetNumRhsEvals(void * farg1,long * farg2)725 SWIGEXPORT int _wrap_FCVodeGetNumRhsEvals(void *farg1, long *farg2) {
726   int fresult ;
727   void *arg1 = (void *) 0 ;
728   long *arg2 = (long *) 0 ;
729   int result;
730 
731   arg1 = (void *)(farg1);
732   arg2 = (long *)(farg2);
733   result = (int)CVodeGetNumRhsEvals(arg1,arg2);
734   fresult = (int)(result);
735   return fresult;
736 }
737 
738 
_wrap_FCVodeGetNumLinSolvSetups(void * farg1,long * farg2)739 SWIGEXPORT int _wrap_FCVodeGetNumLinSolvSetups(void *farg1, long *farg2) {
740   int fresult ;
741   void *arg1 = (void *) 0 ;
742   long *arg2 = (long *) 0 ;
743   int result;
744 
745   arg1 = (void *)(farg1);
746   arg2 = (long *)(farg2);
747   result = (int)CVodeGetNumLinSolvSetups(arg1,arg2);
748   fresult = (int)(result);
749   return fresult;
750 }
751 
752 
_wrap_FCVodeGetNumErrTestFails(void * farg1,long * farg2)753 SWIGEXPORT int _wrap_FCVodeGetNumErrTestFails(void *farg1, long *farg2) {
754   int fresult ;
755   void *arg1 = (void *) 0 ;
756   long *arg2 = (long *) 0 ;
757   int result;
758 
759   arg1 = (void *)(farg1);
760   arg2 = (long *)(farg2);
761   result = (int)CVodeGetNumErrTestFails(arg1,arg2);
762   fresult = (int)(result);
763   return fresult;
764 }
765 
766 
_wrap_FCVodeGetLastOrder(void * farg1,int * farg2)767 SWIGEXPORT int _wrap_FCVodeGetLastOrder(void *farg1, int *farg2) {
768   int fresult ;
769   void *arg1 = (void *) 0 ;
770   int *arg2 = (int *) 0 ;
771   int result;
772 
773   arg1 = (void *)(farg1);
774   arg2 = (int *)(farg2);
775   result = (int)CVodeGetLastOrder(arg1,arg2);
776   fresult = (int)(result);
777   return fresult;
778 }
779 
780 
_wrap_FCVodeGetCurrentOrder(void * farg1,int * farg2)781 SWIGEXPORT int _wrap_FCVodeGetCurrentOrder(void *farg1, int *farg2) {
782   int fresult ;
783   void *arg1 = (void *) 0 ;
784   int *arg2 = (int *) 0 ;
785   int result;
786 
787   arg1 = (void *)(farg1);
788   arg2 = (int *)(farg2);
789   result = (int)CVodeGetCurrentOrder(arg1,arg2);
790   fresult = (int)(result);
791   return fresult;
792 }
793 
794 
_wrap_FCVodeGetCurrentGamma(void * farg1,double * farg2)795 SWIGEXPORT int _wrap_FCVodeGetCurrentGamma(void *farg1, double *farg2) {
796   int fresult ;
797   void *arg1 = (void *) 0 ;
798   realtype *arg2 = (realtype *) 0 ;
799   int result;
800 
801   arg1 = (void *)(farg1);
802   arg2 = (realtype *)(farg2);
803   result = (int)CVodeGetCurrentGamma(arg1,arg2);
804   fresult = (int)(result);
805   return fresult;
806 }
807 
808 
_wrap_FCVodeGetNumStabLimOrderReds(void * farg1,long * farg2)809 SWIGEXPORT int _wrap_FCVodeGetNumStabLimOrderReds(void *farg1, long *farg2) {
810   int fresult ;
811   void *arg1 = (void *) 0 ;
812   long *arg2 = (long *) 0 ;
813   int result;
814 
815   arg1 = (void *)(farg1);
816   arg2 = (long *)(farg2);
817   result = (int)CVodeGetNumStabLimOrderReds(arg1,arg2);
818   fresult = (int)(result);
819   return fresult;
820 }
821 
822 
_wrap_FCVodeGetActualInitStep(void * farg1,double * farg2)823 SWIGEXPORT int _wrap_FCVodeGetActualInitStep(void *farg1, double *farg2) {
824   int fresult ;
825   void *arg1 = (void *) 0 ;
826   realtype *arg2 = (realtype *) 0 ;
827   int result;
828 
829   arg1 = (void *)(farg1);
830   arg2 = (realtype *)(farg2);
831   result = (int)CVodeGetActualInitStep(arg1,arg2);
832   fresult = (int)(result);
833   return fresult;
834 }
835 
836 
_wrap_FCVodeGetLastStep(void * farg1,double * farg2)837 SWIGEXPORT int _wrap_FCVodeGetLastStep(void *farg1, double *farg2) {
838   int fresult ;
839   void *arg1 = (void *) 0 ;
840   realtype *arg2 = (realtype *) 0 ;
841   int result;
842 
843   arg1 = (void *)(farg1);
844   arg2 = (realtype *)(farg2);
845   result = (int)CVodeGetLastStep(arg1,arg2);
846   fresult = (int)(result);
847   return fresult;
848 }
849 
850 
_wrap_FCVodeGetCurrentStep(void * farg1,double * farg2)851 SWIGEXPORT int _wrap_FCVodeGetCurrentStep(void *farg1, double *farg2) {
852   int fresult ;
853   void *arg1 = (void *) 0 ;
854   realtype *arg2 = (realtype *) 0 ;
855   int result;
856 
857   arg1 = (void *)(farg1);
858   arg2 = (realtype *)(farg2);
859   result = (int)CVodeGetCurrentStep(arg1,arg2);
860   fresult = (int)(result);
861   return fresult;
862 }
863 
864 
_wrap_FCVodeGetCurrentState(void * farg1,void * farg2)865 SWIGEXPORT int _wrap_FCVodeGetCurrentState(void *farg1, void *farg2) {
866   int fresult ;
867   void *arg1 = (void *) 0 ;
868   N_Vector *arg2 = (N_Vector *) 0 ;
869   int result;
870 
871   arg1 = (void *)(farg1);
872   arg2 = (N_Vector *)(farg2);
873   result = (int)CVodeGetCurrentState(arg1,arg2);
874   fresult = (int)(result);
875   return fresult;
876 }
877 
878 
_wrap_FCVodeGetCurrentTime(void * farg1,double * farg2)879 SWIGEXPORT int _wrap_FCVodeGetCurrentTime(void *farg1, double *farg2) {
880   int fresult ;
881   void *arg1 = (void *) 0 ;
882   realtype *arg2 = (realtype *) 0 ;
883   int result;
884 
885   arg1 = (void *)(farg1);
886   arg2 = (realtype *)(farg2);
887   result = (int)CVodeGetCurrentTime(arg1,arg2);
888   fresult = (int)(result);
889   return fresult;
890 }
891 
892 
_wrap_FCVodeGetTolScaleFactor(void * farg1,double * farg2)893 SWIGEXPORT int _wrap_FCVodeGetTolScaleFactor(void *farg1, double *farg2) {
894   int fresult ;
895   void *arg1 = (void *) 0 ;
896   realtype *arg2 = (realtype *) 0 ;
897   int result;
898 
899   arg1 = (void *)(farg1);
900   arg2 = (realtype *)(farg2);
901   result = (int)CVodeGetTolScaleFactor(arg1,arg2);
902   fresult = (int)(result);
903   return fresult;
904 }
905 
906 
_wrap_FCVodeGetErrWeights(void * farg1,N_Vector farg2)907 SWIGEXPORT int _wrap_FCVodeGetErrWeights(void *farg1, N_Vector farg2) {
908   int fresult ;
909   void *arg1 = (void *) 0 ;
910   N_Vector arg2 = (N_Vector) 0 ;
911   int result;
912 
913   arg1 = (void *)(farg1);
914   arg2 = (N_Vector)(farg2);
915   result = (int)CVodeGetErrWeights(arg1,arg2);
916   fresult = (int)(result);
917   return fresult;
918 }
919 
920 
_wrap_FCVodeGetEstLocalErrors(void * farg1,N_Vector farg2)921 SWIGEXPORT int _wrap_FCVodeGetEstLocalErrors(void *farg1, N_Vector farg2) {
922   int fresult ;
923   void *arg1 = (void *) 0 ;
924   N_Vector arg2 = (N_Vector) 0 ;
925   int result;
926 
927   arg1 = (void *)(farg1);
928   arg2 = (N_Vector)(farg2);
929   result = (int)CVodeGetEstLocalErrors(arg1,arg2);
930   fresult = (int)(result);
931   return fresult;
932 }
933 
934 
_wrap_FCVodeGetNumGEvals(void * farg1,long * farg2)935 SWIGEXPORT int _wrap_FCVodeGetNumGEvals(void *farg1, long *farg2) {
936   int fresult ;
937   void *arg1 = (void *) 0 ;
938   long *arg2 = (long *) 0 ;
939   int result;
940 
941   arg1 = (void *)(farg1);
942   arg2 = (long *)(farg2);
943   result = (int)CVodeGetNumGEvals(arg1,arg2);
944   fresult = (int)(result);
945   return fresult;
946 }
947 
948 
_wrap_FCVodeGetRootInfo(void * farg1,int * farg2)949 SWIGEXPORT int _wrap_FCVodeGetRootInfo(void *farg1, int *farg2) {
950   int fresult ;
951   void *arg1 = (void *) 0 ;
952   int *arg2 = (int *) 0 ;
953   int result;
954 
955   arg1 = (void *)(farg1);
956   arg2 = (int *)(farg2);
957   result = (int)CVodeGetRootInfo(arg1,arg2);
958   fresult = (int)(result);
959   return fresult;
960 }
961 
962 
_wrap_FCVodeGetIntegratorStats(void * farg1,long * farg2,long * farg3,long * farg4,long * farg5,int * farg6,int * farg7,double * farg8,double * farg9,double * farg10,double * farg11)963 SWIGEXPORT int _wrap_FCVodeGetIntegratorStats(void *farg1, long *farg2, long *farg3, long *farg4, long *farg5, int *farg6, int *farg7, double *farg8, double *farg9, double *farg10, double *farg11) {
964   int fresult ;
965   void *arg1 = (void *) 0 ;
966   long *arg2 = (long *) 0 ;
967   long *arg3 = (long *) 0 ;
968   long *arg4 = (long *) 0 ;
969   long *arg5 = (long *) 0 ;
970   int *arg6 = (int *) 0 ;
971   int *arg7 = (int *) 0 ;
972   realtype *arg8 = (realtype *) 0 ;
973   realtype *arg9 = (realtype *) 0 ;
974   realtype *arg10 = (realtype *) 0 ;
975   realtype *arg11 = (realtype *) 0 ;
976   int result;
977 
978   arg1 = (void *)(farg1);
979   arg2 = (long *)(farg2);
980   arg3 = (long *)(farg3);
981   arg4 = (long *)(farg4);
982   arg5 = (long *)(farg5);
983   arg6 = (int *)(farg6);
984   arg7 = (int *)(farg7);
985   arg8 = (realtype *)(farg8);
986   arg9 = (realtype *)(farg9);
987   arg10 = (realtype *)(farg10);
988   arg11 = (realtype *)(farg11);
989   result = (int)CVodeGetIntegratorStats(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
990   fresult = (int)(result);
991   return fresult;
992 }
993 
994 
_wrap_FCVodeGetNumNonlinSolvIters(void * farg1,long * farg2)995 SWIGEXPORT int _wrap_FCVodeGetNumNonlinSolvIters(void *farg1, long *farg2) {
996   int fresult ;
997   void *arg1 = (void *) 0 ;
998   long *arg2 = (long *) 0 ;
999   int result;
1000 
1001   arg1 = (void *)(farg1);
1002   arg2 = (long *)(farg2);
1003   result = (int)CVodeGetNumNonlinSolvIters(arg1,arg2);
1004   fresult = (int)(result);
1005   return fresult;
1006 }
1007 
1008 
_wrap_FCVodeGetNumNonlinSolvConvFails(void * farg1,long * farg2)1009 SWIGEXPORT int _wrap_FCVodeGetNumNonlinSolvConvFails(void *farg1, long *farg2) {
1010   int fresult ;
1011   void *arg1 = (void *) 0 ;
1012   long *arg2 = (long *) 0 ;
1013   int result;
1014 
1015   arg1 = (void *)(farg1);
1016   arg2 = (long *)(farg2);
1017   result = (int)CVodeGetNumNonlinSolvConvFails(arg1,arg2);
1018   fresult = (int)(result);
1019   return fresult;
1020 }
1021 
1022 
_wrap_FCVodeGetNonlinSolvStats(void * farg1,long * farg2,long * farg3)1023 SWIGEXPORT int _wrap_FCVodeGetNonlinSolvStats(void *farg1, long *farg2, long *farg3) {
1024   int fresult ;
1025   void *arg1 = (void *) 0 ;
1026   long *arg2 = (long *) 0 ;
1027   long *arg3 = (long *) 0 ;
1028   int result;
1029 
1030   arg1 = (void *)(farg1);
1031   arg2 = (long *)(farg2);
1032   arg3 = (long *)(farg3);
1033   result = (int)CVodeGetNonlinSolvStats(arg1,arg2,arg3);
1034   fresult = (int)(result);
1035   return fresult;
1036 }
1037 
1038 
_wrap_FCVodeGetReturnFlagName(long const * farg1)1039 SWIGEXPORT SwigArrayWrapper _wrap_FCVodeGetReturnFlagName(long const *farg1) {
1040   SwigArrayWrapper fresult ;
1041   long arg1 ;
1042   char *result = 0 ;
1043 
1044   arg1 = (long)(*farg1);
1045   result = (char *)CVodeGetReturnFlagName(arg1);
1046   fresult.size = strlen((const char*)(result));
1047   fresult.data = (char *)(result);
1048   return fresult;
1049 }
1050 
1051 
_wrap_FCVodeFree(void * farg1)1052 SWIGEXPORT void _wrap_FCVodeFree(void *farg1) {
1053   void **arg1 = (void **) 0 ;
1054 
1055   arg1 = (void **)(farg1);
1056   CVodeFree(arg1);
1057 }
1058 
1059 
_wrap_FCVodeSetJacTimesRhsFn(void * farg1,CVRhsFn farg2)1060 SWIGEXPORT int _wrap_FCVodeSetJacTimesRhsFn(void *farg1, CVRhsFn farg2) {
1061   int fresult ;
1062   void *arg1 = (void *) 0 ;
1063   CVRhsFn arg2 = (CVRhsFn) 0 ;
1064   int result;
1065 
1066   arg1 = (void *)(farg1);
1067   arg2 = (CVRhsFn)(farg2);
1068   result = (int)CVodeSetJacTimesRhsFn(arg1,arg2);
1069   fresult = (int)(result);
1070   return fresult;
1071 }
1072 
1073 
_wrap_FCVBandPrecInit(void * farg1,int64_t const * farg2,int64_t const * farg3,int64_t const * farg4)1074 SWIGEXPORT int _wrap_FCVBandPrecInit(void *farg1, int64_t const *farg2, int64_t const *farg3, int64_t const *farg4) {
1075   int fresult ;
1076   void *arg1 = (void *) 0 ;
1077   sunindextype arg2 ;
1078   sunindextype arg3 ;
1079   sunindextype arg4 ;
1080   int result;
1081 
1082   arg1 = (void *)(farg1);
1083   arg2 = (sunindextype)(*farg2);
1084   arg3 = (sunindextype)(*farg3);
1085   arg4 = (sunindextype)(*farg4);
1086   result = (int)CVBandPrecInit(arg1,arg2,arg3,arg4);
1087   fresult = (int)(result);
1088   return fresult;
1089 }
1090 
1091 
_wrap_FCVBandPrecGetWorkSpace(void * farg1,long * farg2,long * farg3)1092 SWIGEXPORT int _wrap_FCVBandPrecGetWorkSpace(void *farg1, long *farg2, long *farg3) {
1093   int fresult ;
1094   void *arg1 = (void *) 0 ;
1095   long *arg2 = (long *) 0 ;
1096   long *arg3 = (long *) 0 ;
1097   int result;
1098 
1099   arg1 = (void *)(farg1);
1100   arg2 = (long *)(farg2);
1101   arg3 = (long *)(farg3);
1102   result = (int)CVBandPrecGetWorkSpace(arg1,arg2,arg3);
1103   fresult = (int)(result);
1104   return fresult;
1105 }
1106 
1107 
_wrap_FCVBandPrecGetNumRhsEvals(void * farg1,long * farg2)1108 SWIGEXPORT int _wrap_FCVBandPrecGetNumRhsEvals(void *farg1, long *farg2) {
1109   int fresult ;
1110   void *arg1 = (void *) 0 ;
1111   long *arg2 = (long *) 0 ;
1112   int result;
1113 
1114   arg1 = (void *)(farg1);
1115   arg2 = (long *)(farg2);
1116   result = (int)CVBandPrecGetNumRhsEvals(arg1,arg2);
1117   fresult = (int)(result);
1118   return fresult;
1119 }
1120 
1121 
_wrap_FCVBBDPrecInit(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,CVLocalFn farg8,CVCommFn farg9)1122 SWIGEXPORT int _wrap_FCVBBDPrecInit(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, CVLocalFn farg8, CVCommFn farg9) {
1123   int fresult ;
1124   void *arg1 = (void *) 0 ;
1125   sunindextype arg2 ;
1126   sunindextype arg3 ;
1127   sunindextype arg4 ;
1128   sunindextype arg5 ;
1129   sunindextype arg6 ;
1130   realtype arg7 ;
1131   CVLocalFn arg8 = (CVLocalFn) 0 ;
1132   CVCommFn arg9 = (CVCommFn) 0 ;
1133   int result;
1134 
1135   arg1 = (void *)(farg1);
1136   arg2 = (sunindextype)(*farg2);
1137   arg3 = (sunindextype)(*farg3);
1138   arg4 = (sunindextype)(*farg4);
1139   arg5 = (sunindextype)(*farg5);
1140   arg6 = (sunindextype)(*farg6);
1141   arg7 = (realtype)(*farg7);
1142   arg8 = (CVLocalFn)(farg8);
1143   arg9 = (CVCommFn)(farg9);
1144   result = (int)CVBBDPrecInit(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
1145   fresult = (int)(result);
1146   return fresult;
1147 }
1148 
1149 
_wrap_FCVBBDPrecReInit(void * farg1,int64_t const * farg2,int64_t const * farg3,double const * farg4)1150 SWIGEXPORT int _wrap_FCVBBDPrecReInit(void *farg1, int64_t const *farg2, int64_t const *farg3, double const *farg4) {
1151   int fresult ;
1152   void *arg1 = (void *) 0 ;
1153   sunindextype arg2 ;
1154   sunindextype arg3 ;
1155   realtype arg4 ;
1156   int result;
1157 
1158   arg1 = (void *)(farg1);
1159   arg2 = (sunindextype)(*farg2);
1160   arg3 = (sunindextype)(*farg3);
1161   arg4 = (realtype)(*farg4);
1162   result = (int)CVBBDPrecReInit(arg1,arg2,arg3,arg4);
1163   fresult = (int)(result);
1164   return fresult;
1165 }
1166 
1167 
_wrap_FCVBBDPrecGetWorkSpace(void * farg1,long * farg2,long * farg3)1168 SWIGEXPORT int _wrap_FCVBBDPrecGetWorkSpace(void *farg1, long *farg2, long *farg3) {
1169   int fresult ;
1170   void *arg1 = (void *) 0 ;
1171   long *arg2 = (long *) 0 ;
1172   long *arg3 = (long *) 0 ;
1173   int result;
1174 
1175   arg1 = (void *)(farg1);
1176   arg2 = (long *)(farg2);
1177   arg3 = (long *)(farg3);
1178   result = (int)CVBBDPrecGetWorkSpace(arg1,arg2,arg3);
1179   fresult = (int)(result);
1180   return fresult;
1181 }
1182 
1183 
_wrap_FCVBBDPrecGetNumGfnEvals(void * farg1,long * farg2)1184 SWIGEXPORT int _wrap_FCVBBDPrecGetNumGfnEvals(void *farg1, long *farg2) {
1185   int fresult ;
1186   void *arg1 = (void *) 0 ;
1187   long *arg2 = (long *) 0 ;
1188   int result;
1189 
1190   arg1 = (void *)(farg1);
1191   arg2 = (long *)(farg2);
1192   result = (int)CVBBDPrecGetNumGfnEvals(arg1,arg2);
1193   fresult = (int)(result);
1194   return fresult;
1195 }
1196 
1197 
_wrap_FCVDiag(void * farg1)1198 SWIGEXPORT int _wrap_FCVDiag(void *farg1) {
1199   int fresult ;
1200   void *arg1 = (void *) 0 ;
1201   int result;
1202 
1203   arg1 = (void *)(farg1);
1204   result = (int)CVDiag(arg1);
1205   fresult = (int)(result);
1206   return fresult;
1207 }
1208 
1209 
_wrap_FCVDiagGetWorkSpace(void * farg1,long * farg2,long * farg3)1210 SWIGEXPORT int _wrap_FCVDiagGetWorkSpace(void *farg1, long *farg2, long *farg3) {
1211   int fresult ;
1212   void *arg1 = (void *) 0 ;
1213   long *arg2 = (long *) 0 ;
1214   long *arg3 = (long *) 0 ;
1215   int result;
1216 
1217   arg1 = (void *)(farg1);
1218   arg2 = (long *)(farg2);
1219   arg3 = (long *)(farg3);
1220   result = (int)CVDiagGetWorkSpace(arg1,arg2,arg3);
1221   fresult = (int)(result);
1222   return fresult;
1223 }
1224 
1225 
_wrap_FCVDiagGetNumRhsEvals(void * farg1,long * farg2)1226 SWIGEXPORT int _wrap_FCVDiagGetNumRhsEvals(void *farg1, long *farg2) {
1227   int fresult ;
1228   void *arg1 = (void *) 0 ;
1229   long *arg2 = (long *) 0 ;
1230   int result;
1231 
1232   arg1 = (void *)(farg1);
1233   arg2 = (long *)(farg2);
1234   result = (int)CVDiagGetNumRhsEvals(arg1,arg2);
1235   fresult = (int)(result);
1236   return fresult;
1237 }
1238 
1239 
_wrap_FCVDiagGetLastFlag(void * farg1,long * farg2)1240 SWIGEXPORT int _wrap_FCVDiagGetLastFlag(void *farg1, long *farg2) {
1241   int fresult ;
1242   void *arg1 = (void *) 0 ;
1243   long *arg2 = (long *) 0 ;
1244   int result;
1245 
1246   arg1 = (void *)(farg1);
1247   arg2 = (long *)(farg2);
1248   result = (int)CVDiagGetLastFlag(arg1,arg2);
1249   fresult = (int)(result);
1250   return fresult;
1251 }
1252 
1253 
_wrap_FCVDiagGetReturnFlagName(long const * farg1)1254 SWIGEXPORT SwigArrayWrapper _wrap_FCVDiagGetReturnFlagName(long const *farg1) {
1255   SwigArrayWrapper fresult ;
1256   long arg1 ;
1257   char *result = 0 ;
1258 
1259   arg1 = (long)(*farg1);
1260   result = (char *)CVDiagGetReturnFlagName(arg1);
1261   fresult.size = strlen((const char*)(result));
1262   fresult.data = (char *)(result);
1263   return fresult;
1264 }
1265 
1266 
_wrap_FCVodeSetLinearSolver(void * farg1,SUNLinearSolver farg2,SUNMatrix farg3)1267 SWIGEXPORT int _wrap_FCVodeSetLinearSolver(void *farg1, SUNLinearSolver farg2, SUNMatrix farg3) {
1268   int fresult ;
1269   void *arg1 = (void *) 0 ;
1270   SUNLinearSolver arg2 = (SUNLinearSolver) 0 ;
1271   SUNMatrix arg3 = (SUNMatrix) 0 ;
1272   int result;
1273 
1274   arg1 = (void *)(farg1);
1275   arg2 = (SUNLinearSolver)(farg2);
1276   arg3 = (SUNMatrix)(farg3);
1277   result = (int)CVodeSetLinearSolver(arg1,arg2,arg3);
1278   fresult = (int)(result);
1279   return fresult;
1280 }
1281 
1282 
_wrap_FCVodeSetJacFn(void * farg1,CVLsJacFn farg2)1283 SWIGEXPORT int _wrap_FCVodeSetJacFn(void *farg1, CVLsJacFn farg2) {
1284   int fresult ;
1285   void *arg1 = (void *) 0 ;
1286   CVLsJacFn arg2 = (CVLsJacFn) 0 ;
1287   int result;
1288 
1289   arg1 = (void *)(farg1);
1290   arg2 = (CVLsJacFn)(farg2);
1291   result = (int)CVodeSetJacFn(arg1,arg2);
1292   fresult = (int)(result);
1293   return fresult;
1294 }
1295 
1296 
_wrap_FCVodeSetMaxStepsBetweenJac(void * farg1,long const * farg2)1297 SWIGEXPORT int _wrap_FCVodeSetMaxStepsBetweenJac(void *farg1, long const *farg2) {
1298   int fresult ;
1299   void *arg1 = (void *) 0 ;
1300   long arg2 ;
1301   int result;
1302 
1303   arg1 = (void *)(farg1);
1304   arg2 = (long)(*farg2);
1305   result = (int)CVodeSetMaxStepsBetweenJac(arg1,arg2);
1306   fresult = (int)(result);
1307   return fresult;
1308 }
1309 
1310 
_wrap_FCVodeSetLinearSolutionScaling(void * farg1,int const * farg2)1311 SWIGEXPORT int _wrap_FCVodeSetLinearSolutionScaling(void *farg1, int const *farg2) {
1312   int fresult ;
1313   void *arg1 = (void *) 0 ;
1314   int arg2 ;
1315   int result;
1316 
1317   arg1 = (void *)(farg1);
1318   arg2 = (int)(*farg2);
1319   result = (int)CVodeSetLinearSolutionScaling(arg1,arg2);
1320   fresult = (int)(result);
1321   return fresult;
1322 }
1323 
1324 
_wrap_FCVodeSetEpsLin(void * farg1,double const * farg2)1325 SWIGEXPORT int _wrap_FCVodeSetEpsLin(void *farg1, double const *farg2) {
1326   int fresult ;
1327   void *arg1 = (void *) 0 ;
1328   realtype arg2 ;
1329   int result;
1330 
1331   arg1 = (void *)(farg1);
1332   arg2 = (realtype)(*farg2);
1333   result = (int)CVodeSetEpsLin(arg1,arg2);
1334   fresult = (int)(result);
1335   return fresult;
1336 }
1337 
1338 
_wrap_FCVodeSetPreconditioner(void * farg1,CVLsPrecSetupFn farg2,CVLsPrecSolveFn farg3)1339 SWIGEXPORT int _wrap_FCVodeSetPreconditioner(void *farg1, CVLsPrecSetupFn farg2, CVLsPrecSolveFn farg3) {
1340   int fresult ;
1341   void *arg1 = (void *) 0 ;
1342   CVLsPrecSetupFn arg2 = (CVLsPrecSetupFn) 0 ;
1343   CVLsPrecSolveFn arg3 = (CVLsPrecSolveFn) 0 ;
1344   int result;
1345 
1346   arg1 = (void *)(farg1);
1347   arg2 = (CVLsPrecSetupFn)(farg2);
1348   arg3 = (CVLsPrecSolveFn)(farg3);
1349   result = (int)CVodeSetPreconditioner(arg1,arg2,arg3);
1350   fresult = (int)(result);
1351   return fresult;
1352 }
1353 
1354 
_wrap_FCVodeSetJacTimes(void * farg1,CVLsJacTimesSetupFn farg2,CVLsJacTimesVecFn farg3)1355 SWIGEXPORT int _wrap_FCVodeSetJacTimes(void *farg1, CVLsJacTimesSetupFn farg2, CVLsJacTimesVecFn farg3) {
1356   int fresult ;
1357   void *arg1 = (void *) 0 ;
1358   CVLsJacTimesSetupFn arg2 = (CVLsJacTimesSetupFn) 0 ;
1359   CVLsJacTimesVecFn arg3 = (CVLsJacTimesVecFn) 0 ;
1360   int result;
1361 
1362   arg1 = (void *)(farg1);
1363   arg2 = (CVLsJacTimesSetupFn)(farg2);
1364   arg3 = (CVLsJacTimesVecFn)(farg3);
1365   result = (int)CVodeSetJacTimes(arg1,arg2,arg3);
1366   fresult = (int)(result);
1367   return fresult;
1368 }
1369 
1370 
_wrap_FCVodeSetLinSysFn(void * farg1,CVLsLinSysFn farg2)1371 SWIGEXPORT int _wrap_FCVodeSetLinSysFn(void *farg1, CVLsLinSysFn farg2) {
1372   int fresult ;
1373   void *arg1 = (void *) 0 ;
1374   CVLsLinSysFn arg2 = (CVLsLinSysFn) 0 ;
1375   int result;
1376 
1377   arg1 = (void *)(farg1);
1378   arg2 = (CVLsLinSysFn)(farg2);
1379   result = (int)CVodeSetLinSysFn(arg1,arg2);
1380   fresult = (int)(result);
1381   return fresult;
1382 }
1383 
1384 
_wrap_FCVodeGetLinWorkSpace(void * farg1,long * farg2,long * farg3)1385 SWIGEXPORT int _wrap_FCVodeGetLinWorkSpace(void *farg1, long *farg2, long *farg3) {
1386   int fresult ;
1387   void *arg1 = (void *) 0 ;
1388   long *arg2 = (long *) 0 ;
1389   long *arg3 = (long *) 0 ;
1390   int result;
1391 
1392   arg1 = (void *)(farg1);
1393   arg2 = (long *)(farg2);
1394   arg3 = (long *)(farg3);
1395   result = (int)CVodeGetLinWorkSpace(arg1,arg2,arg3);
1396   fresult = (int)(result);
1397   return fresult;
1398 }
1399 
1400 
_wrap_FCVodeGetNumJacEvals(void * farg1,long * farg2)1401 SWIGEXPORT int _wrap_FCVodeGetNumJacEvals(void *farg1, long *farg2) {
1402   int fresult ;
1403   void *arg1 = (void *) 0 ;
1404   long *arg2 = (long *) 0 ;
1405   int result;
1406 
1407   arg1 = (void *)(farg1);
1408   arg2 = (long *)(farg2);
1409   result = (int)CVodeGetNumJacEvals(arg1,arg2);
1410   fresult = (int)(result);
1411   return fresult;
1412 }
1413 
1414 
_wrap_FCVodeGetNumPrecEvals(void * farg1,long * farg2)1415 SWIGEXPORT int _wrap_FCVodeGetNumPrecEvals(void *farg1, long *farg2) {
1416   int fresult ;
1417   void *arg1 = (void *) 0 ;
1418   long *arg2 = (long *) 0 ;
1419   int result;
1420 
1421   arg1 = (void *)(farg1);
1422   arg2 = (long *)(farg2);
1423   result = (int)CVodeGetNumPrecEvals(arg1,arg2);
1424   fresult = (int)(result);
1425   return fresult;
1426 }
1427 
1428 
_wrap_FCVodeGetNumPrecSolves(void * farg1,long * farg2)1429 SWIGEXPORT int _wrap_FCVodeGetNumPrecSolves(void *farg1, long *farg2) {
1430   int fresult ;
1431   void *arg1 = (void *) 0 ;
1432   long *arg2 = (long *) 0 ;
1433   int result;
1434 
1435   arg1 = (void *)(farg1);
1436   arg2 = (long *)(farg2);
1437   result = (int)CVodeGetNumPrecSolves(arg1,arg2);
1438   fresult = (int)(result);
1439   return fresult;
1440 }
1441 
1442 
_wrap_FCVodeGetNumLinIters(void * farg1,long * farg2)1443 SWIGEXPORT int _wrap_FCVodeGetNumLinIters(void *farg1, long *farg2) {
1444   int fresult ;
1445   void *arg1 = (void *) 0 ;
1446   long *arg2 = (long *) 0 ;
1447   int result;
1448 
1449   arg1 = (void *)(farg1);
1450   arg2 = (long *)(farg2);
1451   result = (int)CVodeGetNumLinIters(arg1,arg2);
1452   fresult = (int)(result);
1453   return fresult;
1454 }
1455 
1456 
_wrap_FCVodeGetNumLinConvFails(void * farg1,long * farg2)1457 SWIGEXPORT int _wrap_FCVodeGetNumLinConvFails(void *farg1, long *farg2) {
1458   int fresult ;
1459   void *arg1 = (void *) 0 ;
1460   long *arg2 = (long *) 0 ;
1461   int result;
1462 
1463   arg1 = (void *)(farg1);
1464   arg2 = (long *)(farg2);
1465   result = (int)CVodeGetNumLinConvFails(arg1,arg2);
1466   fresult = (int)(result);
1467   return fresult;
1468 }
1469 
1470 
_wrap_FCVodeGetNumJTSetupEvals(void * farg1,long * farg2)1471 SWIGEXPORT int _wrap_FCVodeGetNumJTSetupEvals(void *farg1, long *farg2) {
1472   int fresult ;
1473   void *arg1 = (void *) 0 ;
1474   long *arg2 = (long *) 0 ;
1475   int result;
1476 
1477   arg1 = (void *)(farg1);
1478   arg2 = (long *)(farg2);
1479   result = (int)CVodeGetNumJTSetupEvals(arg1,arg2);
1480   fresult = (int)(result);
1481   return fresult;
1482 }
1483 
1484 
_wrap_FCVodeGetNumJtimesEvals(void * farg1,long * farg2)1485 SWIGEXPORT int _wrap_FCVodeGetNumJtimesEvals(void *farg1, long *farg2) {
1486   int fresult ;
1487   void *arg1 = (void *) 0 ;
1488   long *arg2 = (long *) 0 ;
1489   int result;
1490 
1491   arg1 = (void *)(farg1);
1492   arg2 = (long *)(farg2);
1493   result = (int)CVodeGetNumJtimesEvals(arg1,arg2);
1494   fresult = (int)(result);
1495   return fresult;
1496 }
1497 
1498 
_wrap_FCVodeGetNumLinRhsEvals(void * farg1,long * farg2)1499 SWIGEXPORT int _wrap_FCVodeGetNumLinRhsEvals(void *farg1, long *farg2) {
1500   int fresult ;
1501   void *arg1 = (void *) 0 ;
1502   long *arg2 = (long *) 0 ;
1503   int result;
1504 
1505   arg1 = (void *)(farg1);
1506   arg2 = (long *)(farg2);
1507   result = (int)CVodeGetNumLinRhsEvals(arg1,arg2);
1508   fresult = (int)(result);
1509   return fresult;
1510 }
1511 
1512 
_wrap_FCVodeGetLinSolveStats(void * farg1,long * farg2,long * farg3,long * farg4,long * farg5,long * farg6,long * farg7,long * farg8,long * farg9)1513 SWIGEXPORT int _wrap_FCVodeGetLinSolveStats(void *farg1, long *farg2, long *farg3, long *farg4, long *farg5, long *farg6, long *farg7, long *farg8, long *farg9) {
1514   int fresult ;
1515   void *arg1 = (void *) 0 ;
1516   long *arg2 = (long *) 0 ;
1517   long *arg3 = (long *) 0 ;
1518   long *arg4 = (long *) 0 ;
1519   long *arg5 = (long *) 0 ;
1520   long *arg6 = (long *) 0 ;
1521   long *arg7 = (long *) 0 ;
1522   long *arg8 = (long *) 0 ;
1523   long *arg9 = (long *) 0 ;
1524   int result;
1525 
1526   arg1 = (void *)(farg1);
1527   arg2 = (long *)(farg2);
1528   arg3 = (long *)(farg3);
1529   arg4 = (long *)(farg4);
1530   arg5 = (long *)(farg5);
1531   arg6 = (long *)(farg6);
1532   arg7 = (long *)(farg7);
1533   arg8 = (long *)(farg8);
1534   arg9 = (long *)(farg9);
1535   result = (int)CVodeGetLinSolveStats(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
1536   fresult = (int)(result);
1537   return fresult;
1538 }
1539 
1540 
_wrap_FCVodeGetLastLinFlag(void * farg1,long * farg2)1541 SWIGEXPORT int _wrap_FCVodeGetLastLinFlag(void *farg1, long *farg2) {
1542   int fresult ;
1543   void *arg1 = (void *) 0 ;
1544   long *arg2 = (long *) 0 ;
1545   int result;
1546 
1547   arg1 = (void *)(farg1);
1548   arg2 = (long *)(farg2);
1549   result = (int)CVodeGetLastLinFlag(arg1,arg2);
1550   fresult = (int)(result);
1551   return fresult;
1552 }
1553 
1554 
_wrap_FCVodeGetLinReturnFlagName(long const * farg1)1555 SWIGEXPORT SwigArrayWrapper _wrap_FCVodeGetLinReturnFlagName(long const *farg1) {
1556   SwigArrayWrapper fresult ;
1557   long arg1 ;
1558   char *result = 0 ;
1559 
1560   arg1 = (long)(*farg1);
1561   result = (char *)CVodeGetLinReturnFlagName(arg1);
1562   fresult.size = strlen((const char*)(result));
1563   fresult.data = (char *)(result);
1564   return fresult;
1565 }
1566 
1567 
_wrap_FCVodeSetProjFn(void * farg1,CVProjFn farg2)1568 SWIGEXPORT int _wrap_FCVodeSetProjFn(void *farg1, CVProjFn farg2) {
1569   int fresult ;
1570   void *arg1 = (void *) 0 ;
1571   CVProjFn arg2 = (CVProjFn) 0 ;
1572   int result;
1573 
1574   arg1 = (void *)(farg1);
1575   arg2 = (CVProjFn)(farg2);
1576   result = (int)CVodeSetProjFn(arg1,arg2);
1577   fresult = (int)(result);
1578   return fresult;
1579 }
1580 
1581 
_wrap_FCVodeSetProjErrEst(void * farg1,int const * farg2)1582 SWIGEXPORT int _wrap_FCVodeSetProjErrEst(void *farg1, int const *farg2) {
1583   int fresult ;
1584   void *arg1 = (void *) 0 ;
1585   int arg2 ;
1586   int result;
1587 
1588   arg1 = (void *)(farg1);
1589   arg2 = (int)(*farg2);
1590   result = (int)CVodeSetProjErrEst(arg1,arg2);
1591   fresult = (int)(result);
1592   return fresult;
1593 }
1594 
1595 
_wrap_FCVodeSetProjFrequency(void * farg1,long const * farg2)1596 SWIGEXPORT int _wrap_FCVodeSetProjFrequency(void *farg1, long const *farg2) {
1597   int fresult ;
1598   void *arg1 = (void *) 0 ;
1599   long arg2 ;
1600   int result;
1601 
1602   arg1 = (void *)(farg1);
1603   arg2 = (long)(*farg2);
1604   result = (int)CVodeSetProjFrequency(arg1,arg2);
1605   fresult = (int)(result);
1606   return fresult;
1607 }
1608 
1609 
_wrap_FCVodeSetMaxNumProjFails(void * farg1,int const * farg2)1610 SWIGEXPORT int _wrap_FCVodeSetMaxNumProjFails(void *farg1, int const *farg2) {
1611   int fresult ;
1612   void *arg1 = (void *) 0 ;
1613   int arg2 ;
1614   int result;
1615 
1616   arg1 = (void *)(farg1);
1617   arg2 = (int)(*farg2);
1618   result = (int)CVodeSetMaxNumProjFails(arg1,arg2);
1619   fresult = (int)(result);
1620   return fresult;
1621 }
1622 
1623 
_wrap_FCVodeSetEpsProj(void * farg1,double const * farg2)1624 SWIGEXPORT int _wrap_FCVodeSetEpsProj(void *farg1, double const *farg2) {
1625   int fresult ;
1626   void *arg1 = (void *) 0 ;
1627   realtype arg2 ;
1628   int result;
1629 
1630   arg1 = (void *)(farg1);
1631   arg2 = (realtype)(*farg2);
1632   result = (int)CVodeSetEpsProj(arg1,arg2);
1633   fresult = (int)(result);
1634   return fresult;
1635 }
1636 
1637 
_wrap_FCVodeSetProjFailEta(void * farg1,double const * farg2)1638 SWIGEXPORT int _wrap_FCVodeSetProjFailEta(void *farg1, double const *farg2) {
1639   int fresult ;
1640   void *arg1 = (void *) 0 ;
1641   realtype arg2 ;
1642   int result;
1643 
1644   arg1 = (void *)(farg1);
1645   arg2 = (realtype)(*farg2);
1646   result = (int)CVodeSetProjFailEta(arg1,arg2);
1647   fresult = (int)(result);
1648   return fresult;
1649 }
1650 
1651 
_wrap_FCVodeGetNumProjEvals(void * farg1,long * farg2)1652 SWIGEXPORT int _wrap_FCVodeGetNumProjEvals(void *farg1, long *farg2) {
1653   int fresult ;
1654   void *arg1 = (void *) 0 ;
1655   long *arg2 = (long *) 0 ;
1656   int result;
1657 
1658   arg1 = (void *)(farg1);
1659   arg2 = (long *)(farg2);
1660   result = (int)CVodeGetNumProjEvals(arg1,arg2);
1661   fresult = (int)(result);
1662   return fresult;
1663 }
1664 
1665 
_wrap_FCVodeGetNumProjFails(void * farg1,long * farg2)1666 SWIGEXPORT int _wrap_FCVodeGetNumProjFails(void *farg1, long *farg2) {
1667   int fresult ;
1668   void *arg1 = (void *) 0 ;
1669   long *arg2 = (long *) 0 ;
1670   int result;
1671 
1672   arg1 = (void *)(farg1);
1673   arg2 = (long *)(farg2);
1674   result = (int)CVodeGetNumProjFails(arg1,arg2);
1675   fresult = (int)(result);
1676   return fresult;
1677 }
1678 
1679 
1680 
1681