Skip to content
Snippets Groups Projects
Commit 904a56f3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent c4c6086e
No related branches found
No related tags found
No related merge requests found
......@@ -380,8 +380,8 @@ class MHexahedron27 : public MHexahedron {
}
virtual MVertex *getVertexVTK(int num)
{
static const int map[27] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 9, 16, 18, 19, 17, 10, 12, 14,15, 22,
23, 21, 24, 20, 25, 26};
static const int map[27] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 9, 16, 18, 19,
17, 10, 12, 14,15, 22, 23, 21, 24, 20, 25, 26};
return getVertex(map[num]);
}
virtual int getNumEdgeVertices() const { return 12; }
......
......@@ -327,7 +327,10 @@ class MTriangleN : public MTriangle {
Msg::Error("no tag matches a p%d triangle with %d vertices", _order, 3+_vs.size());
return 0;
}
virtual int getTypeForVTK() const { return (_order==2) ? 22 : MTriangle::getTypeForVTK(); }
virtual int getTypeForVTK() const
{
return (_order == 2) ? 22 : MTriangle::getTypeForVTK();
}
virtual void reverse()
{
MVertex *tmp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment