Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Auxkernel-like updates of MFEM AuxVariables #55

Merged
merged 9 commits into from
Feb 7, 2025

Conversation

alexanderianblair
Copy link
Contributor

MOOSE simulations commonly use AuxVariables for representing pre- or post-processed fields. This PR adds support for UserObject-based MFEMAuxKernels for use updating MFEMVariable AuxVariables during a solve, with an example and test demonstrated calculating a GridFunction defined as the curl of an H(curl) conforming MFEMVariable.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/auxkernels/MFEMAuxKernel.C 100.00% <100.00%> (ø)
src/auxkernels/MFEMCurlAux.C 100.00% <100.00%> (ø)
src/auxkernels/MFEMDivAux.C 100.00% <100.00%> (ø)
src/auxkernels/MFEMGradAux.C 100.00% <100.00%> (ø)
src/executioners/MFEMSteady.C 96.29% <100.00%> (+0.06%) ⬆️
src/executioners/MFEMTransient.C 100.00% <100.00%> (ø)
src/problem/MFEMProblem.C 93.75% <100.00%> (+0.09%) ⬆️

@alexanderianblair alexanderianblair force-pushed the alexanderianblair/auxkernels branch from 81162e6 to c0ccb4f Compare December 9, 2024 15:35
@alexanderianblair alexanderianblair force-pushed the alexanderianblair/auxkernels branch from c0ccb4f to 80b385b Compare January 31, 2025 17:19
@alexanderianblair alexanderianblair marked this pull request as ready for review February 3, 2025 23:00
Copy link
Collaborator

@cmacmackin cmacmackin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this generally looks good. Most of the suggestions I make are picky grammar things.

doc/content/source/auxkernels/MFEMCurlAux.md Outdated Show resolved Hide resolved
doc/content/source/auxkernels/MFEMDivAux.md Outdated Show resolved Hide resolved
doc/content/source/auxkernels/MFEMGradAux.md Outdated Show resolved Hide resolved
include/auxkernels/MFEMAuxKernel.h Outdated Show resolved Hide resolved
include/auxkernels/MFEMCurlAux.h Outdated Show resolved Hide resolved
src/auxkernels/MFEMDivAux.C Outdated Show resolved Hide resolved
src/auxkernels/MFEMGradAux.C Outdated Show resolved Hide resolved
src/auxkernels/MFEMGradAux.C Outdated Show resolved Hide resolved
test/tests/kernels/curlcurl.i Outdated Show resolved Hide resolved
test/tests/kernels/diffusion.i Outdated Show resolved Hide resolved
@alexanderianblair alexanderianblair merged commit 05e5f9b into main Feb 7, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants