Cody Balos
46a44c5241
add Sundials::Finalize routine to allow for precise control of cleanup
2025-10-14 16:43:44 -07:00
Tzanio Kolev
e4c2152419
Update Copyright to 2010-2025
2025-02-03 12:17:26 -08:00
Veselin Dobrev
db92a8950b
In sundials.cpp, use a macro to switch between the prefixes ARKStep
...
and ARKode used in different SUNDIALS versions.
2024-10-31 18:31:13 -07:00
Veselin Dobrev
def4df1313
Merge branch 'master' into sundials-v7-support
...
Resolved conflicts:
linalg/sundials.hpp
2024-10-31 14:31:54 -07:00
Veselin Dobrev
2bbf2a757f
Support SUNDIALS v7 when using CUDA or HIP
2024-10-03 05:28:56 -07:00
Veselin Dobrev
87298ef8e4
Fix for SUNDIALS < v6
2024-10-01 13:10:28 -07:00
Veselin Dobrev
c9a11a7a5b
Added support for SUNDIALS v7
2024-09-30 21:49:31 -07:00
Julian Andrej
e0935aa66f
remove rogue header include
2024-09-03 11:14:11 -07:00
Julian Andrej
d13d2f0f7a
add anderson acceleration and fixed point/picard options
2024-08-29 08:35:17 -07:00
Christopher vogl
53dd97e0d8
updated checks to be 'not EXPLICIT' in ARKStepSolver, adding one to UseSundialsMassLinearSolver as well
2024-05-22 14:08:31 -07:00
Christopher vogl
43bb865c26
updated SUNDIALS ex16 and ARKStepSolver to use TDO::Type
2024-05-21 19:51:22 -07:00
Christopher vogl
e1dc4680d3
using real_t in SUNDIALS ex16, ex16p, and ARKStepSolver
2024-05-21 15:01:11 -07:00
Chris Vogl
6c8a4188a1
Merge branch 'master' into 3942-add-test-for-sundials-usemfemmasslinearsolver
2024-04-30 11:45:49 -07:00
Christopher vogl
e9afca2cd6
updated RHS1 and RHS2 in ARKStepSolver to use ExplicitMult for mass form ODEs
2024-03-28 19:49:14 -07:00
Dylan Copeland
046a874cfb
Merge branch 'master' of github.com:mfem/mfem into float
2024-02-06 10:56:41 -08:00
Tzanio Kolev
87290fbf56
Update Copyright to 2010-2024
2024-01-27 13:06:49 -08:00
Christopher vogl
8a98c0332f
fixed copy-paste bug in sundials: LSA should be LSM
2023-12-21 22:43:06 -08:00
Tzanio Kolev
d983b34924
Renamed ftype -> real_t
2023-12-13 12:51:43 -08:00
Dylan Copeland
47e62a55f9
Merge branch 'master' of github.com:mfem/mfem into float
2023-11-09 21:38:06 -08:00
Dylan Copeland
3b4fc3b1df
Generalized for MPI and hypre.
2023-10-31 21:12:15 -07:00
Julian Andrej
ac31d70c95
fix typo for MatGetID
2023-10-13 12:48:27 -07:00
Cody J. Balos
98a5c8bac2
style
2023-04-07 16:00:59 -07:00
Cody J. Balos
cc57bdc9e9
fix SundialsNVector from NVector constructor
2023-04-07 15:45:42 -07:00
Cody J. Balos
da9852ebb3
use Memory<char> in sundials memory helper alloc/dealloc since memsize is in bytes
2023-04-04 16:28:02 -07:00
Balos, Cody, J and David J. Gardner
3720a24afa
Add HIP support in SUNDIALS interface
...
Co-authored-by: David J. Gardner <gardner48@llnl.gov >
2023-04-04 16:28:00 -07:00
Tzanio Kolev
96e00dc815
Updated COPYRIGHT to 2010-2023
2023-03-11 16:58:18 -08:00
Veselin Dobrev
6caa552f0d
Fix SUNDIALS + CUDA support when using SUNDIALS < v6
2022-10-06 00:44:05 -07:00
Chris Vogl
f36aa1aece
corrected SUNLinSolSPFGMR wrapper to use SPFGMR instead of SPGMR
2022-09-21 13:47:40 -07:00
Cody J. Balos
0142bb7c81
Address undef. behavior from 'recursive' init of singleton
...
According to the standard, recusrive initialization of a static
object is undefined. Some compilers handle it fine, but XL does not.
Also ensure that only one instance of Sundials class instantiated.
2022-09-07 12:00:03 -07:00
Chris Vogl
3adeb1d4f8
adding missed SUNContext variables to CUDA calls
2022-08-29 14:28:33 -07:00
Chris Vogl
42f9c6dbf4
Update linalg/sundials.cpp
...
add comment to preprocessor directive
2022-08-25 13:02:34 -07:00
Chris Vogl
672e477364
Update linalg/sundials.cpp
...
add comment to preprocessor directive
2022-08-25 13:02:25 -07:00
Chris Vogl
00f7b2bd02
applied astyle changes
2022-08-25 12:25:21 -07:00
Chris Vogl
1cd2ff2364
GitHub tests noted a mispelling
2022-08-25 12:22:45 -07:00
Chris Vogl
4803dfa020
applied astyle changes
2022-08-25 12:04:57 -07:00
Chris Vogl
9b8d063584
added comments
2022-08-25 11:43:50 -07:00
Chris Vogl
fa50d81410
used namespaces to help differentiate C and C++ functions
2022-08-25 11:11:08 -07:00
Chris Vogl
635e3de561
overloaded SUNDIALS >= v6 calls for backwards compatibility
2022-08-24 16:57:53 -07:00
Chris Vogl
ff1e52c56a
moved definition of SundialsMemHelper to sundials.hpp so the sunmemHelper can be added to the singleton Sundials class instead of being a global variable
2022-08-24 14:15:52 -07:00
Chris Vogl
0c77c3535a
corrected SUNContext return code and shortened error message
2022-08-24 08:03:40 -07:00
Chris Vogl
80fd02ffbf
refactor of Sundials singleton to use static construction like Hypre singleton
2022-08-23 19:43:14 -07:00
Chris Vogl
413d860ea6
added first draft of Sundials singleton for SUNContext and updated all calls into Sundials
2022-08-23 17:13:22 -07:00
Chris Vogl
73bbfda158
using enum types ARKODE_DIRKTableID and ARKODE_ERKTableID instead of int to avoid permissive errors
2022-08-23 17:12:42 -07:00
Tzanio
6d2530775b
Extended copyright to 2022
2022-02-25 10:24:50 -08:00
Veselin Dobrev
9310e05a15
Override appropriately the SetPrintLevel methods in class KINSolver
2021-12-20 16:20:27 -08:00
Adrien M. Bernede
f4dbd3743d
Applying Astyle 3.1
2021-09-03 12:14:24 -07:00
Aaron Fisher
e758c37691
Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether.
2021-05-10 16:06:51 -07:00
Adrien M. Bernede
04fb572359
Let's forget about 2020
2021-01-26 11:55:36 -08:00
Veselin Dobrev
ca7cf33e51
In class CVODESSolver, add a wrapper for CVodeSetMaxNumStepsB
...
and use it in miniapps/adjoint/cvsRoberts_ASAi_dns.cpp to
increase the default value.
2020-10-30 14:48:21 -07:00
Tzanio
d472fe16d9
Changes in the linalg/ directory before the mfem-4.2 release
2020-10-24 19:06:53 -07:00