Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
subroutine tri::tri_facet_id (this, t, side)
 Return the edge id for face i as a 2-tuple t.
 
subroutine tri::tri_facet_order (this, t, side)
 Return the ordered edge for face i as a 2-tuple t.
 
real(kind=dp) function tri::tri_diameter (this)
 Compute the diameter of a triangular element.
 
type(point_t) function tri::tri_centroid (this)
 Compute the centroid of a triangular element.
 
pure logical function tri::tri_equal (this, other)
 Check if two triangle elements are equal.
 

Variables

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