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

Go to the source code of this file.

Data Types

type  tri::tri_t
 Triangular element. More...
 

Modules

module  tri
 Defines a triangular element.
 

Functions/Subroutines

subroutine tri::tri_init (this, id, p1, p2, p3)
 Create a trinagular element based upon three points. More...
 
subroutine tri::tri_facet_id (this, t, side)
 Return the edge id for face i as a 2-tuple t. More...
 
subroutine tri::tri_facet_order (this, t, side)
 Return the ordered edge for face i as a 2-tuple t. More...
 
real(kind=dp) function tri::tri_diameter (this)
 Compute the diameter of a triangular element. More...
 
type(point_t) function tri::tri_centroid (this)
 Compute the centroid of a triangular element. More...
 
pure logical function tri::tri_equal (this, other)
 Check if two triangle elements are equal. More...
 

Variables

integer, parameter, public tri::neko_tri_npts = 3
 Number of points. More...
 
integer, parameter, public tri::neko_tri_neds = 3
 Number of edges. More...
 
integer, parameter, public tri::neko_tri_gdim = 2
 Geometric dimension. More...
 
integer, dimension(2, 3), parameter tri::edge_nodes = reshape((/1,3, 2,3, 1,2 /), (/2,3/))
 Edge node ids. More...