Commit 2fc519f6 authored by Dave Moxey's avatar Dave Moxey
Browse files

Fix for quadrature metrics.

parent bebcf155
......@@ -1058,8 +1058,9 @@ namespace Nektar
}
default:
{
ASSERTL0(false,"Currently no implementation "
"for this PointsType");
m_isUsingQuadMetrics = false;
m_weightedjac = Array<OneD, NekDouble>();
return;
}
}
break;
......
......@@ -378,8 +378,9 @@ namespace Nektar
break;
default:
ASSERTL0(false, "Quadrature point type not supported for this element.");
break;
m_isUsingQuadMetrics = false;
m_weightedjac = Array<OneD, NekDouble>();
return;
}
break;
}
......@@ -424,8 +425,11 @@ namespace Nektar
break;
default:
ASSERTL0(false, "Unsupported quadrature points type.");
break;
{
m_isUsingQuadMetrics = false;
m_weightedjac = Array<OneD, NekDouble>();
return;
}
}
switch(tbasis[2]->GetPointsType())
......@@ -447,8 +451,9 @@ namespace Nektar
}
break;
default:
ASSERTL0(false, "Unsupported quadrature points type.");
break;
m_isUsingQuadMetrics = false;
m_weightedjac = Array<OneD, NekDouble>();
return;
}
break;
}
......
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