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].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
The scalar product of the two functions.