Commit Graph
100 Commits
Author SHA1 Message Date
camierjs 3803c3305e - Remove unnecessary general/forall.hpp include in miniapps and tests
- Fix cast warnings in mesh (nc)nurbs files
2025-12-04 16:49:09 -08:00
camierjs 298a4bc32a Avoid CopyFrom in DeviceConformingProlongationOperator 2025-06-22 18:18:03 -07:00
camierjs 8410c205a3 [undefined] test_sedov DeltaCoefficient SetWeight 2025-06-19 07:48:01 -07:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Will Pazner 2ac825abe8 Merge remote-tracking branch 'origin/master' into pa-empty-partitions
# Conflicts:
#	fem/bilininteg.cpp
#	fem/quadinterpolator.cpp
2024-11-22 11:05:49 -08:00
Will Pazner b023416c47 Use override specifier in more places
Identified using clang-tidy check 'modernize-use-override'
2024-08-05 09:45:46 -07:00
Will Pazner 1241960dc4 Merge remote-tracking branch 'origin/master' into pa-empty-partitions
# Conflicts:
#	fem/gridfunc.cpp
2024-06-24 10:16:56 -07:00
Veselin Dobrev 806919d354 Fix the GNU make build of the sedov and tmop unit tests.
Small tweaks in the sedov and tmop unit tests.
2024-05-03 14:38:50 -07:00
Sebastian Grimberg 1cc738f1b4 Fix a few comments 2024-05-03 12:04:13 -07:00
Sebastian Grimberg 9364e10c06 Fix mfem::Device construction for miniapps tests 2024-05-03 11:59:05 -07:00
Will Pazner 9aba2322fc Replace some instances of GetElementBaseGeometry(0) with m.GetTypicalElementGeometry 2024-04-23 14:45:30 -07:00
Will Pazner ef9043a122 Replace many instances of GetFE(0) with GetTypicalFE()
Also replace many instances of GetElementTransformation(0) with
GetTypicalElementTransformation() and instances of GetElementGeometry(0) with
GetTypicalElementGeometry().

Remove some "early returns" in PA code with empty partitions. The reasoning is
that the early returns create divergent code paths among different MPI ranks,
which can cause deadlocks if e.g. collectives are used in code paths on not all
ranks.
2024-04-23 14:45:30 -07:00
Sebastian Grimberg 1fbeee2270 Fix unit tests errors when running on CPU with GPU builds 2024-04-19 15:49:12 -07:00
Dylan Copeland c87b67e4f6 Reverting some changes to abs, min, max. 2024-03-16 11:10:06 -07:00
Dylan Copeland c009fb9bde Merge branch 'master' of github.com:mfem/mfem into float 2024-03-15 11:31:39 -07:00
Dylan Copeland 046a874cfb Merge branch 'master' of github.com:mfem/mfem into float 2024-02-06 10:56:41 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Dylan Copeland ee3a46af24 Added support for LAPACK in single-precision. Changed fmax -> std::max, etc. 2023-10-31 14:30:44 -07:00
camierjs dce372389b Merge master in forall 2023-03-24 07:52:56 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
camierjs 018d5cfb8b Debugging lambdas in mfem::forall 2023-02-08 15:03:34 -08:00
Will Pazner 6ac671baa7 Use Mpi class instead of MPI_Init and MPI_Finalize 2022-03-11 17:58:01 -08:00
Will Pazner 4ace41773d Remove Mpi::Session, access directly using static member functions 2022-03-11 15:41:07 -08:00
Will Pazner 8d812ec8c3 Rename MPI class to Mpi to avoid conflict with (deprecated) C++ MPI namespace 2022-03-11 13:43:14 -08:00
camierjs ae3c79a493 Fix mpi sedov w/o device test 2022-03-09 08:53:48 -08:00
Will Pazner 6602fdd255 Remove GlobalMPISession in TMOP unit tests 2022-03-09 08:34:23 -08:00
Tzanio f2cad1e55b MPI_Session -> MPI singleton in examples, miniapps and tests 2022-03-08 19:29:45 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Veselin Dobrev fa80f24449 Merge branch 'master' into artv3/hypre-with-hip
Resolved conflict:
   miniapps/shifted/makefile
2022-02-04 16:08:42 -08:00
Arturo Vargas 46df499e23 edit pass - PR comments 2022-02-03 11:48:58 -08:00
Arturo Vargas 4a6a421ea9 macro styling changes 2022-01-27 11:46:27 -08:00
Arturo Vargas 3dbaa74933 additional fixes for examples/mini-apps 2022-01-04 13:54:33 -08:00
Stowell, Mark L 5e672f26bc Removing unneeded function after consulting @camierjs 2021-12-29 10:24:18 -08:00
Stowell, Mark L 475d3d8102 Fixing shadow variables in unit tests 2021-12-28 11:42:51 -08:00
Adrien M. Bernede f4dbd3743d Applying Astyle 3.1 2021-09-03 12:14:24 -07:00
Tzanio 0eca8d9517 Skip a unit test 2021-07-26 15:22:05 -07:00
Tzanio cc9fda7d8f Merge branch 'master' into form-linear-system-tweak 2021-07-15 18:29:13 -07:00
camierjs af67af1306 Merge master in tmopt 2021-05-18 17:39:36 -07:00
Veselin Dobrev b7ab371c80 Tweak the impementation of Vector::NewMemoryAndSize to create
an alias when the 'own_mem' parameter is fasle.

Several simplifications/tweaks related to Vector::NewMemoryAndSize
and Vector::MakeRef in BlockVector, GridFunction, LinearForm, and
ParBlockNonlinearForm.

Add more MFEM_ASSERTs in MemoryManager::Delete_.

Remove MemoryManager::RegisterAliasBases().

In Memory<T>::MakeAlias, register the 'base' when the globally
configured device memory type (which can be a host type, e.g. when
running on host) is a device memory type. Always registering the
'base' creates errors in the unit tests:
   "alias already exists with different base/offset!"
which are probably due to dangling aliases. If we want to always
register the 'base', we need to address these errors.

Updated the unit test "MemoryManager/Scopes" to test for the new
behavior of Vector::NewMemoryAndSize.

Disable the unit test "MemoryManager" since it defined a Device
object which destroys the MemoryManager at the end of the test.
2021-05-12 13:47:11 -07:00
Aaron Fisher e758c37691 Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether. 2021-05-10 16:06:51 -07:00
Veselin Dobrev b8ed750ddd A number of tweaks and fixed in the CMake and GNU make build
systems for the unit tests.
2021-05-07 18:55:52 -07:00
camierjs b8f89523c5 Revert GeometricFactors API 2021-05-04 18:43:45 -07:00
camierjs b3a4823835 Merge master in tmopt 2021-05-04 08:42:13 -07:00
camierjs e2bce15d44 Merge master in tmopt 2021-04-12 09:30:18 -07:00
Julian Andrej a9ea9cba15 Merge branch 'master' into hypre-mixedint 2021-04-09 12:00:35 -07:00
camierjs 2b2919b806 Merge master in tmopt 2021-03-28 12:51:39 -07:00
Will Pazner eeb62b3124 Merge remote-tracking branch 'origin/master' into tri-tet-lor
# Conflicts:
#	fem/fespace.hpp
#	mesh/mesh.cpp
#	tests/unit/fem/test_lin_interp.cpp
2021-03-11 19:12:34 -08:00
Jakub Červený 2949fa9563 WIP trying an approach where there is no distinction between element
order and degree. FESpace works with actual degrees, even for RT space.
The methods GetXDegree are removed, GetOrder is the same as GetElementOrder.
2021-02-26 16:02:21 +01:00
Will Pazner 992735c992 Add Mesh::LoadFromFile 2021-02-18 20:16:10 -08:00
Will Pazner 39e9406b99 Change deprecated mesh constructors in unit tests and miniapps 2021-02-17 14:32:06 -08:00