Skip to main content

GaussLegendreLobatto

This function returns Gauss LegendreLobatto-Lobatto quadrature points of a given order.

info

Generic Name: GaussLegendreLobattoQuadrature

note

For line-element n point Gauss Lobatto rule has 2n32n-3 degree of accuracy.

Interface 1

MODULE PURE FUNCTION GaussLegendreLobattoQuadrature( refelem, order ) RESULT( obj )
CLASS( ReferenceElement_ ), INTENT( IN ) :: refelem
INTEGER( I4B ), INTENT( IN ) :: Order
TYPE( QuadraturePoint_ ) :: obj
END FUNCTION GaussLegendreLobattoQuadrature
refelem

Reference element.

order

Order of integrand, that is, accuracy of quadrature points.

Interface 2

MODULE PURE FUNCTION GaussLegendreLobattoQuadrature( refelem, NIPS ) RESULT( obj )
CLASS( ReferenceElement_ ), INTENT( IN ) :: refelem
INTEGER( I4B ), INTENT( IN ) :: NIPS( 1 )
TYPE( QuadraturePoint_ ) :: obj
END FUNCTION GaussLegendreLobattoQuadrature
nips

Number of integration (quadrature) points.

note

This function initiates quadrature point based on given NIPS (number of integration points).

Interface 3

INTERFACE
MODULE FUNCTION GaussLegendreLobattoQuadrature(refelem, p, q, r) RESULT(obj)
CLASS(ReferenceElement_), INTENT(IN) :: refelem
INTEGER(I4B), INTENT(IN) :: p
!! order of accuracy in x1 direction
INTEGER(I4B), INTENT(IN) :: q
!! order of accuracy in x2 direction
INTEGER(I4B), OPTIONAL, INTENT(IN) :: r
!! order of accuracy in x3 direction
TYPE(QuadraturePoint_) :: obj
END FUNCTION GaussLegendreLobattoQuadrature
END INTERFACE