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
Conversation
@@ -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)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MeshLib::Tet const& tet(*dynamic_cast<MeshLib::Tet const*>(element)); | |
MeshLib::Tet const& tet = *static_cast<MeshLib::Tet const*>(element); |
Type is already checked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed for all cases.
There was a problem hiding this 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, ⏩
1f1718c
to
9345bbf
Compare
7378f39
to
4eb2165
Compare
Changelog updated. |
4eb2165
to
0c4f7b1
Compare
The test also tests the openflowboundary for the non advective implementation of hc process --amend
0c4f7b1
to
ddb4fb6
Compare
OpenGeoSys development has been moved to GitLab. |
Implementation of coordinate-mapping derived by @TomFischer for tetrahedrons.
Test for this functionality included in PR