mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
more QUAD8
This commit is contained in:
parent
ba1463511b
commit
5776853952
@ -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));
|
||||||
@ -1928,6 +1927,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");
|
||||||
|
Loading…
Reference in New Issue
Block a user