Skip to main content

Initiate

This routine initiate an instance of Quadrangle element.

Interface 1

INTERFACE Initiate
MODULE SUBROUTINE initiate_ref_Quadrangle(obj, NSD, xij)
CLASS(ReferenceQuadrangle_), INTENT(INOUT) :: obj
INTEGER(I4B), INTENT(IN) :: NSD
REAL(DFP), INTENT(IN), OPTIONAL :: xij(:, :)
END SUBROUTINE initiate_ref_Quadrangle
END INTERFACE Initiate

Interface 2 (ReferenceQuadrangle)

INTERFACE ReferenceQuadrangle
MODULE FUNCTION reference_Quadrangle(NSD, xij) RESULT(obj)
INTEGER(I4B), INTENT(IN) :: NSD
REAL(DFP), INTENT(IN), OPTIONAL :: xij(:, :)
TYPE(ReferenceQuadrangle_) :: obj
END FUNCTION reference_Quadrangle
END INTERFACE ReferenceQuadrangle

This function retuns an instance of linear quadrangle element.

Interface 3 (ReferenceQuadrangle_Pointer)

INTERFACE ReferenceQuadrangle_Pointer
MODULE FUNCTION reference_Quadrangle_Pointer(NSD, xij) RESULT(obj)
INTEGER(I4B), INTENT(IN) :: NSD
REAL(DFP), INTENT(IN), OPTIONAL :: xij(:, :)
CLASS(ReferenceQuadrangle_), POINTER :: obj
END FUNCTION reference_Quadrangle_Pointer
END INTERFACE ReferenceQuadrangle_Pointer

This function returns pointer to newly created linear quadrangle elements.

Getting higher order element

This routine returns the higher order quadrangle element.

INTERFACE
MODULE SUBROUTINE highorderElement_Quadrangle(refelem, order, obj, &
& ipType)
CLASS(ReferenceElement_), INTENT(IN) :: refelem
INTEGER(I4B), INTENT(IN) :: order
CLASS(ReferenceElement_), INTENT(INOUT) :: obj
INTEGER(I4B), INTENT(IN) :: ipType
END SUBROUTINE highorderElement_Quadrangle
END INTERFACE
ipType

Interpolation point type. It can take following values:

  • Equidistance
  • GaussLegendreLobatto
  • GaussChebyshevLobatto
  • GaussJacobiLobatto
  • GaussUltrasphericalLobatto
  • GaussLegendre
  • GaussChebyshev
  • GaussUltrasphericalLobatto
  • GaussJacobi