Commit 97cdc146 authored by Michael Turner's avatar Michael Turner
Browse files

reinstigate connection consideration in edge swapping

parent 2445496e
......@@ -430,11 +430,11 @@ void FaceMesh::DiagonalSwap()
for (nit = m_localNodes.begin(); nit != m_localNodes.end(); nit++)
{
//this routine is broken and needs looking at
//if ((*nit)->GetNumCadCurve() == 0)
//{
if ((*nit)->GetNumCadCurve() == 0)
{
// node is interior
idealConnec[(*nit)->m_id] = 6;
/*}
}
else
{
// need to identify the two other nodes on the boundary to find
......@@ -457,7 +457,7 @@ void FaceMesh::DiagonalSwap()
idealConnec[(*nit)->m_id] =
ceil((*nit)->Angle(ns[0], ns[1]) / 3.142 * 3) + 1;
}*/
}
}
for (nit = m_localNodes.begin(); nit != m_localNodes.end(); nit++)
{
......
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