Commit Graph
49 Commits
Author SHA1 Message Date
Veselin Dobrev c9a11a7a5b Added support for SUNDIALS v7 2024-09-30 21:49:31 -07:00
Christopher vogl ba4b627e68 updated comments in SUNDIALS examples to reflect target name differences between GNU make and CMake 2024-05-29 11:53:01 -07:00
Christopher vogl 55a914321d refactored sample runs to exclude sundials_ prefix 2024-05-28 11:56:44 -07:00
Chris VoglandVeselin Dobrev e1ac8ca08c Adding precision to Save call in SUNDIALS ex16
Co-authored-by: Veselin Dobrev <v-dobrev@users.noreply.github.com>
2024-05-28 11:00:45 -07:00
Christopher vogl 0c413570c4 braces added to meet style requirements 2024-05-22 13:43:24 -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
Christopher vogl 012aa50cd3 accounted for residual differences in SUNImplicitSolve is mass linear solve is used 2024-03-28 23:03:25 -07:00
Christopher vogl d0193919c4 updated parallel version of ex16 2024-03-28 21:27:47 -07:00
Christopher vogl 422ca290b5 added more explanation for SUNImplicitSetup 2024-03-28 20:16:01 -07:00
Christopher vogl 59e1d7bf27 updated comments to reflect the linearization assumption used throughout 2024-03-28 20:09:49 -07:00
Christopher vogl 09dd9656c8 updated ex16 for SUNDIALS to make of ExplicitMult to unify TDO implementations 2024-03-28 19:50:04 -07:00
Christopher vogl bbd4edce83 style changes 2023-12-27 14:34:32 -08:00
Christopher vogl 785fa7adc2 added some comments to clarify difference between MFEM and SUNDIALS solves 2023-12-27 12:33:46 -08:00
Christopher vogl 0248c58591 use newer GridFunction::Save 2023-12-27 12:11:52 -08:00
Christopher vogl 160e783638 whitespace cleanup 2023-12-27 12:11:35 -08:00
Christopher vogl ddd2500a9c removed deprecate SetParameters definition 2023-12-27 12:11:14 -08:00
Christopher vogl 2b5dee2b95 added more example to show speedup with mass form 2023-12-27 12:10:49 -08:00
Christopher vogl 26393f230f corrected typos and added runs to sample runs 2023-12-27 11:10:01 -08:00
Christopher vogl 8e9948d729 removed no longer necessary auxilliary variable 2023-12-22 17:27:11 -08:00
Christopher vogl 9bbbd8c324 refactor to eliminate the copy-paste in SetParameters 2023-12-22 17:23:40 -08:00
Christopher vogl a19e7cb38e some last touchups to ex16 2023-12-22 15:43:34 -08:00
Christopher vogl 3a2912bc0b factored ConductionOperator into separate classes 2023-12-22 14:37:48 -08:00
Christopher vogl 5cfd284cb8 implemented new mfem mass options 2023-12-22 13:45:14 -08:00
Christopher vogl eeae538115 updated comments 2023-12-21 22:45:36 -08:00
Christopher vogl 84d44db3a7 Implemented new SUN routines & fixed tolerance bug 2023-12-21 22:22:57 -08:00
Christopher vogl c97af2f3dc Converted remaining raw pointers in SUNDIALS ex16
originally was going to keep the raw pointers in the ConductionOperator to
facilitate comparison with MFEM ex16, but now want to avoid incurring more
technial debt as additional TimeDependentOperator functions are implemented
2023-12-21 15:12:49 -08:00
Christopher vogl c4ca3bfc5f Cleanup of SUNDIALS ex16 ConductionOperator
added override keywords and removed unnecessary virtual specifications
2023-12-21 15:02:08 -08:00
Christopher vogl 85fe35bec2 replaced c-style pointer main use in SUNDIALS ex16
-used std::unique_ptr and dynamic casting instead
-avoided changing ConductionOperator for comparison to MFEM ex16
2023-12-20 19:17:24 -08:00
Chris Vogl 4803dfa020 applied astyle changes 2022-08-25 12:04:57 -07:00
Chris Vogl 7457eeea1a added call to Sundials::Init to all Sundials examples 2022-08-23 19:50:05 -07:00
Chris Vogl eff25a6b30 refactor deprecated calls to enum Butcher table values in Sundials examples 2022-08-23 19:46:37 -07:00
David J. Gardner c4f88ab02a attach MFEM linear solver by default 2019-08-09 15:32:45 -07:00
David J. Gardner 5700636721 revise CVODE wrapper to use Init(f) rather than Init(f, t, x) 2019-08-09 12:14:23 -07:00
David J. Gardner c86634bc11 revise ARKStep wrapper to use Init(f) rather than Init(f, t, x) 2019-08-09 11:33:04 -07:00
Aaron Fisher 1c4bee5def Remove the t parameter from SUNMassSetup and SUNImplicitSetup. 2019-08-08 15:08:53 -07:00
Aaron Fisher e3cb07a4ec Swapped the locations of the x,b parameters in SUNImplicitSolve and SUNMassSolve. Also updated the build system defaults to point to the proper place in for SUNDIALS5.0. 2019-08-08 14:47:35 -07:00
David J. Gardner 754d9b62cf add SUN prefix to implicit setup/solve and mass setup/solve 2019-08-05 17:05:29 -07:00
David J. Gardner 6e7b82d403 update examples 10, 10p, and 16 to new LS interface 2019-08-05 14:55:05 -07:00
Veselin Dobrev 100b2077fa Apply 'make style' 2019-07-02 17:55:01 -07:00
David J. Gardner 1ebac08b89 add back mfem steppers to ex16 2019-05-09 15:56:39 -07:00
David J. Gardner 1513847ff1 update KINSOL interface, add utility functions, clean up 2019-05-05 21:34:54 -07:00
David J. Gardner fbba86c71d update ex9 and ex16 2019-04-24 11:42:55 -07:00
Veselin Dobrev c6dafc6483 A set of small fixes and cleanups uncovered by static analysis with
clang static analyzer.
2017-12-09 16:12:35 -08:00
Veselin Dobrev 32012535d0 make style 2017-07-27 17:38:11 -07:00
Veselin Dobrev 87d67b02cc Update examples/sundials/ex16p.cpp similar to the serial example. 2017-07-13 20:00:50 -07:00
Veselin Dobrev 537dc92479 In the serial SUNDIALS ex16.cpp, add support for implicit SUNDIALS time
steppers.

Use one-step mode for the SUNDIALS time steppers - we need to update
the diffusion coefficient at every time step.

Updated the time stepping loop logic to support variable time steps.
2017-07-13 14:53:51 -07:00
Johann Dahm af7374a2c2 Add header to serial example 2017-07-07 10:09:03 -07:00
Johann Dahm d5af4388b2 Add serial and parallel nonlinear diffusion example with SUNDIALS
When used with the SUNDIALS solvers, ex16p hangs at an Allreduce
inside the call to FormSystemMatrix on line 447.
2017-07-06 12:30:21 -07:00