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

Functionalyties for tets in MapBulkElementPoint.cpp #2662

Merged
merged 2 commits into from Sep 13, 2019

Conversation

jbathmann
Copy link

Implementation of coordinate-mapping derived by @TomFischer for tetrahedrons.
Test for this functionality included in PR

@@ -117,6 +138,11 @@ MathLib::Point3d getBulkElementPoint(MeshLib::Mesh const& mesh,
*dynamic_cast<MeshLib::Prism const*>(element));
return getBulkElementPoint(prism, bulk_face_id, wp);
}
if (element->getCellType() == MeshLib::CellType::TET4)
{
MeshLib::Tet const& tet(*dynamic_cast<MeshLib::Tet const*>(element));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
MeshLib::Tet const& tet(*dynamic_cast<MeshLib::Tet const*>(element));
MeshLib::Tet const& tet = *static_cast<MeshLib::Tet const*>(element);

Type is already checked.

Copy link
Author

Choose a reason for hiding this comment

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

Changed for all cases.

Copy link
Member

@endJunction endJunction left a comment

Choose a reason for hiding this comment

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

Looks good!
Update the changelog, ⏩

@jbathmann jbathmann force-pushed the tet_to_bulk_element_mapping branch 2 times, most recently from 1f1718c to 9345bbf Compare September 12, 2019 14:53
@endJunction endJunction added the changlog missing Add a description to changelog label Sep 12, 2019
@jbathmann
Copy link
Author

Changelog updated.

@TomFischer TomFischer removed the changlog missing Add a description to changelog label Sep 13, 2019
bathmann added 2 commits September 13, 2019 12:34
The test also tests the openflowboundary for the non advective implementation of hc process

--amend
@TomFischer TomFischer merged commit 8dc50b3 into ufz:master Sep 13, 2019
@ogsbot
Copy link
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants