AbstractRefElement
Abstract class for reference element for finite elements.
Structure
The structure of AbstractRefElement is given below.
TYPE, ABSTRACT :: AbstractRefElement_
PRIVATE
REAL(DFP), ALLOCATABLE :: xij(:, :)
!! Nodal coordinates
INTEGER(I4B) :: entityCounts(4) = 0_I4B
!! Number of 0D, 1D, 2D, 3D subentities in the reference element
INTEGER(I4B) :: xiDimension = -1_I4B
!! Xidimension elemType
!! 0 is for point
!! 1 is for line
!! 2 is for surface
!! 3 is for volume
INTEGER(I4B) :: name = -1_I4B
!! name of the element
TYPE(String) :: nameStr
!! name of the element
INTEGER(I4B) :: nsd = -1_I4B
!! Number of spatial dimensions
TYPE(Topology_), PUBLIC, ALLOCATABLE :: pointTopology(:)
!! Topology information of points
TYPE(Topology_), PUBLIC, ALLOCATABLE :: edgeTopology(:)
!! Topology information of edges
TYPE(Topology_), PUBLIC, ALLOCATABLE :: faceTopology(:)
!! Topology information of facet
TYPE(Topology_), PUBLIC, ALLOCATABLE :: cellTopology(:)
!! Topology information of cells
CLASS(BaseContinuity_), ALLOCATABLE :: baseContinuity
!! continuity or conformity of basis defined on reference
!! element, following values are allowed
!! H1, HCurl, HDiv, DG
CLASS(BaseInterpolation_), ALLOCATABLE :: baseInterpol
!! Type of basis functions used for interpolation on reference
!! element, Following values are allowed
!! LagrangeInterpolation
!! HermitInterpolation
!! SerendipityInterpolation
!! HierarchyInterpolation
!! OrthogonalInterpolation
DeferredMethodsβ
Methodsβ
ποΈ Structure
The structure of AbstractRefElement is given below.
ποΈ Copy
Copy an instance of reference elements to another.
ποΈ Deallocate
Deallocate the data stored inside reference element.
ποΈ Display
Display the content of reference element.
ποΈ GenerateTopology
Returns the topology of reference element.
ποΈ GetElementTopology
Get the element topology.
ποΈ GetFacetElements
This routine returns the facet elements of reference element.
ποΈ GetFacetMatrix
Get the facet matrix
ποΈ GetNNE
Get the number of node inside the element.
ποΈ GetNSD
Get the number of spatial dimension.
ποΈ GetName
This method returns the integer code of the reference element.
ποΈ GetNodeCoord
Get the node coordinates in $x_$ format.
ποΈ GetNptrs
Get the node numbers of reference element.
ποΈ GetParam
Get the parameters of reference element.
ποΈ GetTopology
Return the topology of subentities.
ποΈ GetXidimension
Get the xidimension.
ποΈ Initiate
Initiate an instance of reference element
ποΈ RefCoord
This method returns the coordinates of reference element. This method is for internal use only.
ποΈ SetParam
Set the parameters of reference element.