more QUAD8

This commit is contained in:
Joachim Schöberl 2019-01-17 23:35:23 +01:00
parent ba1463511b
commit 5776853952

View File

@ -1888,7 +1888,6 @@ namespace netgen
} }
case QUAD: case QUAD:
case QUAD8:
{ {
shapes(0) = (1-xi(0))*(1-xi(1)); shapes(0) = (1-xi(0))*(1-xi(1));
shapes(1) = xi(0) *(1-xi(1)); shapes(1) = xi(0) *(1-xi(1));
@ -1929,6 +1928,19 @@ namespace netgen
break; break;
} }
case QUAD8:
{
shapes(0) = (1-xi(0))*(1-xi(1));
shapes(1) = xi(0) *(1-xi(1));
shapes(2) = xi(0) * xi(1) ;
shapes(3) = (1-xi(0))* xi(1) ;
shapes(4) = 0.0;
shapes(5) = 0.0;
shapes(6) = 0.0;
shapes(7) = 0.0;
break;
}
default: default:
throw NgException("CurvedElements::CalcShape 2d, element type not handled"); throw NgException("CurvedElements::CalcShape 2d, element type not handled");
}; };