Commit 28a36772 authored by Dave Moxey's avatar Dave Moxey

Fix bug with relative edge/face orientation, downgrade hex test to order 5...

Fix bug with relative edge/face orientation, downgrade hex test to order 5 (Gmsh hex output seems to break at orders >= 6)
parent 7d2ce6f3
......@@ -80,7 +80,7 @@ ENDIF (NEKTAR_USE_VTK)
ADD_NEKTAR_TEST (invalid_tet_face)
# Gmsh tests
ADD_NEKTAR_TEST (Gmsh/CubeAllElements)
#ADD_NEKTAR_TEST (Gmsh/CubeHex)
ADD_NEKTAR_TEST (Gmsh/CubeHex)
ADD_NEKTAR_TEST (Gmsh/CubePrism)
ADD_NEKTAR_TEST (Gmsh/CubeTet)
IF (WIN32)
......
......@@ -513,8 +513,8 @@ namespace Nektar
for (int i = 0; i < nEdge; ++i)
{
edgeo[i] = SpatialDomains::SegGeom::GetEdgeOrientation(
*edges[i], *edges[(i+1) % nEdge]);
edgeo[i] = m_edgeList[i]->m_n1 == m_vertexList[i] ?
StdRegions::eForwards : StdRegions::eBackwards;
}
if(m_faceNodes.size() > 0)
......@@ -582,7 +582,7 @@ namespace Nektar
{
bool reverseEdge = edgeo[i] == StdRegions::eBackwards;
if (!reverseEdge)
if (reverseEdge)
{
for (int j = 1; j < n-1; ++j)
{
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
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