1D spline
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public, | allocatable | :: | bcoef(:) | |||
| class(sll_c_bsplines), | private, | pointer | :: | bspl | => | null() |
Initialize 1D spline object as element of span(B-splines)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(out) | :: | self |
1D spline: new element of 1D spline space |
||
| class(sll_c_bsplines), | intent(in), | target | :: | bsplines |
B-splines: given basis of 1D spline space |
Destroy 1D spline (re-initialization is possible afterwards)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(inout) | :: | self |
1D spline |
Check if 1D spline belongs to span of given B-splines
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(in) | :: | self |
1D spline |
||
| class(sll_c_bsplines), | intent(in), | target | :: | bsplines |
B-splines |
Evaluate value of 1D spline at location x: y=S(x)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(in) | :: | self |
1D spline |
||
| real(kind=wp), | intent(in) | :: | x |
evaluation point |
Evaluate derivative of 1D spline at location x: y=S'(x)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(sll_t_spline_1d), | intent(in) | :: | self |
1D spline |
||
| real(kind=wp), | intent(in) | :: | x |
evaluation point |
Evaluate value of 1D spline at all locations in array x
| 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(:) |
Evaluate derivative of 1D spline at all locations in array x
| 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(:) |
type :: sll_t_spline_1d real(wp) , allocatable :: bcoef(:) class(sll_c_bsplines), pointer, private :: bspl => null() contains procedure :: init => s_spline_1d__init procedure :: free => s_spline_1d__free procedure :: belongs_to_space => f_spline_1d__belongs_to_space procedure :: eval => f_spline_1d__eval procedure :: eval_deriv => f_spline_1d__eval_deriv procedure :: eval_array => s_spline_1d__eval_array procedure :: eval_array_deriv => s_spline_1d__eval_array_deriv end type sll_t_spline_1d