summaryrefslogtreecommitdiff
path: root/packages/sundials/src/Numeric/Sundials/ODEOpts.hs
diff options
context:
space:
mode:
authoridontgetoutmuch <dominic@steinitz.org>2019-06-30 09:03:23 +0100
committerGitHub <noreply@github.com>2019-06-30 09:03:23 +0100
commit03f114e2d849bbffac89e535c7736ebe7e4d1762 (patch)
treea8d57bc9f286bdc3cb1b196a5dec78e805b49996 /packages/sundials/src/Numeric/Sundials/ODEOpts.hs
parent89c12f2b97f35b5e2722c3a9134516e813b205bd (diff)
parentcb09d0e99ae4f10cd2b3f3ac667df83946a9744d (diff)
Merge pull request #306 from idontgetoutmuch/master
Remove sundials as it has its own repo now. Fix
Diffstat (limited to 'packages/sundials/src/Numeric/Sundials/ODEOpts.hs')
-rw-r--r--packages/sundials/src/Numeric/Sundials/ODEOpts.hs32
1 files changed, 0 insertions, 32 deletions
diff --git a/packages/sundials/src/Numeric/Sundials/ODEOpts.hs b/packages/sundials/src/Numeric/Sundials/ODEOpts.hs
deleted file mode 100644
index 027d99a..0000000
--- a/packages/sundials/src/Numeric/Sundials/ODEOpts.hs
+++ /dev/null
@@ -1,32 +0,0 @@
1module Numeric.Sundials.ODEOpts where
2
3import Data.Word (Word32)
4import qualified Data.Vector.Storable as VS
5
6import Numeric.LinearAlgebra.HMatrix (Vector, Matrix)
7
8
9type Jacobian = Double -> Vector Double -> Matrix Double
10
11data ODEOpts = ODEOpts {
12 maxNumSteps :: Word32
13 , minStep :: Double
14 , relTol :: Double
15 , absTols :: VS.Vector Double
16 , initStep :: Maybe Double
17 , maxFail :: Word32
18 } deriving (Read, Show, Eq, Ord)
19
20data SundialsDiagnostics = SundialsDiagnostics {
21 aRKodeGetNumSteps :: Int
22 , aRKodeGetNumStepAttempts :: Int
23 , aRKodeGetNumRhsEvals_fe :: Int
24 , aRKodeGetNumRhsEvals_fi :: Int
25 , aRKodeGetNumLinSolvSetups :: Int
26 , aRKodeGetNumErrTestFails :: Int
27 , aRKodeGetNumNonlinSolvIters :: Int
28 , aRKodeGetNumNonlinSolvConvFails :: Int
29 , aRKDlsGetNumJacEvals :: Int
30 , aRKDlsGetNumRhsEvals :: Int
31 } deriving Show
32