Commit Graph
64 Commits
Author SHA1 Message Date
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
Veselin Dobrev 7c350fa8dd Minor formatting edits. 2019-10-03 22:43:48 -07:00
Veselin Dobrev 5560274fd6 Fix memory leaks in SUNDIALS examples 9/10/10p.
The fix in example 9 uses the approach used in the regular
example 9 to fix the same leak (see PR #816).

Fix a memory leak in SUNDIALS example 9 using the same fix
that was used
2019-10-03 22:10:40 -07:00
Veselin Dobrev ceb91142ed Adjust the command line parameters in the CMake build system
for testing the SUNDIALS example 10/10p to match the ones in
the GNU make files.
2019-10-03 20:42:43 -07:00
Veselin Dobrev 8cc3eb04ae In the SUNDIALS example 10/10p:
- Add smaller tolerances for the linear/nonlinear solves in
  CVODE/ARKODE -- this is necessary due to the use of very large
  relative+absolute tolerances (1e-1) for the time accuracy.
- Restore a few removed sample runs using CVODE+ADAMS and adjust
  their time step.
- Revert the time step for two CVODE+BDF sample runs to the values
  used in the master branch.

In the INSTALL file, update the MFEM version where only SUNDIALS
v5.0.0+ is supported: MFEM v4.0.2 --> MFEM v4.1.
2019-10-03 20:08:51 -07:00
David J. Gardner 2849ea1fb4 fix linear solve output in ex10p 2019-08-22 22:53:01 -07:00
David J. Gardner 2c8a87dc5d fix linear solve output in ex10 2019-08-22 22:12:22 -07:00
Veselin Dobrev 185ed1d4e0 Small updates in comments. 2019-08-21 22:27:30 -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 d33da44075 Fix a copy-paste bug in the SUNDIALS versions of ex9 and ex9p. 2019-07-11 19:20:15 -07:00
Veselin Dobrev 43a5097176 Fix errors in 'make test' in the SUNDIALS versions of ex9/ex9p.
Add a version check for SUNDIALS v5.0.0 in linalg/sundials.hpp.
2019-07-10 20:00:39 -07:00
Veselin Dobrev 100b2077fa Apply 'make style' 2019-07-02 17:55:01 -07:00
David J. Gardner c5ced79ac7 update 16p to use new TimeDependentOperator methods 2019-05-15 12:37:03 -07:00
David J. Gardner d9bdd0b9f9 add back MFEM steppers in ex9/9p 2019-05-09 16:07:38 -07:00
David J. Gardner 1ebac08b89 add back mfem steppers to ex16 2019-05-09 15:56:39 -07:00
David J. Gardner e3b44216ef minor ex10/10p updates 2019-05-09 15:34:46 -07:00
David J. Gardner 02c9f681ac fix cv and ark in ex10 2019-05-09 15:18:02 -07:00
David J. Gardner 07bc8ced69 update sundials ex10p 2019-05-09 15:00:42 -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 fbba86c71d update ex9 and ex16 2019-04-24 11:42:55 -07:00
David J. Gardner df3cea4cbc fix default ode opt 2019-04-17 16:54:01 -07:00
David J. Gardner e780dffb94 get ex16p working with CVODE 2019-04-16 18:23:29 -07:00
David J. Gardner 289e57a247 simplify input check 2019-04-16 18:21:52 -07:00
David J. Gardner 7e75a67cd8 fix comments, remove extra break 2019-04-16 13:35:16 -07:00
David J. Gardner 5f2afd1719 fix error checks, clean up ex9, running with new interface 2019-04-12 17:41:54 -07:00
David J. Gardner 5ab614c896 update ex9p 2019-04-12 17:06:34 -07:00
Veselin Dobrev 3b69137064 Move the code for generating 'config.mk' from CMakeLists.txt to
a function in MfemCmakeUtilities.cmake, applying various tweaks.

Use the new cmake variable MFEM_MPI_NP when running the parallel
tests.

Remove the config variable MFEM_CPPFLAGS - it is not really used
anywhere. Also, remove the variables MFEM_MPIEXEC and
MFEM_MPIEXEC_NP since these values are autodetected by CMake.

Fix a warning in ex18.hpp.

In the makefile buidl system set MFEM_LIB_FILE to the versioned
shared library (when building shared) instead of the non-versioned
link.
2018-10-23 17:35:49 -07:00
Veselin Dobrev 27b6f1e2a8 Merge branch 'master' into nonlin-form-dev 2018-01-17 22:53:53 -08:00
Veselin Dobrev e26e754573 Rename the *TVector* methods in class GridFunction to *TrueVector* 2018-01-17 22:37:14 -08:00
Veselin Dobrev bf48cb1bb4 Add sample runs with AMR mesh in the SUNDIALS and PETSc versions
of examples 10/10p.

Fix a bug in the serial SUNDIALS version of ex10.
2018-01-16 13:56:22 -08:00
Veselin Dobrev 8c94f43872 Update Examples 10/10p and their SUNDIALS and PETSc versions to work
on non-conforming AMR meshes.
2018-01-02 07:17:11 -08:00
Veselin Dobrev fee4ee98bd Adding a new developer tool, config/sample-runs.sh, that extracts
the sample runs from all examples and miniapps and runs them.
Optionally, it can save the output from the execution to files,
allowing comparison between different versions and builds of the
library.

Adding a new makefile target, test-print, that prints the full
command lines executed by 'make test'.
2018-01-01 17:42:40 -08: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 053b0a2960 Update both build systems to build and test the SUNDIALS and PETSc
examples with the rest of the examples if the respective libraries are
enabled when building MFEM.

In the GNU makefiles, this is enabled through the examples/makefile
instead of the main makefile.
2017-11-06 18:47:14 -08:00
Veselin Dobrev bb48babd84 When building the examples and miniapps with CMake, include the
the path to the main mfem headers, ${PROJECT_BINARY_DIR}, BEFORE
any other directories.
2017-09-15 16:16:01 -07:00
Tzanio Kolev b277a74f81 Merge pull request #269 from jdahm/gitignore-dev
Gitignore definitions [jdahm/gitignore-dev]
2017-09-15 10:35:48 -07:00
Veselin Dobrev e24b04dea4 Some corrections and tweaks. 2017-09-08 13:28:36 -07:00
Johann Dahm 12a23f6280 More @v-dobrev fixes 2017-09-06 22:23:08 -07:00
Veselin Dobrev 05e98a6cde Merge branch 'master' into travis-coveralls 2017-09-02 20:38:23 -07:00
Aaron Black 911640ef23 Updates to allow specifying number of mpi tasks for test target. 2017-08-17 11:56:03 -07:00
Veselin Dobrev 4f446be9c6 Merge branch 'master' into build-sys-dev 2017-08-05 22:02:09 -07:00
Veselin Dobrev 32012535d0 make style 2017-07-27 17:38:11 -07:00