Defines a triangular element.
|
integer, parameter, public | neko_tri_npts = 3 |
| Number of points.
|
|
integer, parameter, public | neko_tri_neds = 3 |
| Number of edges.
|
|
integer, parameter, public | neko_tri_gdim = 2 |
| Geometric dimension.
|
|
integer, dimension(2, 3), parameter | edge_nodes = reshape((/1,3, 2,3, 1,2 /), (/2,3/)) |
| Edge node ids.
|
|
◆ tri_centroid()
◆ tri_diameter()
◆ tri_equal()
- Note
- Based on coordinates not global ids
Definition at line 189 of file tri.f90.
◆ tri_facet_id()
◆ tri_facet_order()
◆ tri_init()
subroutine tri::tri_init |
( |
class(tri_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 |
|
) |
| |
|
private |
◆ edge_nodes
integer, dimension(2, 3), parameter tri::edge_nodes = reshape((/1,3, 2,3, 1,2 /), (/2,3/)) |
Edge numbering
+
|\
| \ ^ s
1 | \ 2 |
| \ |
+----+ +---> r
3
Definition at line 85 of file tri.f90.
◆ neko_tri_gdim
◆ neko_tri_neds
◆ neko_tri_npts