Calculates the cubic basis functions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | r | current position for r in the grid interval |
||
real(kind=dp), | intent(in) | :: | rj_lo | left edge of the grid interval |
||
real(kind=dp), | intent(in) | :: | rj_hi | right edge of the grid interval |
||
real(kind=dp), | intent(out) | :: | h_cubic(4) | array containing the cubic basis functions for this grid interval |