summaryrefslogtreecommitdiff
path: root/src/c/differential_calculus/interfaces/int_ode.h
blob: 28f43999e0dfda6e2ef45ee2b29b566b4994183f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* Copyright (C) 2016 - IIT Bombay - FOSSEE

 This file must be used under the terms of the CeCILL.
 This source file is licensed as described in the file COPYING, which
 you should have received as part of this distribution.  The terms
 are also available at
 http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 Author: Siddhesh Wani
 Organization: FOSSEE, IIT Bombay
 Email: toolbox@scilab.in
*/

#ifndef __INT_ODE_H__
#define __INT_ODE_H__

#ifdef  __cplusplus
extern "C" {
#endif

#define d0d0d0fn0oded0(in1, in2, in3, func_name) dodes(in1, in2, in3, \
					func_name, "rkf",1, 1.0e-2, 1.0e-2, 1.0e-6, NULL)

#define d2d0d0fn0oded2(in1, size1, in2, in3, func_name, out) dodea(in1, \
					in2, in3, func_name, "rkf",size1[1], 1.0e-2, 1.0e-2, \
					1.0e-6, size1, out)

#define d0d0d2fn0oded2(in1, in2, in3, size3, func_name, out) dodea(in1, in2, \
					in3, func_name, "rkf", 1, 1.0e-2, 1.0e-2, 1.0e-6, size3, out)

#define d2d0d2fn0oded2(in1, size1, in2, in3, size3, func_name, out) dodea(in1, \
					in2, in3, func_name, "rkf",size1[1], 1.0e-2, 1.0e-2, \
					1.0e-6, size1, out)

#define g2d0d0d0fn0oded0(solvertype, typesize, in1, in2, in3, func_name) dodes(in1, in2, in3, \
					func_name, solvertype, 1, 1.0e-2, 1.0e-2, 1.0e-6, NULL)

#define g2d2d0d0fn0oded2(solvertype, typesize, in1, size1, in2, in3, func_name, out) \
					dodea(in1, in2, in3, func_name, solvertype, size1[1], \
					1.0e-2, 1.0e-2, 1.0e-6, size1, out)

#define g2d0d0d2fn0oded2(solvertype, typesize, in1, in2, in3, size3, func_name, out) \
					dodea(in1, in2, in3, func_name, solvertype,1, 1.0e-2, 1.0e-2, \
					1.0e-6, size3, out)

#define g2d2d0d2fn0oded2(solvertype, typesize, in1, size1, in2, in3, size3, func_name, out) dodea(in1, \
					in2, in3, func_name, solvertype, size1[1], 1.0e-2, 1.0e-2, \
					1.0e-6, size1, out)

#ifdef  __cplusplus
} /* extern "C" */
#endif


#endif /*__INT_ODE_H__*/