Commit Graph
67 Commits
Author SHA1 Message Date
Will Pazner 7cda1566e2 Support AMR meshes in NormalTraceJumpIntegrator::AssembleEAInteriorFaces
Handle map type INTEGRAL in InterpolationManager.

For point matrices corresponding to non-conforming faces, the Jacobian may be
inverted.
2025-08-08 10:37:24 -07:00
Veselin Dobrev 4816fa0849 Added the option to enable GPU-aware MPI in MFEM using the environment
variable 'MFEM_GPU_AWARE_MPI' set to any value. Setting this environment
variable is an alternative to calling 'Device::SetGPUAwareMPI(true)'.

In Device::Print, show the GPU-aware MPI usage status when using a device
backend.

Update some unit tests to better handle failures.
2025-06-25 11:47:31 -07:00
Andrew Ho 0b632bf3d4 Merge remote-tracking branch 'base/master' into hip-unit-tests 2025-04-04 11:39:35 -07:00
Will Pazner 001f6e6137 Fix H(div) Element Assembly unit test with CUDA 2025-03-28 11:34:28 -07:00
Andrew Ho 8fbfdb19fe added general GPU and CUDA/HIP-specific unit tests
added gpu, raja-gpu, etc. for generic GPU device configuration
2025-03-24 13:23:43 -07:00
Will Pazner f7a5a79d34 Add missing include 2025-02-20 10:06:45 -08:00
Will Pazner 53365490b7 Merge remote-tracking branch 'origin/master' into hybridization-gpu
# Conflicts:
#	tests/unit/fem/test_assembly_levels.cpp
2025-02-20 09:12:41 -08:00
Will Pazner e797278779 Merge remote-tracking branch 'origin/master' into hybridization-gpu
# Conflicts:
#	fem/integ/bilininteg_mass_pa.cpp
#	tests/unit/fem/test_assembly_levels.cpp
2025-02-07 14:24:06 -08:00
Tzanio Kolev bd48e8e4b9 Merge branch 'master' into fa-mesh-connectivity 2025-02-04 14:54:52 -08:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Will Pazner 7e59798592 Merge remote-tracking branch 'origin/master' into fa-mesh-connectivity 2025-01-16 12:20:36 -08:00
Will Pazner 761be16003 Support full assembly on highly connected meshes
Instead of using a constant estimate for the maximum mesh valence (16 by
default), compute the maximum mesh connectivity, and use global memory in
ElementRestriction::FillI and ElementRestriction::FillJAndData to store the
arrays needed to deduplicate assembly.

Adds a unit test with highly connected meshes.
2024-12-26 11:17:00 -08:00
Will Pazner ae9ee68c82 Fix shadowed variable warning 2024-11-07 11:35:56 -08:00
Will Pazner d448fd0811 Support element and boundary markers in Element Assembly 2024-06-14 10:37:57 -07:00
Will Pazner 14011b604f Add BilinearFormIntegrator::AssembleEABoundary, implement mass
Add unit test for mass EA and legacy boundary integrators.
2024-06-11 17:11:08 -04:00
Will Pazner 857f10f6a4 EA assembly kernels for 3D H(div) 2024-06-11 17:11:08 -04:00
Will Pazner 177fee04e5 3D element assembly for NormalTraceJumpIntegrator 2024-06-11 17:11:08 -04:00
Will Pazner c1e587a504 Fix NormalTraceJumpIntegrator Element Assembly unit test 2024-06-11 17:11:08 -04:00
Will Pazner 6be8650f71 Improve H(div) Element Assembly unit test 2024-06-11 17:11:07 -04:00
Will Pazner 9b54f750c9 Add NormalTraceJumpIntegrator::AssembleEAInteriorFaces
Uses existing EA kernels for mass integrator.

Add unit test to compare with legacy assembly.

Also, fixes bug in EA mass kernel in 1D (r_Bi and r_Bj need to be set inside a
MFEM_FOREACH_THREAD loop).
2024-06-11 17:11:07 -04:00
Will Pazner 6b802a0ec0 Element assembly for div-div in 2D 2024-06-11 17:11:07 -04:00
Will Pazner 31f4f5b2bb Element assembly for 2D H(div) mass matrix 2024-06-11 17:11:07 -04:00
Will Pazner 0e135ff1d0 Enable "Serial H1 Full Assembly" unit test without MPI 2024-06-11 17:11:07 -04: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
Tzanio Kolev 687ef84488 Merge pull request #4056 from mfem/yohann/fa-dg-amr
Add support for `AssemblyLevel::FULL` for DG on `NCMesh`.
2024-04-03 08:34:29 -07:00
Dylan Copeland c009fb9bde Merge branch 'master' of github.com:mfem/mfem into float 2024-03-15 11:31:39 -07:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Yohann Dudouit 8eef6da0c1 Add support for full assembly on non-conforming meshes. 2023-12-29 09:55:43 -08:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Veselin Dobrev 1482864193 Remove the need to explicitly call EnsureMultTranspose in the
classes SparseMatrix and HypreParMatrix.

Added new methood HypreParMatrix::ResetTranspose.

Added some crarifying doxygen documentation.
2022-10-20 16:03:23 -07:00
Yohann Dudouit 63599be6a6 Set diagonal policy in test_assembly_levels. 2022-08-02 13:04:10 -07:00
Yohann Dudouit b81fa9f479 Rename TestSameMatrices to CompareMatricesNonZeros. 2022-06-16 09:49:54 -07:00
Yohann Dudouit c81506c238 Use random values instead of constant values. 2022-06-16 09:24:58 -07:00
Yohann Dudouit 78cf39781d make style. 2022-06-02 17:09:44 -07:00
Yohann Dudouit 0a051d9428 Add serial test. 2022-05-17 17:45:32 -07:00
Yohann Dudouit 4104e010d5 Add RAP and EliminateBC methods. 2022-05-17 16:55:29 -07:00
Yohann Dudouit beaaa373ee Merge remote-tracking branch 'origin/fa-hypre-par-matrix' into yohann/fa-form-system 2022-05-17 16:12:02 -07:00
Yohann Dudouit d6d597adbd Fix device mask. 2022-04-19 11:33:31 -07:00
Will Pazner 107b5c236e Compare RHS vectors in assembly level unit test 2022-04-14 16:39:24 -07:00
Will Pazner 1ca041cabc Add (failing) unit test for AssemblyLevel::FULL HypreParMatrix 2022-03-31 15:16:16 -07:00
Yohann Dudouit b6d9832f43 Guard fichera-q3 from device runs (memory issues). 2022-03-23 12:50:22 -07:00
Yohann Dudouit 10faf13585 More EnsureMultTranspose. 2022-03-23 11:36:41 -07:00
Yohann Dudouit 1a75cd85ed Add EnsureMultTranspose. 2022-03-23 11:33:30 -07:00
Yohann Dudouit aa47e6dd83 Add [CUDA] to tests that support running on CUDA devices. 2022-03-15 11:36:36 -07:00
camierjs bb5b308b0a Add default integration rules for test_assembly_levels and test_pa_kernels 2022-03-02 11:14:54 -08:00
camierjs 2d6e0584a6 Merge master in diffusion_pa_ker_revert 2022-03-01 12:01:05 -08:00
camierjs bff8b7e295 Add unit tests with qorders 2022-03-01 11:33:24 -08:00
camierjs b98568cfb5 Fix bilininteg_diffusion_pa and upgrade tests/unit/fem/test_assembly_levels 2022-03-01 10:51:45 -08:00
Tzanio Kolev 5308d285f7 Merge pull request #2855 from mfem/copyright-2022
Extended copyright to 2022
2022-03-01 07:41:29 -08:00
Yohann Dudouit 8e164f52c7 Test MultTranspose. 2022-02-25 16:22:59 -08:00