Commit Graph
50 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 c38115aab5 Comment out unused private variable in examples/petsc/ex10p.cpp to
suppress a warning.
2019-05-18 20:35:21 -07:00
Tzanio ceb8f71e38 minor 2019-05-15 11:35:02 -07:00
Tzanio fa14a82fc8 make style 2019-05-15 11:26:29 -07:00
Stefano Zampini c5586d5e5a examples/petsc/ex10p: added PetscPreconditionerFactory example of usage
added matrix free tests
2019-05-15 11:29:06 +03:00
Stefano Zampini f94b099e40 Added convenience functions to initialize/finalize PETSc without the need of including petsc.h 2018-11-21 15:14:53 +03:00
Stefano Zampini 9457962d33 PetscSolver: extended monitoring framework
Add a user callback to monitor the solver (defaults to no-hop)

fixed a bug in ex1p.cpp
2018-11-21 15:14:53 +03:00
Tzanio Kolev c55788c526 Merge pull request #508 from cwsmith/cwsmith/cmake_create_config.mk
CMake creates config.mk and installs config.mk and test.mk [cwsmith/cmake_create_config.mk]
2018-11-05 09:36:51 -08: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
Tzanio 357b925738 hexahedrons, hexahedrals -> hexahedra 2018-10-10 17:47:35 -07:00
Stefano Zampini 5ebce1f5e0 Merge branch 'stefanozampini/fix-example' of github.com:mfem/mfem into stefanozampini/fix-example 2018-06-26 13:37:43 +03:00
Stefano Zampini a88beec11e update PETSc options file to prevent examples from failing 2018-06-26 13:35:50 +03:00
Veselin Dobrev 0824833e35 Update the PETSc example tests in the CMake build system. 2018-06-16 18:56:01 -07:00
Stefano Zampini d73d29508b Add nonoverlapping assembly to ex6p tests 2018-05-31 11:49:30 +03:00
Stefano Zampini b8fb486ba5 Added hybridization example (improve code coverage) 2018-05-31 11:12:53 +03:00
Stefano Zampini 3d62128f3a PETSc examples: test local boundary specification 2018-05-31 10:54:00 +03:00
Stefano Zampini b79d47eb93 Synch PETSc rc files with PETSc 3.9 2018-05-31 10:53:38 +03:00
Stefano Zampini 30f623bdad PETSc example ex5p : added command line option to cover more library code 2018-05-31 10:52:18 +03:00
Tzanio e32be388f5 Merge branch 'master' into visit-data-collection-dev
Conflicts:
	CHANGELOG
2018-01-29 09:38:26 -08:00
Veselin Dobrev 881638ac85 Merge branch 'master' into visit-data-collection-dev 2018-01-18 20:34:18 -08:00
Veselin Dobrev 7c68bd9a5a In example 5p and its PETSc version, added an option to specify
the format (serial vs parallel) used for VisIt output.
2018-01-18 17:35:50 -08: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 224851268e Restore backward compatibility for reading and writing NURBS meshes and
solutions. Restore the NURBS meshes in the data directory to use their
original format.

Add a new FiniteElementSpace format for writing variable-order spaces,
currently implemented for NURBS spaces only. Move the reading of FE
space input in a new method: FiniteElementSpace::Load. Add new default
constructor for FiniteElementSpace that should be used with the Load
method.

Add a bunch of const qualifiers in NURBSExtension and NURBSPatchMap.

Extended the method Mesh::DegreeElevate to make it easier to work with
variable-order NURBS meshes.

In class Array, add copy constructors and copy assignment operators.

Add a number of FIXME comments.
2017-11-21 14:35:05 -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
Tzanio Kolev 6d53f60a83 Merge pull request #263 from mfem/stefanozampini/feature-petsc38-andimprovements
Update to upcoming PETSc 3.8 and few improvements
2017-10-17 10:07:44 -07:00
Veselin Dobrev 91e5553fbb Various small changes related to PETSc:
- Updated CHANGELOG to indicate that we now require PETSc v3.8.0 or
  newer.

- Updated the check in CMake build system to check for PETSc version
  that is >= 3.8.0.

- Update the CMake file in examples/petsc to be able to run multiple
  tests with the same example - this is similar to the GNU make testing.

- In linalg/handle.cpp, check, at compile time, that hypre and PETSc use
  the same size of integers - this was, and still is, assumed in a few
  places in that source file.
2017-10-09 18:23:26 -07:00
Stefano Zampini cccbda8bb3 Merge branch 'stefanozampini/feature-petsc38-andimprovements' of github.com:mfem/mfem into stefanozampini/feature-petsc38-andimprovements 2017-10-09 09:42:20 +03:00
Stefano Zampini 846c555fa8 Fix PetscODESolver::Step implementation to return the actual time step used instead of the next candidate
This is to have a uniform behaviour of all the Step methods implemented in MFEM
We need to use a larger time step in the examples to trigger adaptivity, otherwise the default time step is always accepted
2017-10-09 09:41:08 +03: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
Tzanio 723d9802e8 Merge branch 'master' into stefanozampini/feature-petsc38-andimprovements 2017-09-06 19:07:28 -07:00
Tzanio Kolev 29f3ff5da6 Merge pull request #266 from mfem/namespace-conflict-bugfix
Fix namespace conflict with hypre [namespace-conflict-bugfix]
2017-09-06 18:41:49 -07:00
Veselin Dobrev 05e98a6cde Merge branch 'master' into travis-coveralls 2017-09-02 20:38:23 -07:00
Veselin Dobrev 5ac39db8a7 Replace MFEM_HYPRE_PARCSR with Hypre_ParCSR.
Replace MFEM_HYPRE_PARCSR_FILE with MFEM_HYPRE_PARCSR_HPP.
2017-08-29 18:52:35 -07:00
Tzanio 22243f97c1 Rename Operator::HYPRE_PARCSR -> Operator::MFEM_HYPRE_PARCSR 2017-08-29 18:02:37 -07:00
Stefano Zampini 10780c6623 Added few more tests to ODE solver suite 2017-08-27 19:39:27 +03: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 e08e5ccf9d Update the place where the headers installed - instead of installing
{config,general,linalg,mesh,fem} in <PREFIX>/include, they are now
installed in <PREFIX>/include/mfem. In addition, the master headers,
mfem.hpp and mfem-performance.hpp, are also installed in
<PREFIX>/include/mfem. However in order to keep the include lines
   #include <mfem.hpp>
   #include <mfem-performance.hpp>
valid, the build system generates files mfem.hpp and
mfem-performance.hpp in <PREFIX>/include that simply include the files
with the same name from the mfem sub-directory.

This change should remain backward compatible with existing code, unless
the code included directly specific mfem headers like:
   #include "general/socketstream.hpp"
which will need to be updated to:
   #include "mfem/general/socketstream.hpp"

In addition, the files config.mk and test.mk are now installed in
<PREFIX>/share/mfem instead of <PREFIX>. Also, the location of test.mk
is now defined by config.mk, so that after including config.mk, the
file test.mk can be included (if needed) simply with:
   include $(MFEM_TEST_MK)

This layout is friendlier for installations with other packages in the
same installation prefix, e.g. /usr/local or $HOME/local.

TODO: mention these updates in CHANGELOG.
2017-07-12 13:10:46 -07:00
Stefano Zampini b40dff30e0 Added extra test to petsc testing suite 2017-04-16 17:49:49 +03:00
Veselin Dobrev 77d60a2fa1 Small adjustments in makefiles. 2017-03-17 16:24:40 -07:00
Tzanio cbaa46c449 Fixed a typo. Renamed MFEM_MPIEXEC_NUMPROC_FLAG -> MFEM_MPIEXEC_NP. 2017-03-17 10:49:41 -07:00
Aaron Black 3e7fe11532 Updates to vars for selecting alternate mpi launcher. 2017-03-15 15:49:45 -07:00
Aaron Black c45c7cc464 Switch to using MFEM_MPIRUN_CMD in petsc tests, instead of local MPIRUN var ( can name clash with some systems' MPIRUN env var) 2017-03-14 12:46:32 -07:00
Aaron Black 533493a637 Add MFEM_MPIRUN_CMD config var to allow setting an alternate mpi launcher command (like SLURM srun). 2017-03-14 12:42:56 -07:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00