bug fix for 2d hp-refinement (non-affine quads)

This commit is contained in:
Joachim Schoeberl 2014-04-03 09:49:43 +00:00
parent d0f82c3993
commit aeac1711a9

View File

@ -1507,6 +1507,7 @@ namespace netgen
bool CurvedElements :: IsSurfaceElementCurved (SurfaceElementIndex elnr) const bool CurvedElements :: IsSurfaceElementCurved (SurfaceElementIndex elnr) const
{ {
if (mesh[elnr].GetType() != TRIG) return true;
if (!IsHighOrder()) return false; if (!IsHighOrder()) return false;
if (mesh.coarsemesh) if (mesh.coarsemesh)