Commit db228dfd authored by Michael Turner's avatar Michael Turner
Browse files

fix bug in tests

parent aee9ddbd
......@@ -328,7 +328,15 @@ void HOSurfaceMesh::Process()
// able to identify how to make it high-order
EdgeSet::iterator it = surfaceEdges.find(e);
ASSERTL0(it != surfaceEdges.end(),"could not find edge in surface");
e->m_parentCAD = (*it)->m_parentCAD;
if((*it)->m_parentCAD)
{
e->m_parentCAD = (*it)->m_parentCAD;
}
else
{
e->m_parentCAD = s;
}
vector<NodeSharedPtr> honodes(m_mesh->m_nummode - 2);
......
<NEKTAR>
<CONDITIONS>
<MESHING>
<SOLVERINFO>
<INFORMATION>
<I PROPERTY="CADFile" VALUE="cylinder.STEP" />
<I PROPERTY="MeshType" VALUE="Euler" />
</SOLVERINFO>
</INFORMATION>
<PARAMETERS>
<P> MinDelta = 0.005 </P>
<P> MaxDelta = 0.2 </P>
<P> EPS = 0.1 </P>
<P> Order = 4 </P>
<P PARAM="MinDelta" VALUE="0.005" />
<P PARAM="MaxDelta" VALUE="0.2" />
<P PARAM="EPS" VALUE="0.1" />
<P PARAM="Order" VALUE="4" />
</PARAMETERS>
</CONDITIONS>
</NEKTAR>
</MESHING>
</NEKTAR>
\ No newline at end of file
<NEKTAR>
<CONDITIONS>
<MESHING>
<SOLVERINFO>
<INFORMATION>
<I PROPERTY="CADFile" VALUE="sphere.STEP" />
<I PROPERTY="MeshType" VALUE="Euler" />
<I PROPERTY="SurfaceOpt" VALUE="TRUE" />
</SOLVERINFO>
</INFORMATION>
<PARAMETERS>
<P> MinDelta = 0.01 </P>
<P> MaxDelta = 0.2 </P>
<P> EPS = 0.01 </P>
<P> Order = 4 </P>
<P> BLThick = 0.02 </P>
<P PARAM="MinDelta" VALUE="0.01" />
<P PARAM="MaxDelta" VALUE="0.2" />
<P PARAM="EPS" VALUE="0.01" />
<P PARAM="Order" VALUE="4" />
</PARAMETERS>
</CONDITIONS>
<BOOLPARAMETERS>
<P VALUE="SurfOpti" />
</BOOLPARAMETERS>
</MESHING>
</NEKTAR>
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