Commit 2dd24afd authored by Dave Moxey's avatar Dave Moxey

Fix bug in LocProject3D and tweak regression test tolerance

parent ed6aa656
......@@ -669,7 +669,7 @@ SpatialDomains::PyrGeomSharedPtr CreatePyrGeom(int argc, char *argv[])
// /////////////////////////////////////////////////////////////////////
// Set up Pyramid Edges
// SegGeom (int id, const int coordim), EdgeComponent(id, coordim)
const int nEdges = 9;
const int nEdges = 8;
const int vertexConnectivity[][2] = {
{0,1}, {1,2}, {3,2}, {0,3},
{0,4}, {1,4}, {2,4}, {3,4}
......@@ -687,7 +687,7 @@ SpatialDomains::PyrGeomSharedPtr CreatePyrGeom(int argc, char *argv[])
}
// ////////////////////////////////////////////////////////////////////
// Set up Prism faces
// Set up Pyramid faces
const int nFaces = 5;
const int edgeConnectivity[][4] = {
{0,1,2,3},
......
......@@ -844,7 +844,7 @@ SpatialDomains::PyrGeomSharedPtr CreatePyrGeom(int argc, char *argv[])
// /////////////////////////////////////////////////////////////////////
// Set up Pyramid Edges
// SegGeom (int id, const int coordim), EdgeComponent(id, coordim)
const int nEdges = 9;
const int nEdges = 8;
const int vertexConnectivity[][2] = {
{0,1}, {1,2}, {3,2}, {0,3},
{0,4}, {1,4}, {2,4}, {3,4}
......@@ -862,7 +862,7 @@ SpatialDomains::PyrGeomSharedPtr CreatePyrGeom(int argc, char *argv[])
}
// ////////////////////////////////////////////////////////////////////
// Set up Prism faces
// Set up Pyramid faces
const int nFaces = 5;
const int edgeConnectivity[][4] = {
{0,1,2,3},
......
......@@ -8,7 +8,7 @@
<value tolerance="1e-12">4.99628e-12</value>
</metric>
<metric type="Linf" id="2">
<value tolerance="1e-12">2.5608e-11</value>
<value tolerance="1e-9">2.5608e-11</value>
</metric>
</metrics>
</test>
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