Commit Graph
14 Commits
Author SHA1 Message Date
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 9f7a70668e make style 2019-02-14 18:36:24 -08:00
Stefano Zampini 47a75a6586 Need to cast to PetscInt*
HYPRE uses long long int* and whereas PETSc uses long int*
2019-01-24 17:24:19 +03:00
Veselin Dobrev 6e38d63b54 Add new class ProductOperator and add dimension checks in the classes
RAPOperator and TripleProductOperator.

A few minor tweaks in linalg/handle.[ch]pp.
2018-03-03 18:21:44 -08:00
Veselin Dobrev 784c36de4d Exclude/include code using hypre and petsc with appropriate #ifdef. 2018-01-25 20:38:59 -08:00
Veselin Dobrev c4d37e7d9a Add new Operator::Type - ANY_TYPE which represents the base class
Operator or any derived class. The operations that OperatorHandle
supports (e.g. MakeSquareBlockDiag, MakePtAP, etc) are implemented
so that they are valid for any derived Operator class. For example,
MakePtAP creates an object of class RAPOperator, and elimination of
boundary conditions is done using class ConstrainedOperator.

This will allow the "FormSystemMatrix" + "FormLinearSystem"
interface to support matrix-free local matrix representations.
2018-01-25 19:23:15 -08:00
Alexander Grayver 12cb5dcad7 Introduce DiagonalPolicy enum instead of int d argument 2017-11-06 14:27:37 +01: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
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 df85f12cb0 Avoid include the petsc.hpp in handle.hpp to prevent circular inclusions
hypre.hpp should be removed too, but handle.hpp depends on HYPRE_Int!
The integer type should be handled differently
2017-05-05 17:09:00 +03:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00