Evaluate the given Lagrangian mode (which is 1 at coord(mode) and 0 in all other points) at a given point x.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ply_lagrange_type), | intent(in) | :: | me |
The polynomial in Lagrange basis. |
||
integer, | intent(in) | :: | mode |
Mode to evaluate at x. Here mode identifies the polynomial that is 1 in me%coord(mode) and 0 in all other nodes. |
||
real(kind=rk), | intent(in) | :: | x |
Coordinate at which the mode is to be evaluated. |
Value of the polynomial at coordinate x.