Initiate
Initiate an instance of reference element
Interface
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE SUBROUTINE refelem_Initiate(obj, nsd, baseContinuity, baseInterpol)
CLASS(AbstractRefElement_), INTENT(INOUT) :: obj
INTEGER(I4B), INTENT(IN) :: nsd
!! Spatial dimension of element
CHARACTER(*), INTENT(IN) :: baseContinuity
!! Continuity or Conformity of basis function.
!! H1 * Default
!! HDiv
!! HCurl
!! DG
CHARACTER(*), INTENT(IN) :: baseInterpol
!! Basis function family used for interpolation
!! LagrangeInterpolation, LagrangePolynomial
!! SerendipityInterpolation, SerendipityPolynomial
!! HierarchyInterpolation, HierarchyPolynomial
!! OrthogonalInterpolation, OrthogonalPolynomial
!! HermitInterpolation, HermitPolynomial
END SUBROUTINE refelem_Initiate
END INTERFACE
baseInterpol
It represents the basis function family used for interpolation. Following values are possible:
LagrangeInterpolation
LagrangePolynomial
Lagrange
SerendipityInterpolation
Serendipity
HierarchyInterpolation
HierarchyPolynomial
Hierarchy
OrthogonalInterpolation
OrthogonalPolynomial
Orthogonal
HermitInterpolation
HermitPolynomial
Hermit
PROGRAM main
USE easifemBase
USE easifemClasses
IMPLICIT NONE
TYPE(RefTriangle_) :: obj
CALL obj%Initiate(nsd=2, baseInterpol="Lagrange", baseContinuity="H1")
CALL Display(obj%MdEncode(), "")
END PROGRAM main
See results
Element type | Triangle3 |
Xidimension | 2 |
NSD | 2 |
tPoints | 3 |
tLines | 3 |
tSurfaces | 1 |
tVolumes | 0 |
BaseContinuity | H1 |
BaseInterpolation | LagrangeInterpolation |
Nodal Coordinates:
x | 0 | 1 | 0 |
y | 0 | 0 | 1 |
- PointTopology( 1 ) :
- PointTopology( 2 ) :
- PointTopology( 3 ) :
Element type | Point1 |
Xidimension | 0 |
Nptrs | 1 |
Element type | Point1 |
Xidimension | 0 |
Nptrs | 2 |
Element type | Point1 |
Xidimension | 0 |
Nptrs | 3 |
- EdgeTopology( 1 ) :
- EdgeTopology( 2 ) :
- EdgeTopology( 3 ) :
Element type | Line2 | |
Xidimension | 1 | |
Nptrs | 1 | 2 |
Element type | Line2 | |
Xidimension | 1 | |
Nptrs | 2 | 3 |
Element type | Line2 | |
Xidimension | 1 | |
Nptrs | 3 | 1 |
- FaceTopology( 1 ) :
Element type | Triangle3 | ||
Xidimension | 2 | ||
Nptrs | 1 | 2 | 3 |
| |