XNS Element Codes
Here are element codes and descriptions used in EWD and XNS. The integer codes in the first column are defined in the Fortran include file element.h. Linear 1D, 2D and 3D elements are defined, in semi-discrete and flat space-time varieties.
| Element | Code | Number | nsd |
lsd |
nen |
dt |
| Segment | elemsegmsd |
1 |
1 | 1 | 2 |
|
| Triangle | elemtriasd |
3 |
2 | 2 | 3 |
|
| Quadrilateral | elemquadsd |
5 |
2 | 2 | 4 |
|
| Tetrahedron | elemtetrsd |
7 |
3 | 3 | 4 |
|
| Wedge | elemwedgsd |
11 |
3 | 3 | 6 |
|
| Hexahedron | elemhexasd |
13 |
3 | 3 | 8 |
|
| Segment | elemsegmst |
2 |
1 | 2 | 4 |
|
| Triangle | elemtriast |
4 |
2 | 3 | 6 |
|
| Quadrilateral | elemquadst |
6 |
2 | 3 | 8 |
|
| Tetrahedron | elemtetrst |
8 |
3 | 4 | 8 |
|
| Wedge | elemwedgst |
12 |
3 | 4 | 12 |
|
| Hexahedron | elemhexast |
14 |
3 | 4 | 16 |
|
The nsd is the leading dimension of the node coordinate array, lsd is the dimension of the domain of integration, and nen is the number of element nodes. The last column indicates whether the time step size is needed to compute the shape function derivatives. The input values to the shape function subroutines are the quadrature point coordinates xq(lsd). The output values are shape function values sq(nen), Jacobian determinant (scalar), shape function derivatives sh(lsd,nen), and inverse Jacobian entries cf(lsd,lsd).




