Skip to content

Fixing memory initialization in mesh class for 2d/3d meshes#49

Merged
jacob-moore22 merged 5 commits into
mainfrom
Testing_2d
May 15, 2026
Merged

Fixing memory initialization in mesh class for 2d/3d meshes#49
jacob-moore22 merged 5 commits into
mainfrom
Testing_2d

Conversation

@jacob-moore22
Copy link
Copy Markdown
Collaborator

@jacob-moore22 jacob-moore22 commented May 14, 2026

Fixes issues with allowing uninitialized memory (or incorrectly initialized memory) to be valid. Now a user must define the number of dimensions for the mesh.

Tested for abritrary order 3D meshes, and 2D polar meshes.

This will break things in Fierro, but only for the case where num_dim is not correctly set for the mesh, or the case where you want to partition a linear mesh with more than one quadrature point per element.

Copy link
Copy Markdown
Collaborator

@gavinwhetstone gavinwhetstone left a comment

Choose a reason for hiding this comment

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

lgtm

@jacob-moore22 jacob-moore22 merged commit c52f3ec into main May 15, 2026
6 checks passed
@jacob-moore22 jacob-moore22 deleted the Testing_2d branch May 15, 2026 15:42
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