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 QUAD8:
|
||||
{
|
||||
shapes(0) = (1-xi(0))*(1-xi(1));
|
||||
shapes(1) = xi(0) *(1-xi(1));
|
||||
@ -1929,6 +1928,19 @@ namespace netgen
|
||||
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:
|
||||
throw NgException("CurvedElements::CalcShape 2d, element type not handled");
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user