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

make assert throw consistent between geometry models for whether a po… #5197

Merged

Conversation

mfmweerdesteijn
Copy link
Contributor

When using a spherical shell with 90 degrees opening angle and with initial lithostatic pressure on the lateral boundaries, initially the error is "After displacement of the mesh, this function can no longer be used to determine whether a point lies in the domain or not.", from the point_is_in_domain function. Does message does not appear for a box and chunk geometry, and it should be able to assess whether this given point (for the initial lithostatic pressure), is in the domain or not because this assessment happens before any mesh/free surface deformation.

I now changed the AssertThrow in the spherical shell to the same conditions as in the box geometry, and also made the chunk assertthrow consistent with that of the box geometry. (also see issue #4715 )

Copy link
Contributor

@bangerth bangerth left a comment

Choose a reason for hiding this comment

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

Yes, thanks for fixing this!

Copy link
Member

@gassmoeller gassmoeller left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good to go if the testers succeed. 👍

@bangerth bangerth merged commit 401ed30 into geodynamics:main Jul 7, 2023
6 checks passed
@mfmweerdesteijn mfmweerdesteijn deleted the make_assertthrow_consistent branch July 7, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants