Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
element::element_t Type Referenceabstract

Base type for an element. More...

Inheritance diagram for element::element_t:
Collaboration diagram for element::element_t:

Public Member Functions

procedure, pass(thiselement (this, id, gdim, npts)
 Create an element with npts.
 
procedure, pass(thisfree (this)
 Deallocate an element.
 
procedure, pass(thisgdim (this)
 Get the geometric dimension of an element.
 
procedure, pass(thisnpts (this)
 Get the number of points in an element.
 
procedure, pass(thisp (this, i)
 Return a pointer to point i of the element.
 
procedure, pass(thisn_points (this)
 Get the number of points in an element.
 
procedure, non_overridable, pass element_point (this, i)
 Return a pointer to point i of the element.
 
procedure(element_equal), deferred, pass equal (this, other)
 
procedure(element_diameter), deferred, pass diameter (this)
 
procedure(element_centroid), deferred, pass centroid (this)
 
procedure(element_facet_id), deferred, pass facet_id (this, t, side)
 
procedure(element_facet_order), deferred, pass facet_order (this, t, side)
 
procedure, pass(thisid (this)
 Return the index of an entity.
 
procedure, pass(thisset_id (this, id)
 Update the index of an entity.
 

Public Attributes

type(point_ptr), dimension(:), allocatable pts
 Points of an element.
 

Private Attributes

integer, private gdim_
 Geometric dimension.
 
integer, private npts_
 number of points
 
integer, private id_ = -1
 Entity index.
 

Detailed Description

An element is a collection of npts_ points forming an element of dimension gdim_

Definition at line 44 of file element.f90.

Member Function/Subroutine Documentation

◆ centroid()

procedure(element_centroid), deferred, pass element::element_t::centroid ( class(element_t), intent(in this)
pure virtual

Definition at line 58 of file element.f90.

◆ diameter()

procedure(element_diameter), deferred, pass element::element_t::diameter ( class(element_t), intent(in this)
pure virtual

Definition at line 57 of file element.f90.

◆ element()

procedure, pass(this) element::element_t::element ( class(element_t), intent(inout this,
integer, intent(inout id,
integer, intent(in gdim,
integer, intent(in npts 
)

Definition at line 49 of file element.f90.

◆ element_point()

procedure, non_overridable, pass element::element_t::element_point ( class(element_t), intent(in this,
integer, intent(in i 
)
final

Definition at line 55 of file element.f90.

◆ equal()

procedure(element_equal), deferred, pass element::element_t::equal ( class(element_t), intent(in this,
class(element_t), intent(in other 
)
pure virtual

Definition at line 56 of file element.f90.

◆ facet_id()

procedure(element_facet_id), deferred, pass element::element_t::facet_id ( class(element_t), intent(in this,
class(tuple_t), intent(inout t,
integer, intent(in side 
)
pure virtual

Definition at line 59 of file element.f90.

◆ facet_order()

procedure(element_facet_order), deferred, pass element::element_t::facet_order ( class(element_t), intent(in this,
class(tuple_t), intent(inout t,
integer, intent(in side 
)
pure virtual

Definition at line 60 of file element.f90.

◆ free()

procedure, pass(this) element::element_t::free ( class(element_t), intent(inout this)

Definition at line 50 of file element.f90.

◆ gdim()

procedure, pass(this) element::element_t::gdim ( class(element_t), intent(in this)

Definition at line 51 of file element.f90.

◆ id()

procedure, pass(this) entity::entity_t::id ( class(entity_t), intent(in this)
inherited

Definition at line 41 of file entity.f90.

◆ n_points()

procedure, pass(this) element::element_t::n_points ( class(element_t), intent(in this)

Definition at line 54 of file element.f90.

◆ npts()

procedure, pass(this) element::element_t::npts ( class(element_t), intent(in this)

Definition at line 52 of file element.f90.

◆ p()

procedure, pass(this) element::element_t::p ( class(element_t), intent(in this,
integer, intent(in i 
)

Definition at line 53 of file element.f90.

◆ set_id()

procedure, pass(this) entity::entity_t::set_id ( class(entity_t), intent(inout this,
integer, intent(in id 
)
inherited

Definition at line 42 of file entity.f90.

Member Data Documentation

◆ gdim_

integer, private element::element_t::gdim_
private

Definition at line 45 of file element.f90.

◆ id_

integer, private entity::entity_t::id_ = -1
privateinherited

Definition at line 39 of file entity.f90.

◆ npts_

integer, private element::element_t::npts_
private

Definition at line 46 of file element.f90.

◆ pts

type(point_ptr), dimension(:), allocatable element::element_t::pts

Definition at line 47 of file element.f90.


The documentation for this type was generated from the following file: