Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
subroutine tet::tet_facet_id (this, t, side)
 Return the facet id for face i as a 3-tuple t.
 
subroutine tet::tet_facet_order (this, t, side)
 Return the ordered points for face i as a 3-tuple t.
 
subroutine tet::tet_edge_id (this, t, side)
 Return the edge id for an edge i as a 2-tuple t.
 
real(kind=dp) function tet::tet_diameter (this)
 Compute the diameter of a tetrahedral element.
 
type(point_t) function tet::tet_centroid (this)
 Compute the centroid of a tetrahedral element.
 
pure logical function tet::tet_equal (this, other)
 Check if two tet elements are equal.
 

Variables

integer, parameter, public tet::neko_tet_npts = 4
 Number of points.
 
integer, parameter, public tet::neko_tet_nfcs = 4
 Number of faces.
 
integer, parameter, public tet::neko_tet_neds = 6
 Number of edges.
 
integer, parameter, public tet::neko_tet_gdim = 3
 Geometric dimension.
 
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.
 
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.