Commit c4810613 authored by Dave Moxey's avatar Dave Moxey
Browse files

Fixed reorientation problem with InputNek.

git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@4038 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
parent f412f430
......@@ -407,11 +407,11 @@ namespace Nektar
boost::dynamic_pointer_cast<Prism>(el);
if (p->orientation == 1)
{
faceId = (faceId+2) % 5;
faceId = (faceId+2) % 6;
}
else if (p->orientation == 2)
{
faceId = (faceId+4) % 5;
faceId = (faceId+4) % 6;
}
}
else if (el->GetConf().e == eTetrahedron)
......@@ -777,11 +777,11 @@ namespace Nektar
boost::dynamic_pointer_cast<Prism>(elm);
if (p->orientation == 1)
{
faceId = (faceId+2) % 5;
faceId = (faceId+2) % 6;
}
else if (p->orientation == 2)
{
faceId = (faceId+4) % 5;
faceId = (faceId+4) % 6;
}
}
else if (elm->GetConf().e == eTetrahedron)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment