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

Go to the source code of this file.

Data Types

type  quad::quad_t
 Quadrilateral element. More...
 

Modules

module  quad
 Defines a quadrilateral element.
 

Functions/Subroutines

subroutine quad::quad_init (this, id, p1, p2, p3, p4)
 Create a quadrilateral element based upon four points. More...
 
subroutine quad::quad_facet_id (this, t, side)
 Return the edge id for face i as a 2-tuple t. More...
 
subroutine quad::quad_facet_order (this, t, side)
 Return the ordered edge for face i as a 2-tuple t. More...
 
real(kind=dp) function quad::quad_diameter (this)
 Compute the diameter of a quadrilateral element. More...
 
type(point_t) function quad::quad_centroid (this)
 Compute the centroid of a quadrilateral element. More...
 
pure logical function quad::quad_equal (this, other)
 Check if two quad elements are equal. More...
 

Variables

integer, parameter, public quad::neko_quad_npts = 4
 Number of points. More...
 
integer, parameter, public quad::neko_quad_neds = 4
 Number of edges. More...
 
integer, parameter, public quad::neko_quad_gdim = 2
 Geometric dimension. More...
 
integer, dimension(2, 4), parameter quad::edge_nodes = reshape((/1,3, 2,4, 1,2, 3,4 /), (/2,4/))
 Edge node ids. More...