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

Fix oriented bounding box calculation for lumped ports, in preparation for #261 #268

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

sebastiangrimberg
Copy link
Contributor

Very minor perturbations to a perfect quadrilateral or rectangular prism caused the entire algorithm to fail and led to failed MFEM_VERIFY statements for the direction in UniformElementData's constructor.

@sebastiangrimberg sebastiangrimberg added bug Something isn't working mesh Related to meshes and mesh generation labels Jun 20, 2024
Copy link
Collaborator

@hughcars hughcars left a comment

Choose a reason for hiding this comment

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

One small refactor but the direction discovery algorithm looks good to me.

palace/utils/geodata.cpp Outdated Show resolved Hide resolved
palace/utils/geodata.cpp Outdated Show resolved Hide resolved
@sebastiangrimberg sebastiangrimberg changed the base branch from sjg/mesh-simplex-dev to main June 26, 2024 21:17
@sebastiangrimberg sebastiangrimberg merged commit f6e499d into main Jun 26, 2024
17 checks passed
@sebastiangrimberg sebastiangrimberg deleted the sjg/lumped-ports-bbox branch June 26, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mesh Related to meshes and mesh generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants