ply_scalProdDualLeg_vec Function

public function ply_scalProdDualLeg_vec(ansFunc, testFunc, mPd) result(scalProd)

Vectorized Function to calculate the scalar product between a Legendre polynomial (ansatz function) and a dual Legendre polynomial (test function) on the reference element [-1;+1] and to calculate the scalar product between a Legendre polynomial (ansatz function) and a differentiated dual Legendre polynomial (test function) on the reference element [-1;+1].

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: ansFunc

The ansatz function index, there first ansatz function has index 1.

integer, intent(in) :: testFunc

The test function index, there first test function has index 1.

integer, intent(in) :: mPd

maxPolyDegree

Return Value real(kind=rk)(mPd+1)

The scalar product of the two functions.


Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iTest