summaryrefslogtreecommitdiff
path: root/packages/sundials/src/Arkode.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sundials/src/Arkode.hsc')
-rw-r--r--packages/sundials/src/Arkode.hsc25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/sundials/src/Arkode.hsc b/packages/sundials/src/Arkode.hsc
index 2904c36..4ef95e2 100644
--- a/packages/sundials/src/Arkode.hsc
+++ b/packages/sundials/src/Arkode.hsc
@@ -46,6 +46,8 @@ arkSMax :: Int
46arkSMax = #const ARK_S_MAX 46arkSMax = #const ARK_S_MAX
47 47
48-- FIXME: We could just use inline-c instead 48-- FIXME: We could just use inline-c instead
49
50-- /* Butcher table accessors -- implicit */
49sDIRK_2_1_2 :: Int 51sDIRK_2_1_2 :: Int
50sDIRK_2_1_2 = #const SDIRK_2_1_2 52sDIRK_2_1_2 = #const SDIRK_2_1_2
51-- #define BILLINGTON_3_3_2 13 53-- #define BILLINGTON_3_3_2 13
@@ -67,3 +69,26 @@ sDIRK_5_3_4 = #const SDIRK_5_3_4
67-- #define DEFAULT_DIRK_3 ARK324L2SA_DIRK_4_2_3 69-- #define DEFAULT_DIRK_3 ARK324L2SA_DIRK_4_2_3
68-- #define DEFAULT_DIRK_4 SDIRK_5_3_4 70-- #define DEFAULT_DIRK_4 SDIRK_5_3_4
69-- #define DEFAULT_DIRK_5 ARK548L2SA_DIRK_8_4_5 71-- #define DEFAULT_DIRK_5 ARK548L2SA_DIRK_8_4_5
72
73-- /* Butcher table accessors -- explicit */
74-- #define HEUN_EULER_2_1_2 0
75-- #define BOGACKI_SHAMPINE_4_2_3 1
76-- #define ARK324L2SA_ERK_4_2_3 2
77-- #define ZONNEVELD_5_3_4 3
78-- #define ARK436L2SA_ERK_6_3_4 4
79-- #define SAYFY_ABURUB_6_3_4 5
80-- #define CASH_KARP_6_4_5 6
81fEHLBERG_6_4_5 :: Int
82fEHLBERG_6_4_5 = #const FEHLBERG_6_4_5
83-- #define FEHLBERG_6_4_5 7
84-- #define DORMAND_PRINCE_7_4_5 8
85-- #define ARK548L2SA_ERK_8_4_5 9
86-- #define VERNER_8_5_6 10
87-- #define FEHLBERG_13_7_8 11
88
89-- #define DEFAULT_ERK_2 HEUN_EULER_2_1_2
90-- #define DEFAULT_ERK_3 BOGACKI_SHAMPINE_4_2_3
91-- #define DEFAULT_ERK_4 ZONNEVELD_5_3_4
92-- #define DEFAULT_ERK_5 CASH_KARP_6_4_5
93-- #define DEFAULT_ERK_6 VERNER_8_5_6
94-- #define DEFAULT_ERK_8 FEHLBERG_13_7_8