| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(in) | :: | self |
1D spline |
||
| real(kind=wp), | intent(in) | :: | x(:) | |||
| real(kind=wp), | intent(out) | :: | y(:) |
SLL_PURE subroutine s_spline_1d__eval_array( self, x, y ) class(sll_t_spline_1d), intent(in ) :: self real(wp) , intent(in ) :: x(:) real(wp) , intent( out) :: y(:) integer :: i SLL_ASSERT( size(x) == size(y) ) do i = 1, size(x) y(i) = f_spline_1d__eval( self, x(i) ) end do end subroutine s_spline_1d__eval_array