get correct mesh point on curved TRIG6 elements

This commit is contained in:
Michael Neunteufel 2019-06-24 19:30:52 +02:00
parent 88ec68be65
commit b3de5f0320

View File

@ -1089,7 +1089,7 @@ namespace netgen
if (ind > 0) if (ind > 0)
{ {
if(mesh->SurfaceElement(ind).GetType()==QUAD) if(mesh->SurfaceElement(ind).GetType()==QUAD || mesh->SurfaceElement(ind).GetType()==TRIG6)
{ {
lami[0] = lam3[0]; lami[0] = lam3[0];
lami[1] = lam3[1]; lami[1] = lam3[1];