Defines a quadrilateral element.
|
subroutine | quad_init (this, id, p1, p2, p3, p4) |
| Create a quadrilateral element based upon four points.
|
|
subroutine | quad_facet_id (this, t, side) |
| Return the edge id for face i as a 2-tuple t.
|
|
subroutine | quad_facet_order (this, t, side) |
| Return the ordered edge for face i as a 2-tuple t.
|
|
real(kind=dp) function | quad_diameter (this) |
| Compute the diameter of a quadrilateral element.
|
|
type(point_t) function | quad_centroid (this) |
| Compute the centroid of a quadrilateral element.
|
|
pure logical function | quad_equal (this, other) |
| Check if two quad elements are equal.
|
|
|
integer, parameter, public | neko_quad_npts = 4 |
| Number of points.
|
|
integer, parameter, public | neko_quad_neds = 4 |
| Number of edges.
|
|
integer, parameter, public | neko_quad_gdim = 2 |
| Geometric dimension.
|
|
integer, dimension(2, 4), parameter | edge_nodes = reshape((/1,3, 2,4, 1,2, 3,4 /), (/2,4/)) |
| Edge node ids.
|
|
◆ quad_centroid()
◆ quad_diameter()
◆ quad_equal()
- Note
- Based on coordinates not global ids
Definition at line 186 of file quad.f90.
◆ quad_facet_id()
◆ quad_facet_order()
◆ quad_init()
subroutine quad::quad_init |
( |
class(quad_t), intent(inout) |
this, |
|
|
integer, intent(inout) |
id, |
|
|
type(point_t), intent(in), target |
p1, |
|
|
type(point_t), intent(in), target |
p2, |
|
|
type(point_t), intent(in), target |
p3, |
|
|
type(point_t), intent(in), target |
p4 |
|
) |
| |
|
private |
◆ edge_nodes
integer, dimension(2, 4), parameter quad::edge_nodes = reshape((/1,3, 2,4, 1,2, 3,4 /), (/2,4/)) |
Edge numbering (similar to NEKTON symmetric notation)
4
+------+ ^ s
| | |
1 | | 2 |
| | |
+------+ +-----> r
3
Definition at line 81 of file quad.f90.
◆ neko_quad_gdim
◆ neko_quad_neds
◆ neko_quad_npts