Skip to main content

GaussLegendreRadauRight

This function returns Gauss Legendre Radau quadrature points of a given order.

Generic: GaussLegendreRadauRightQuadrature
note

For line-element n point Gauss Legendre Radau rule has 2n22n-2 degree of accuracy.

Interface 1

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

Reference element.

order

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

Interface 2

MODULE PURE FUNCTION GaussLegendreRadauRightQuadrature( refelem, NIPS ) RESULT( obj )
CLASS( ReferenceElement_ ), INTENT( IN ) :: refelem
INTEGER( I4B ), INTENT( IN ) :: NIPS( 1 )
TYPE( QuadraturePoint_ ) :: obj
END FUNCTION GaussLegendreRadauRightQuadrature
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 GaussLegendreRadauRightQuadrature(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 GaussLegendreRadauRightQuadrature
END INTERFACE