1D initialization routines.
Determines the parameters of a function that interpolates the one-dimensional gridded data The interpolating function and its derivatives may subsequently be evaluated by the function db1val.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
integer(kind=ip), | intent(in) | :: | nx |
Number of abcissae |
||
real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
integer(kind=ip), | intent(in) | :: | iknot |
knot sequence flag: |
||
real(kind=wp), | intent(inout), | dimension(:) | :: | tx |
The |
|
real(kind=wp), | intent(out), | dimension(:) | :: | bcoef |
|
|
integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
Alternate version of db1ink_default, where the boundary conditions can be specified.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x |
vector of abscissae of length |
|
integer(kind=ip), | intent(in) | :: | nx |
number of data points, |
||
real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
vector of ordinates of length |
|
integer(kind=ip), | intent(in) | :: | kx |
spline order (Currently, this must be |
||
integer(kind=ip), | intent(in) | :: | ibcl |
selection parameter for left boundary condition: |
||
integer(kind=ip), | intent(in) | :: | ibcr |
selection parameter for right boundary condition: |
||
real(kind=wp), | intent(in) | :: | fbcl |
left boundary values governed by |
||
real(kind=wp), | intent(in) | :: | fbcr |
right boundary values governed by |
||
integer(kind=ip), | intent(in) | :: | kntopt |
knot selection parameter: |
||
real(kind=wp), | intent(out), | dimension(:) | :: | tx |
knot array of length |
|
real(kind=wp), | intent(out), | dimension(:) | :: | bcoef |
b spline coefficient array of length |
|
integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
Alternate version of db1ink_alt, where the first and last 3 knots are specified by the user.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x |
vector of abscissae of length |
|
integer(kind=ip), | intent(in) | :: | nx |
number of data points, |
||
real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
vector of ordinates of length |
|
integer(kind=ip), | intent(in) | :: | kx |
spline order (Currently, this must be |
||
integer(kind=ip), | intent(in) | :: | ibcl |
selection parameter for left boundary condition: |
||
integer(kind=ip), | intent(in) | :: | ibcr |
selection parameter for right boundary condition: |
||
real(kind=wp), | intent(in) | :: | fbcl |
left boundary values governed by |
||
real(kind=wp), | intent(in) | :: | fbcr |
right boundary values governed by |
||
real(kind=wp), | intent(in), | dimension(3) | :: | tleft |
|
|
real(kind=wp), | intent(in), | dimension(3) | :: | tright |
|
|
real(kind=wp), | intent(out), | dimension(:) | :: | tx |
knot array of length |
|
real(kind=wp), | intent(out), | dimension(:) | :: | bcoef |
b spline coefficient array of length |
|
integer(kind=ip), | intent(out) | :: | iflag |
status flag: |