-
Notifications
You must be signed in to change notification settings - Fork 239
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
Add quadratic mesh element types #656
Conversation
00b2c5e
to
9b8fd4c
Compare
Maybe for |
f06b2ab
to
d3b7c48
Compare
@bilke I added a reordering of the nodes for PRISM15 |
@@ -144,39 +145,40 @@ int VtkMeshSource::RequestData( vtkInformation* request, | |||
for (unsigned j = 0; j < nElemNodes; ++j) | |||
point_ids->SetId(j, elem->getNode(j)->getID()); | |||
|
|||
switch (elem->getGeomType()) | |||
type = OGSToVtkCellType(elem->getCellType()); | |||
if (type==0) |
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.
A constant 0 could potentially change. Better to use something along
if (type == CellType::INVALID)
(Introduce it if necessary).
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.
done
ec49a68
to
67173ad
Compare
⏩ |
67173ad
to
03fa58c
Compare
Rebased w/o conflicts on master and merged. |
Add quadratic mesh element types
Add quadratic mesh element types
OpenGeoSys development has been moved to GitLab. |
This PR implements quadratic version of Tri, Tet, Hex, Prism and Pyramid elements in MeshLib. I also tried to involve them in InSituLib.