Neko  0.8.99
A portable framework for high-order spectral element flow simulations
tet.f90 File Reference

Go to the source code of this file.

Data Types

type  tet::tet_t
 Tetrahedral element. More...
 

Modules

module  tet
 Defines a tetrahedral element.
 

Functions/Subroutines

subroutine tet::tet_init (this, id, p1, p2, p3, p4)
 Create a tetrahedral element based upon four points. More...
 
subroutine tet::tet_facet_id (this, t, side)
 Return the facet id for face i as a 3-tuple t. More...
 
subroutine tet::tet_facet_order (this, t, side)
 Return the ordered points for face i as a 3-tuple t. More...
 
subroutine tet::tet_edge_id (this, t, side)
 Return the edge id for an edge i as a 2-tuple t. More...
 
real(kind=dp) function tet::tet_diameter (this)
 Compute the diameter of a tetrahedral element. More...
 
type(point_t) function tet::tet_centroid (this)
 Compute the centroid of a tetrahedral element. More...
 
pure logical function tet::tet_equal (this, other)
 Check if two tet elements are equal. More...
 

Variables

integer, parameter, public tet::neko_tet_npts = 4
 Number of points. More...
 
integer, parameter, public tet::neko_tet_nfcs = 4
 Number of faces. More...
 
integer, parameter, public tet::neko_tet_neds = 6
 Number of edges. More...
 
integer, parameter, public tet::neko_tet_gdim = 3
 Geometric dimension. More...
 
integer, dimension(3, 4), parameter tet::face_nodes = reshape((/1,3,4, 2,3,4, 1,2,4, 1,2,3/), (/3,4/))
 Face node ids. More...
 
integer, dimension(2, 6), parameter tet::edge_nodes = reshape((/1,2, 1,3, 2,3, 3,4, 1,4, 2,4/), (/2,6/))
 Edge node ids. More...