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

Variables

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