Commit Graph
20 Commits
Author SHA1 Message Date
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio 58872c9e7b Merge branch 'master' into okina-mmu
Conflicts:
	fem/datacollection.cpp
	tests/unit/CMakeLists.txt
2020-03-04 15:19:33 -08: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
Veselin Dobrev 9499d49e9f Variour tweaks and simplifications, coordinated with @camierjs. 2020-02-14 16:25:40 -08:00
camierjs 6d3dc3ff80 Update MFEM_CONTRACT_VAR to avoid nvcc warnings 2020-02-05 15:12:22 -08:00
camierjs 07889899b2 BlockMatrix CreateMonolithic fix,
Add MFEM_INIT_WARNING and MFEM_INIT_ABORT
Move Backend::DEBUG as last MFEM device
2020-02-04 12:22:22 -08:00
Veselin Dobrev dbbc52366c Add a new macro, MFEM_ASSERT_INDEX_IN_RANGE, and use it to add
range checks in class DenseTensor.
2019-11-15 14:10:32 -08:00
Veselin Dobrev da2fb88a17 Improved uniform refinement of tetrahedral meshes
In class Mesh/ParMesh:
  * Move the serial implementation of UniformRefinement3D to a new
    method: UniformRefinement3D_base. The implementations of the virtual
    method UniformRefinement3D (which now have no parameters) use the
    new UniformRefinement3D_base method.
  * In UniformRefinement3D_base, implemented two algorithms for choosing
    how to split the middle octahedron when refining a tetrahedron by
    cutting off its four corner tets. (These four tets have the same
    shape as the original tet and half the edge-length.) The choice of
    the algorithm is hard-coded in a const variable for now.
  * Add an optional parameter to UniformRefinement which is used to
    choose how to refine tet-only meshes: the default choice is to use
    the new algorithm defined by UniformRefinement3D; the second option
    is to use the old default - call LocalRefinement (marking all
    elements) to perform 3 levels of bisection. The new algorithm
    always produces elements with better shape (aspect ratio) than the
    old default (at least for the meshes in the data/ directory and a
    few other meshes).
  * Make the method Finalize virtual - its implementation in parallel
    requires updates in the ParMesh data.
  * Add a consistency check in ParMesh::ReorientTetMesh that verifies
    the assumption made in the method about the update of the shared
    triangles.
  * Simplify implementation of some methods in class ParMesh by
    separating common code in a new protected method: FinalizeParTopo.

Other updates:
  * In the examples and miniapps, when using a tet-only mesh which is
    first refined uniformly and then locally, it is now necessary to
    call the method Mesh::Finalize(true) (which is now virtual) in order
    to mark the elements for local refinement after the uniform
    refinement.
  * In example 12p, use better random seed values.
  * In examples 3/3p, add a sample run with order=2 on a tet mesh - this
    will test the methods {Mesh,ParMesh}::ReorientTetMesh. Previously,
    these were only tested by one sample run in example 4p.
  * In the mesh-explorer miniapp, add a refinement option to perform
    uniform refinement of tet-only meshes using bisection.
  * In the MFEM_LOCATION macro print the <file> and <line> location
    using a standard format: <file>:<line>, as used by most compilers
    when reporting warnings and errors.
  * Remove FIXME comments about mesh format v1.0.1.
2018-09-27 21:04:58 -07:00
Veselin Dobrev c3cb4ba35f Add an enumeration ErrorAction with two values (for now):
MFEM_ERROR_ABORT and MFEM_ERROR_THROW.

Replaced 'set_use_throw(bool)' with 'set_error_action(ErrorAction)' and
'get_use_throw()' with 'get_error_action()'.

Rename class MFEM_Exception to ErrorException.

Add MFEM_USE_EXCEPTIONS to version.cpp.

A few updates in the build systems related to the new build option
MFEM_USE_EXCEPTIONS.
2018-03-01 10:45:04 -08:00
Tzanio 0ef9ff252f Added MFEM_USE_EXCEPTIONS build options, so by default we don't compile any code with exceptions 2018-02-28 18:45:51 -08:00
Tzanio 5e09e1e214 make style 2018-02-21 11:30:25 -08:00
Syun'ichi Shiraiwa 7e237b53b0 added an option to throw an error 2018-02-19 16:28:13 +09:00
Veselin Dobrev 04e17853f5 Add a convenience function 'MakeParFilename'.
Tweak the output of MFEM_ASSERT and MFEM_VERIFY.
2018-01-08 23:26:53 -08:00
Veselin Dobrev 8e1de95b71 Fix for building under windows using MinGW. Not tested yet. 2017-05-13 13:53:31 -07:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00
Tzanio Kolev 6bfa95b718 Version 1.0 2010-07-21 13:14:05 -07:00