Commit Graph
81 Commits
Author SHA1 Message Date
John Camier ea3bed0a91 Merge branch 'master' into lor_dg_preconditioner 2025-09-19 07:41:30 -07:00
Will Pazner f4d0cef65c Compute PtAP when needed in batched LOR assembly
In serial on AMR meshes, the P matrix will not be identity.
2025-06-11 09:24:06 -07:00
AnthonyandWill Pazner 4ce11b4a12 Add comment
Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2025-05-06 14:16:49 -07:00
Will Pazner c271283490 Fix lambda capture
Resolve error: lambda capture 'this' is not used
2025-04-28 19:03:19 -07:00
Will Pazner 936f1fc848 Parallel LOR+DG assembly 2025-04-28 15:14:18 -07:00
Will Pazner f7fa092013 Batched LOR DG GPU fixes
For integers a and b, converting pow(a,b) to integer truncates, which
can cause indexing issues.

For example, in a CUDA kernel, int(pow(3,1)) evaluates to 2.
2025-04-28 15:14:18 -07:00
Will Pazner 0303f12887 Minor LOR+DG modifications 2025-04-28 15:14:18 -07:00
Will Pazner 9803cbb671 Simplify LOR+DG implementation 2025-04-28 15:14:18 -07:00
Toni-ko 277199c3a5 gpu compatiblility 2025-04-28 15:14:18 -07:00
Toni-ko e78c1b8b4c passes orientation tests 2025-04-28 15:14:18 -07:00
Toni-ko e49854f3ba Passes tests on ref cube, inline-hex, and any version of inline-hex where nx, ny, nz, sx, sy, and/or sz are changed. 2025-04-28 15:14:18 -07:00
Toni-ko 0bb71aa1fa Passes tests on ref-cube, and inline-hex (including when nx, ny, nz or sx, sy, and sz are changed). 2025-04-28 15:14:18 -07:00
Toni-ko 8a1a264eaa some clean-up 2025-04-28 15:14:18 -07:00
Anthony Kolshorn 606a597303 debugging for gpu 2025-04-28 15:14:18 -07:00
Toni-ko 208f9b81b3 gpu debugging 2025-04-28 15:14:18 -07:00
Will Pazner b8fe4cbf97 Get (p+2) Lobatto vertex coordinates for DG LOR 2025-04-28 15:14:18 -07:00
Will Pazner 986cee600f make style 2025-04-28 15:14:17 -07:00
Toni-ko 7634a4b663 Correct sparsity Pattern for LOR DG, wrong values 2025-04-28 15:14:17 -07:00
Will Pazner 1368cfb8cb Framework for LOR DG preconditioner assembly 2025-04-28 15:14:17 -07:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08: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
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
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00
dylan-copeland b78275e79e Merge branch 'master' of github.com:mfem/mfem into float 2023-11-13 07:41:47 -08:00
Dylan Copeland d02a90f9f2 Generalized type for PA kernels. 2023-11-01 16:31:49 -07:00
Will Pazner 369e76bd18 Support surface meshes in batched LOR assembly 2023-09-19 19:56:45 -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 84517f4357 Cleanup 2023-02-09 16:33:45 -08:00
camierjs 018d5cfb8b Debugging lambdas in mfem::forall 2023-02-08 15:03:34 -08:00
Will Pazner 100caf5200 Support general coefficient types in batched LOR 2022-09-16 20:43:09 -07:00
Tzanio Kolev b3a37687a0 Merge pull request #3023 from mfem/yohann/explicit-cast-mandel
Add an explicit cast to avoid implicit cast warning.
2022-07-29 07:56:28 -07:00
Tzanio Kolev a46cf91039 Fixed additional instances of implicit type conversion 2022-06-24 09:43:50 -07:00
Yohann Dudouit b9afa1fe99 Fix the fix. 2022-06-13 18:17:51 -07:00
Yohann Dudouit 5275b4926d Move HypreStealOwnership in hypre.hpp/cpp. 2022-06-13 15:47:02 -07:00
Yohann Dudouit b3128b0897 Remove unnecessary header. 2022-06-13 10:59:54 -07:00
Yohann Dudouit fb7fdecb9f Use moved methods. 2022-06-13 10:59:38 -07:00
Yohann Dudouit e131e0f3a6 Rename SerialEliminateBC and ParallelEliminateBC in EliminateBC. 2022-06-06 16:07:05 -07:00
Yohann Dudouit 21dc848651 Factorize code between bilinearform_ext and lor. 2022-06-06 15:54:18 -07:00
Yohann Dudouit 6bb1aaba5d Refactor RAP and EliminateBC in FABilinearFormExtension 2022-05-24 10:29:48 -07:00
Veselin Dobrev 0f86d75372 Support for older hypre versions in fem/lor/lor_batched.cpp 2022-04-27 12:21:42 -07:00
Will Pazner 316bd204ba Add MFEM_CONTRACT_VAR 2022-04-13 12:42:05 -07:00
Will Pazner a011610a95 Comments and minor reorganization 2022-04-13 10:26:11 -07:00
Will Pazner 77b0c66af9 Remove some TODOs 2022-04-13 10:14:25 -07:00
Will Pazner eda8bbcf92 Batched LOR: use Array<int> instead of DenseMatrix for sparse map 2022-03-29 21:59:51 -07:00
Will Pazner 402de26457 Batched LOR: refactor
Instead of the specialized classes (H1, ND, RT) for batched LOR assembly being
derived from the abstract base class BatchedLORAssembly, they are instead
independent.

BatchedLORAssembly is now a concrete class, and it dispatches to the specialized
classes in BatchedLORAssembly::AssemblyKernel.

This is intended to reduce duplication and allow for the reuse of the
BatchedLORAssembly object
2022-03-29 21:59:51 -07:00
Will Pazner b2f8bcdd9c Batched LOR: refactor AMS and ADS classes 2022-03-28 20:47:02 -07:00
Will Pazner 9f514fea16 Batched LOR: RT in 2D 2022-03-25 17:34:39 -07:00
Will Pazner 2212ba044a Batched LOR: add MPI ifdefs 2022-03-23 10:47:58 -07:00