Calculates the barycentric weights for a given set of nodes. As of now, assumues CGL nodes. TODO: extend stably for the general case (CGL, CGR, CG)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
Number of interpolation nodes = n+1. |
||
| real(kind=rp), | intent(out), | dimension(:) | :: | w |
(n+1,). Barycentric weights |