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(RefLine_) :: obj
REAL(DFP) :: avar, xij(1, 2)
CALL obj%Initiate(nsd=1, baseInterpol="Lagrange", baseContinuity="H1")
CALL display(obj%MdEncode(), 'Line2 : '//char_lf//char_lf)
END PROGRAM main
See results
Line2
:
Element type | Line2 |
Xidimension | 1 |
NSD | 1 |
tPoints | 2 |
tLines | 1 |
tSurfaces | 0 |
tVolumes | 0 |
BaseContinuity | H1 |
BaseInterpolation | LagrangeInterpolation |
Nodal Coordinates:
x | -1 | 1 |
PointTopology
( 1 ) :
Element type | Point1 |
Xidimension | 0 |
Nptrs | 1 |
PointTopology
( 2 ) :
Element type | Point1 |
Xidimension | 0 |
Nptrs | 2 |
EdgeTopology
( 1 ) :
Element type | Line2 | |
Xidimension | 1 | |
Nptrs | 1 | 2 |