Skip to content

Cleanup output system for writing truly constant monomial data#4491

Open
lindsayad wants to merge 3 commits into
libMesh:develfrom
lindsayad:p-refinement-mods
Open

Cleanup output system for writing truly constant monomial data#4491
lindsayad wants to merge 3 commits into
libMesh:develfrom
lindsayad:p-refinement-mods

Conversation

@lindsayad

Copy link
Copy Markdown
Member

There's a decent amount of operator== comparisons with FEType, and this would lead to rejection of the new p_refinement == false option for CONSTANT MONOMIAL finite element types when determining elemental data for output. This changeset consolidates some code into EquationSystems for use in both exodus and nemesis. We also consolidate our definition of elemental data to always include scalar field and vector field monomials. Consistent with previous library behavior we treat CONSTANT MONOMIAL with p_refinement == true as elemental data even though it's possible that if the mesh has been p-refined this conceptually may not be the case.

lindsayad and others added 3 commits July 7, 2026 10:10
There's a decent amount of `operator==` comparisons with `FEType`,
and this would lead to rejection of the new `p_refinement == false`
option for `CONSTANT MONOMIAL` finite element types when determining
elemental data for output. This changeset consolidates some code
into `EquationSystems` for use in both exodus and nemesis. We also
consolidate our definition of elemental data to always include scalar
field and vector field monomials. Consistent with previous library
behavior we treat `CONSTANT MONOMIAL` with `p_refinement == true` as
elemental data even though it's possible that if the mesh has been
p-refined this conceptually may not be the case.

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
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.

1 participant