Skip to content

[WIP] Add MFEM-native mesh generator infrastructure#32834

Draft
lindsayad wants to merge 1 commit intoidaholab:nextfrom
lindsayad:mfem-mesh-generation-32827
Draft

[WIP] Add MFEM-native mesh generator infrastructure#32834
lindsayad wants to merge 1 commit intoidaholab:nextfrom
lindsayad:mfem-mesh-generation-32827

Conversation

@lindsayad
Copy link
Copy Markdown
Member

@lindsayad lindsayad commented Apr 24, 2026

Introduces MFEMMeshGenerator (abstract base + carrier pipeline), MFEMGeneratedMeshGenerator (structured Cartesian meshes in 1D/2D/3D with named boundary sets), and refactors the existing MFEM mesh hierarchy so MFEMMesh is the abstract base and MFEMFileMesh is the concrete file-reading subclass. Updates MFEMProblem::mesh() to accept any MFEMMesh subclass, bulk-renames test input files from MFEMMesh to MFEMFileMesh, and adds doc pages for MFEMGeneratedMeshGenerator, MFEMFileMesh, and MFEMElementAverageValue.

Closes #32827

@lindsayad lindsayad changed the title Add MFEM-native mesh generator infrastructure [WIP] Add MFEM-native mesh generator infrastructure Apr 24, 2026
@moosebuild
Copy link
Copy Markdown
Contributor

Job Precheck, step Clang format on 54144f1 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/docs/PRs/32834/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format 1b9961eaa2b703606cb4e752ce00abfc47a650b3

@lindsayad
Copy link
Copy Markdown
Member Author

lindsayad commented Apr 24, 2026

will require mfem/mfem#5316

Introduces MFEMMeshGenerator (abstract base + carrier pipeline), MFEMGeneratedMeshGenerator
(structured Cartesian meshes in 1D/2D/3D with named boundary sets), and refactors the existing
MFEM mesh hierarchy so MFEMMesh is the abstract base and MFEMFileMesh is the concrete
file-reading subclass. Updates MFEMProblem::mesh() to accept any MFEMMesh subclass,
bulk-renames test input files from MFEMMesh to MFEMFileMesh, and adds doc pages for
MFEMGeneratedMeshGenerator, MFEMFileMesh, and MFEMElementAverageValue.

Closes idaholab#32827

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lindsayad lindsayad force-pushed the mfem-mesh-generation-32827 branch from 54144f1 to b809d96 Compare April 24, 2026 20:17
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.

Native-ish MFEM mesh generators

2 participants