aboutsummaryrefslogtreecommitdiff
path: root/src/patch/patch.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch/patch.hh')
-rw-r--r--src/patch/patch.hh13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/patch/patch.hh b/src/patch/patch.hh
index 95726b7..aa64e0d 100644
--- a/src/patch/patch.hh
+++ b/src/patch/patch.hh
@@ -343,7 +343,18 @@ public:
// + \frac{17}{48} f_N
// \right]
// $$
- integration_method__Simpson_variant // no comma here!
+ integration_method__Simpson_variant,
+
+ // automatic choice of the "best" one of the above methods:
+ // ... i.e. choose Simpson's rule or variant if applicable,
+ // otherwise trapezoid rule
+ // N == 2 Simpson's rule
+ // N == 3 trapezoid rule
+ // N == 4 Simpson's rule
+ // N == 5 trapezoid rule
+ // N == 6 Simpson's rule
+ // N >= 7 Simpson's rule, variant form
+ integration_method__automatic_choice // no comma here!
};
// decode character string name into internal enum