ply_scalProdDualLeg Function

public pure function ply_scalProdDualLeg(ansFunc, testFunc) result(scalProd)

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].

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.

Return Value real(kind=rk)

The scalar product of the two functions.


Contents

None