Commit Graph
61 Commits
Author SHA1 Message Date
Tzanio 419bd7c6d7 Some edits in linalg/ 2020-03-09 20:01:11 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Tzanio 4e35956daa make style 2020-01-21 14:51:26 -08:00
Julian Andrej bbd769b402 Added SetPrintLevel to serial case 2020-01-21 14:44:51 -08:00
Julian Andrej 647dc96619 Change KINSOL behavior to only print on root node 2020-01-21 14:34:00 -08:00
Veselin Dobrev 22e4c1ccbf Fix the serial build with SUNDIALS. 2019-11-05 18:04:05 -08:00
Veselin Dobrev 7a869c30c6 In class TimeDependentOperator, add a new property: evaluation
mode, see TimeDependentOperator::SetEvalMode() for description.
This new property is now used to support IMEX time integration
in class ARKStepSolver. With this addition the method
TimeDependentOperator::SUNImplicitMult() is no longer needed
and was removed.
2019-10-11 23:37:49 -07:00
Veselin Dobrev 959eea2830 Some small tweaks:
- Apply 'make style'
- Add a note in the CVODE/ARKODE/KINSOL Init() methods that
  re-initializing may purge some user-set options
- When updating the operator of the CVODE/AKODE/KINSOL objects in
  their respective SetOperator() methods, use an all-reduce to
  make sure all ranks do this in a consistent manner.
2019-10-03 16:45:50 -07:00
David J. Gardner ebac5cd124 correct input to ARKStepSetTableNum 2019-09-20 13:47:40 -07:00
David J. Gardner 3830906b62 fix to set maa before KINInit() 2019-08-15 18:13:30 -07:00
David J. Gardner 269dac7933 add wrapper for KINSetMAA 2019-08-15 17:42:04 -07:00
David J. Gardner d9973bf879 remove resize flag from sundials base class 2019-08-15 17:33:54 -07:00
David J. Gardner 9e868eff4f update arkstep reinit/resize 2019-08-15 17:16:17 -07:00
David J. Gardner 4038b2e212 update cvode reinit/resize 2019-08-15 17:16:17 -07:00
David J. Gardner 83a3a40302 remove extra includes, add comments 2019-08-15 17:16:16 -07:00
David J. Gardner 7b2bf5a88f update kinsol setoperator for reinitializing/resizing 2019-08-15 17:16:10 -07:00
David J. Gardner f6bcd67b58 attach MFEM ls if prec is non-null 2019-08-15 13:34:14 -07:00
David J. Gardner 9ecc568e13 fix setting FuncNormTol 2019-08-15 13:30:49 -07:00
David J. Gardner f4ff8099e8 free A if non-null and attaching new ls 2019-08-15 13:30:18 -07:00
David J. Gardner 05226e6e79 add mass matrix mult wraper if using ARKode mass matrix support 2019-08-09 16:24:09 -07:00
David J. Gardner c4f88ab02a attach MFEM linear solver by default 2019-08-09 15:32:45 -07:00
David J. Gardner cef852ec19 wrap long lines 2019-08-09 14:58:06 -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 1822da30b5 remove trailing whitespace 2019-08-09 12:04:45 -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 6f8a71f961 remove f2 from ode class, add SUNImplicitMult for IMEX problem 2019-08-05 16:56:54 -07:00
David J. Gardner acf0be8304 remove old LS interface 2019-08-05 15:13:48 -07:00
Veselin Dobrev 50d95d0618 Various small fixes in SUNDIALS-related code. 2019-07-12 17:58:32 -07:00
Veselin Dobrev 41bc2aec88 Fix doxygen warnings.
Fix build warnings when using the option -Wall.

In class SundialsLinearSolver, move the default implementations
of the methods ODELinSys and ODEMassSys to the .cpp file.
2019-07-08 20:21:13 -07:00
Veselin Dobrev 100b2077fa Apply 'make style' 2019-07-02 17:55:01 -07:00
David J. Gardner cec74a9c2d update arkode to work with the new mass methods 2019-05-10 17:07:55 -07:00
David J. Gardner e209394abd update arkode to work with the new ls methods 2019-05-10 16:58:41 -07:00
David J. Gardner 98c9710b02 update cvode to work with new methods 2019-05-10 16:57:01 -07:00
David J. Gardner 957a01d81e add method to resize arkode 2019-05-10 15:58:12 -07:00
David J. Gardner 3ba5af74c3 update CVODE and ARKStep init to support reinitialization 2019-05-10 15:22:59 -07:00
David J. Gardner f2ad3f1fc9 remove zeroing kin_pp
When connecting as SUNLinearSolver the initial guess is zeroed out
before calling the solve routine so this is not needed any more.
2019-05-08 10:09:43 -07:00
David J. Gardner e562b8a0c9 update ex10 2019-05-07 15:27:29 -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 16e20eb471 use sundials mat and ls NewEmpty functions 2019-04-18 11:01:48 -07:00
David J. Gardner 57fb37f6ab fix typo 2019-04-17 18:04:46 -07:00
David J. Gardner ab8993cee6 remove unneeded variable 2019-04-17 18:01:55 -07:00
David J. Gardner 4afb8d724f updates for IMEX support 2019-04-17 18:01:01 -07:00
David J. Gardner ffc4024147 fix naming conflicts, add destroy/free functions 2019-04-16 18:16:40 -07:00
David J. Gardner e2455eb460 minor update to error message 2019-04-12 17:45:38 -07:00
David J. Gardner 5f2afd1719 fix error checks, clean up ex9, running with new interface 2019-04-12 17:41:54 -07:00