Object-oriented style wrappers to bspline_sub_module. This module provides classes (bspline_1d, bspline_2d, bspline_3d, bspline_4d, bspline_5d, and bspline_6d) which can be used instead of the main subroutine interface.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private, | parameter | :: | int_size | = | storage_size(1_ip, kind=ip) |
size of a default integer [bits] |
| integer(kind=ip), | private, | parameter | :: | logical_size | = | storage_size(.true., kind=ip) |
size of a default logical [bits] |
| integer(kind=ip), | private, | parameter | :: | real_size | = | storage_size(1.0_wp, kind=ip) |
size of a |
Constructor for bspline_1d
It returns an empty bspline_1d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_1d type (auto knots). This is a wrapper for initialize_1d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_1d type (user-specified knots). This is a wrapper for initialize_1d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for bspline_2d
It returns an empty bspline_2d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_2d type (auto knots). This is a wrapper for initialize_2d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_2d type (user-specified knots). This is a wrapper for initialize_2d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for bspline_3d
It returns an empty bspline_3d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_3d type (auto knots). This is a wrapper for initialize_3d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_3d type (user-specified knots). This is a wrapper for initialize_3d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for bspline_4d
It returns an empty bspline_4d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_4d type (auto knots). This is a wrapper for initialize_4d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_4d type (user-specified knots). This is a wrapper for initialize_4d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for bspline_5d
It returns an empty bspline_5d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_5d type (auto knots). This is a wrapper for initialize_5d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_5d type (user-specified knots). This is a wrapper for initialize_5d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for bspline_6d
It returns an empty bspline_6d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_6d type (auto knots). This is a wrapper for initialize_6d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_6d type (user-specified knots). This is a wrapper for initialize_6d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
interface for size routines
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(in) | :: | me |
size of the structure in bits
interface for bspline destructor routines
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(inout) | :: | me |
Base class for the b-spline types
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | inbvx | = | 1_ip |
internal variable used by dbvalu for efficient processing |
|
| integer(kind=ip), | private | :: | iflag | = | 1_ip |
saved |
|
| logical, | private | :: | initialized | = | .false. |
true if the class is initialized and ready to use |
|
| logical, | private | :: | extrap | = | .false. |
if true, then extrapolation is allowed during evaluation |
|
| integer(kind=ip), | private | :: | nf | = | 0_ip |
number of outputs (the last dimension of |
| procedure, private, non_overridable :: destroy_base | destructor for the abstract type |
| procedure, private, non_overridable :: set_extrap_flag | internal routine to set the |
| procedure(destroy_func), public, deferred :: destroy | destructor |
| procedure(size_func), public, deferred :: size_of | size of the structure in bits |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
Class for 1d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_1 |
[[db1val] work array of dimension |
Constructor for bspline_1d
| private pure, elemental function bspline_1d_constructor_empty () | It returns an empty bspline_1d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_1d_constructor_auto_knots (x, fcn, kx, extrap) | Constructor for a bspline_1d type (auto knots). This is a wrapper for initialize_1d_auto_knots. |
| private pure function bspline_1d_constructor_specify_knots (x, fcn, kx, tx, extrap) | Constructor for a bspline_1d type (user-specified knots). This is a wrapper for initialize_1d_specify_knots. |
| final :: finalize_1d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_1d_auto_knots, initialize_1d_specify_knots, initialize_1d_auto_knots_multi, initialize_1d_specify_knots_multi | |
| procedure, private :: initialize_1d_auto_knots_multi | |
| procedure, private :: initialize_1d_specify_knots_multi | |
| procedure, private :: initialize_1d_auto_knots | |
| procedure, private :: initialize_1d_specify_knots | |
| generic, public :: evaluate => evaluate_1d, evaluate_1d_multi | |
| procedure, private :: evaluate_1d | |
| procedure, private :: evaluate_1d_multi | |
| procedure, public :: destroy => destroy_1d | |
| procedure, public :: size_of => size_1d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_1d, initialize_from_coefficients_1d_multi | |
| procedure, private :: initialize_from_coefficients_1d | |
| procedure, private :: initialize_from_coefficients_1d_multi | |
| procedure, public :: get_knots => get_knots_1d | |
| generic, public :: get_coefficients => get_coefficients_1d, get_coefficients_1d_multi | |
| procedure, private :: get_coefficients_1d | |
| procedure, private :: get_coefficients_1d_multi | |
| procedure, public :: control_points => control_points_1d | |
| procedure, public :: integral => integral_1d | |
| procedure, public :: fintegral => fintegral_1d | |
| procedure, public :: roots => roots_1d | |
| procedure, public :: inverse => inverse_1d | |
| procedure, public :: minimum => minimum_1d | |
| procedure, public :: maximum => maximum_1d |
Class for 2d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ny | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ky | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ty |
The knots in the direction for the spline interpolant |
||
| integer(kind=ip), | private | :: | inbvy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloy | = | 1_ip |
internal variable used for efficient processing |
|
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_1 |
[[db2val] work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_2 |
[[db2val] work array of dimension |
Constructor for bspline_2d
| private elemental function bspline_2d_constructor_empty () | It returns an empty bspline_2d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_2d_constructor_auto_knots (x, y, fcn, kx, ky, extrap) | Constructor for a bspline_2d type (auto knots). This is a wrapper for initialize_2d_auto_knots. |
| private pure function bspline_2d_constructor_specify_knots (x, y, fcn, kx, ky, tx, ty, extrap) | Constructor for a bspline_2d type (user-specified knots). This is a wrapper for initialize_2d_specify_knots. |
| final :: finalize_2d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_2d_auto_knots, initialize_2d_specify_knots, initialize_2d_auto_knots_multi, initialize_2d_specify_knots_multi | |
| procedure, private :: initialize_2d_auto_knots_multi | |
| procedure, private :: initialize_2d_specify_knots_multi | |
| procedure, private :: initialize_2d_auto_knots | |
| procedure, private :: initialize_2d_specify_knots | |
| generic, public :: evaluate => evaluate_2d, evaluate_2d_multi | |
| procedure, private :: evaluate_2d | |
| procedure, private :: evaluate_2d_multi | |
| procedure, public :: destroy => destroy_2d | |
| procedure, public :: size_of => size_2d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_2d, initialize_from_coefficients_2d_multi | |
| procedure, private :: initialize_from_coefficients_2d | |
| procedure, private :: initialize_from_coefficients_2d_multi | |
| procedure, public :: get_knots => get_knots_2d | |
| generic, public :: get_coefficients => get_coefficients_2d, get_coefficients_2d_multi | |
| procedure, private :: get_coefficients_2d | |
| procedure, private :: get_coefficients_2d_multi |
Class for 3d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ny | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nz | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ky | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kz | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:,:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ty |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tz |
The knots in the direction for the spline interpolant |
||
| integer(kind=ip), | private | :: | inbvy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloz | = | 1_ip |
internal variable used for efficient processing |
|
| real(kind=wp), | private, | dimension(:,:), allocatable | :: | work_val_1 |
[[db3val] work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_2 |
[[db3val] work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_3 |
[[db3val] work array of dimension |
Constructor for bspline_3d
| private elemental function bspline_3d_constructor_empty () | It returns an empty bspline_3d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_3d_constructor_auto_knots (x, y, z, fcn, kx, ky, kz, extrap) | Constructor for a bspline_3d type (auto knots). This is a wrapper for initialize_3d_auto_knots. |
| private pure function bspline_3d_constructor_specify_knots (x, y, z, fcn, kx, ky, kz, tx, ty, tz, extrap) | Constructor for a bspline_3d type (user-specified knots). This is a wrapper for initialize_3d_specify_knots. |
| final :: finalize_3d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_3d_auto_knots, initialize_3d_specify_knots, initialize_3d_auto_knots_multi, initialize_3d_specify_knots_multi | |
| procedure, private :: initialize_3d_auto_knots_multi | |
| procedure, private :: initialize_3d_specify_knots_multi | |
| procedure, private :: initialize_3d_auto_knots | |
| procedure, private :: initialize_3d_specify_knots | |
| generic, public :: evaluate => evaluate_3d, evaluate_3d_multi | |
| procedure, private :: evaluate_3d | |
| procedure, private :: evaluate_3d_multi | |
| procedure, public :: destroy => destroy_3d | |
| procedure, public :: size_of => size_3d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_3d, initialize_from_coefficients_3d_multi | |
| procedure, private :: initialize_from_coefficients_3d | |
| procedure, private :: initialize_from_coefficients_3d_multi | |
| procedure, public :: get_knots => get_knots_3d | |
| generic, public :: get_coefficients => get_coefficients_3d, get_coefficients_3d_multi | |
| procedure, private :: get_coefficients_3d | |
| procedure, private :: get_coefficients_3d_multi |
Class for 4d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ny | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nz | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nq | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ky | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kz | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kq | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:,:,:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ty |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tz |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tq |
The knots in the direction for the spline interpolant |
||
| integer(kind=ip), | private | :: | inbvy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvq | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloq | = | 1_ip |
internal variable used for efficient processing |
|
| real(kind=wp), | private, | dimension(:,:,:), allocatable | :: | work_val_1 |
db4val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:), allocatable | :: | work_val_2 |
db4val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_3 |
db4val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_4 |
db4val work array of dimension |
Constructor for bspline_4d
| private elemental function bspline_4d_constructor_empty () | It returns an empty bspline_4d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_4d_constructor_auto_knots (x, y, z, q, fcn, kx, ky, kz, kq, extrap) | Constructor for a bspline_4d type (auto knots). This is a wrapper for initialize_4d_auto_knots. |
| private pure function bspline_4d_constructor_specify_knots (x, y, z, q, fcn, kx, ky, kz, kq, tx, ty, tz, tq, extrap) | Constructor for a bspline_4d type (user-specified knots). This is a wrapper for initialize_4d_specify_knots. |
| final :: finalize_4d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_4d_auto_knots, initialize_4d_specify_knots, initialize_4d_auto_knots_multi, initialize_4d_specify_knots_multi | |
| procedure, private :: initialize_4d_auto_knots_multi | |
| procedure, private :: initialize_4d_specify_knots_multi | |
| procedure, private :: initialize_4d_auto_knots | |
| procedure, private :: initialize_4d_specify_knots | |
| generic, public :: evaluate => evaluate_4d, evaluate_4d_multi | |
| procedure, private :: evaluate_4d | |
| procedure, private :: evaluate_4d_multi | |
| procedure, public :: destroy => destroy_4d | |
| procedure, public :: size_of => size_4d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_4d, initialize_from_coefficients_4d_multi | |
| procedure, private :: initialize_from_coefficients_4d | |
| procedure, private :: initialize_from_coefficients_4d_multi | |
| procedure, public :: get_knots => get_knots_4d | |
| generic, public :: get_coefficients => get_coefficients_4d, get_coefficients_4d_multi | |
| procedure, private :: get_coefficients_4d | |
| procedure, private :: get_coefficients_4d_multi |
Class for 5d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ny | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nz | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nq | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nr | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ky | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kz | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kq | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kr | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:,:,:,:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ty |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tz |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tq |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tr |
The knots in the direction for the spline interpolant |
||
| integer(kind=ip), | private | :: | inbvy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvq | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvr | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloq | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | ilor | = | 1_ip |
internal variable used for efficient processing |
|
| real(kind=wp), | private, | dimension(:,:,:,:), allocatable | :: | work_val_1 |
db5val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:,:), allocatable | :: | work_val_2 |
db5val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:), allocatable | :: | work_val_3 |
db5val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_4 |
db5val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_5 |
db5val work array of dimension |
Constructor for bspline_5d
| private elemental function bspline_5d_constructor_empty () | It returns an empty bspline_5d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_5d_constructor_auto_knots (x, y, z, q, r, fcn, kx, ky, kz, kq, kr, extrap) | Constructor for a bspline_5d type (auto knots). This is a wrapper for initialize_5d_auto_knots. |
| private pure function bspline_5d_constructor_specify_knots (x, y, z, q, r, fcn, kx, ky, kz, kq, kr, tx, ty, tz, tq, tr, extrap) | Constructor for a bspline_5d type (user-specified knots). This is a wrapper for initialize_5d_specify_knots. |
| final :: finalize_5d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_5d_auto_knots, initialize_5d_specify_knots, initialize_5d_auto_knots_multi, initialize_5d_specify_knots_multi | |
| procedure, private :: initialize_5d_auto_knots_multi | |
| procedure, private :: initialize_5d_specify_knots_multi | |
| procedure, private :: initialize_5d_auto_knots | |
| procedure, private :: initialize_5d_specify_knots | |
| generic, public :: evaluate => evaluate_5d, evaluate_5d_multi | |
| procedure, private :: evaluate_5d | |
| procedure, private :: evaluate_5d_multi | |
| procedure, public :: destroy => destroy_5d | |
| procedure, public :: size_of => size_5d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_5d, initialize_from_coefficients_5d_multi | |
| procedure, private :: initialize_from_coefficients_5d | |
| procedure, private :: initialize_from_coefficients_5d_multi | |
| procedure, public :: get_knots => get_knots_5d | |
| generic, public :: get_coefficients => get_coefficients_5d, get_coefficients_5d_multi | |
| procedure, private :: get_coefficients_5d | |
| procedure, private :: get_coefficients_5d_multi |
Class for 6d b-spline interpolation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=ip), | private | :: | nx | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ny | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nz | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nq | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | nr | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | ns | = | 0_ip |
Number of abcissae |
|
| integer(kind=ip), | private | :: | kx | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ky | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kz | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kq | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | kr | = | 0_ip |
The order of spline pieces in |
|
| integer(kind=ip), | private | :: | ks | = | 0_ip |
The order of spline pieces in |
|
| real(kind=wp), | private, | dimension(:,:,:,:,:,:,:), allocatable | :: | bcoef |
array of coefficients of the b-spline interpolant (the last dimension is the output index) |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tx |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ty |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tz |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tq |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | tr |
The knots in the direction for the spline interpolant |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | ts |
The knots in the direction for the spline interpolant |
||
| integer(kind=ip), | private | :: | inbvy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvq | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvr | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | inbvs | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloy | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloz | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | iloq | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | ilor | = | 1_ip |
internal variable used for efficient processing |
|
| integer(kind=ip), | private | :: | ilos | = | 1_ip |
internal variable used for efficient processing |
|
| real(kind=wp), | private, | dimension(:,:,:,:,:), allocatable | :: | work_val_1 |
db6val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:,:,:), allocatable | :: | work_val_2 |
db6val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:,:), allocatable | :: | work_val_3 |
db6val work array of dimension |
||
| real(kind=wp), | private, | dimension(:,:), allocatable | :: | work_val_4 |
db6val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_5 |
db6val work array of dimension |
||
| real(kind=wp), | private, | dimension(:), allocatable | :: | work_val_6 |
db6val work array of dimension |
Constructor for bspline_6d
| private elemental function bspline_6d_constructor_empty () | It returns an empty bspline_6d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications. |
| private pure function bspline_6d_constructor_auto_knots (x, y, z, q, r, s, fcn, kx, ky, kz, kq, kr, ks, extrap) | Constructor for a bspline_6d type (auto knots). This is a wrapper for initialize_6d_auto_knots. |
| private pure function bspline_6d_constructor_specify_knots (x, y, z, q, r, s, fcn, kx, ky, kz, kq, kr, ks, tx, ty, tz, tq, tr, ts, extrap) | Constructor for a bspline_6d type (user-specified knots). This is a wrapper for initialize_6d_specify_knots. |
| final :: finalize_6d |
| procedure, public, non_overridable :: status_ok | returns true if the last |
| procedure, public, non_overridable :: status_message => get_bspline_status_message | retrieve the last status message |
| procedure, public, non_overridable :: clear_flag => clear_bspline_flag | to reset the |
| procedure, public, non_overridable :: number_of_outputs | number of outputs (functions) of the spline |
| generic, public :: initialize => initialize_6d_auto_knots, initialize_6d_specify_knots, initialize_6d_auto_knots_multi, initialize_6d_specify_knots_multi | |
| procedure, private :: initialize_6d_auto_knots_multi | |
| procedure, private :: initialize_6d_specify_knots_multi | |
| procedure, private :: initialize_6d_auto_knots | |
| procedure, private :: initialize_6d_specify_knots | |
| generic, public :: evaluate => evaluate_6d, evaluate_6d_multi | |
| procedure, private :: evaluate_6d | |
| procedure, private :: evaluate_6d_multi | |
| procedure, public :: destroy => destroy_6d | |
| procedure, public :: size_of => size_6d | |
| generic, public :: initialize_from_coefficients => initialize_from_coefficients_6d, initialize_from_coefficients_6d_multi | |
| procedure, private :: initialize_from_coefficients_6d | |
| procedure, private :: initialize_from_coefficients_6d_multi | |
| procedure, public :: get_knots => get_knots_6d | |
| generic, public :: get_coefficients => get_coefficients_6d, get_coefficients_6d_multi | |
| procedure, private :: get_coefficients_6d | |
| procedure, private :: get_coefficients_6d_multi |
Returns the number of outputs (functions of the same inputs) of the
spline: 1 for a spline initialized with a single function, and nf
for one initialized with nf functions (the last dimension of fcn).
Returns 0 if the class is not initialized.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(in) | :: | me |
the spline |
number of outputs
This routines returns true if the iflag code from the last
routine called was =0. Maybe of the routines have output iflag
variables, so they can be checked explicitly, or this routine
can be used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(in) | :: | me |
Get the status message from a bspline_class routine call.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(in) | :: | me | |||
| integer(kind=ip), | intent(in), | optional | :: | iflag |
the corresponding status code |
status message associated with the flag
Actual size of a bspline_1d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(in) | :: | me |
size of the structure in bits
Actual size of a bspline_2d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(in) | :: | me |
size of the structure in bits
Actual size of a bspline_3d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(in) | :: | me |
size of the structure in bits
Actual size of a bspline_4d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(in) | :: | me |
size of the structure in bits
Actual size of a bspline_5d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(in) | :: | me |
size of the structure in bits
Actual size of a bspline_6d structure in bits.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(in) | :: | me |
size of the structure in bits
It returns an empty bspline_1d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_1d type (auto knots). This is a wrapper for initialize_1d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_1d type (user-specified knots). This is a wrapper for initialize_1d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
It returns an empty bspline_2d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_2d type (auto knots). This is a wrapper for initialize_2d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_2d type (user-specified knots). This is a wrapper for initialize_2d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
It returns an empty bspline_3d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_3d type (auto knots). This is a wrapper for initialize_3d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_3d type (user-specified knots). This is a wrapper for initialize_3d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
It returns an empty bspline_4d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_4d type (auto knots). This is a wrapper for initialize_4d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_4d type (user-specified knots). This is a wrapper for initialize_4d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
It returns an empty bspline_5d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_5d type (auto knots). This is a wrapper for initialize_5d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_5d type (user-specified knots). This is a wrapper for initialize_5d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
It returns an empty bspline_6d type. Note that INITIALIZE still needs to be called before it can be used. Not really that useful except perhaps in some OpenMP applications.
Constructor for a bspline_6d type (auto knots). This is a wrapper for initialize_6d_auto_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Constructor for a bspline_6d type (user-specified knots). This is a wrapper for initialize_6d_specify_knots.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
This sets the iflag variable in the class to 0
(which indicates that everything is OK). It can be used
after an error is encountered.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(inout) | :: | me |
Destructor for contents of the base bspline_class class. (this routine is called by the extended classes).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(inout) | :: | me |
Destructor for bspline_1d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
Destructor for bspline_2d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
Destructor for bspline_3d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
Destructor for bspline_4d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
Destructor for bspline_5d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
Destructor for bspline_6d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
Finalizer for bspline_1d class. Just a wrapper for destroy_1d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_1d), | intent(inout) | :: | me |
Finalizer for bspline_2d class. Just a wrapper for destroy_2d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_2d), | intent(inout) | :: | me |
Finalizer for bspline_3d class. Just a wrapper for destroy_3d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_3d), | intent(inout) | :: | me |
Finalizer for bspline_4d class. Just a wrapper for destroy_4d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_4d), | intent(inout) | :: | me |
Finalizer for bspline_5d class. Just a wrapper for destroy_5d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_5d), | intent(inout) | :: | me |
Finalizer for bspline_6d class. Just a wrapper for destroy_6d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bspline_6d), | intent(inout) | :: | me |
Sets the extrap flag in the class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(inout) | :: | me | |||
| logical, | intent(in), | optional | :: | extrap |
if not present, then False is used |
Initialize a bspline_1d type (with automatically-computed knots). This is a wrapper for db1ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| 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(out) | :: | iflag |
status flag (see db1ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_1d type (with user-specified knots). This is a wrapper for db1ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_1d interpolate. This is a wrapper for db1val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1val) |
Evaluate a bspline_1d definite integral. This is a wrapper for db1sqad.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | x1 |
left point of interval |
||
| real(kind=wp), | intent(in) | :: | x2 |
right point of interval |
||
| real(kind=wp), | intent(out) | :: | f |
integral of the b-spline over |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1sqad) |
Evaluate a bspline_1d definite integral. This is a wrapper for db1fqad.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| procedure(b1fqad_func) | :: | fun |
external function of one argument for the
integrand |
|||
| integer(kind=ip), | intent(in) | :: | idx |
order of the spline derivative, |
||
| real(kind=wp), | intent(in) | :: | x1 |
left point of interval |
||
| real(kind=wp), | intent(in) | :: | x2 |
right point of interval |
||
| real(kind=wp), | intent(in) | :: | tol |
desired accuracy for the quadrature |
||
| real(kind=wp), | intent(out) | :: | f |
integral of |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1sqad) |
All the roots of for a bspline_1d. This is a wrapper for db1root.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | a |
the value to solve for |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | x |
the roots, in increasing order (size 0 if there are none) |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1root) |
The unique with for a bspline_1d (for example, a monotonic spline). This is a wrapper for db1root.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | y |
the spline value |
||
| real(kind=wp), | intent(out) | :: | x |
the solution of |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1root) |
The global minimum of a bspline_1d on
(the whole spline domain if xa and xb are not present).
This is a wrapper for db1min.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out) | :: | xmin |
location of the minimum |
||
| real(kind=wp), | intent(out) | :: | fmin |
minimum value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1min) |
||
| real(kind=wp), | intent(in), | optional | :: | xa |
left end of the interval (default |
|
| real(kind=wp), | intent(in), | optional | :: | xb |
right end of the interval (default |
The global maximum of a bspline_1d on
(the whole spline domain if xa and xb are not present).
This is a wrapper for db1max.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out) | :: | xmax |
location of the maximum |
||
| real(kind=wp), | intent(out) | :: | fmax |
maximum value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1max) |
||
| real(kind=wp), | intent(in), | optional | :: | xa |
left end of the interval (default |
|
| real(kind=wp), | intent(in), | optional | :: | xb |
right end of the interval (default |
The interval for minimum_1d and maximum_1d (the whole spline domain by default).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(in) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | optional | :: | xa |
left end of the interval |
|
| real(kind=wp), | intent(in), | optional | :: | xb |
right end of the interval |
|
| real(kind=wp), | intent(out) | :: | x1 |
|
||
| real(kind=wp), | intent(out) | :: | x2 |
|
Initialize a bspline_2d type (with automatically-computed knots). This is a wrapper for db2ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_2d type (with user-specified knots). This is a wrapper for db2ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_2d interpolate. This is a wrapper for db2val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2val) |
Initialize a bspline_3d type (with automatically-computed knots). This is a wrapper for db3ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_3d type (with user-specified knots). This is a wrapper for db3ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_3d interpolate. This is a wrapper for db3val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3val) |
Initialize a bspline_4d type (with automatically-computed knots). This is a wrapper for db4ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_4d type (with user-specified knots). This is a wrapper for db4ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_4d interpolate. This is a wrapper for db4val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4val) |
Initialize a bspline_5d type (with automatically-computed knots). This is a wrapper for db5ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_5d type (with user-specified knots). This is a wrapper for db5ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_5d interpolate. This is a wrapper for db5val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | rval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idr |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5val) |
Initialize a bspline_6d type (with automatically-computed knots). This is a wrapper for db6ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_6d type (with user-specified knots). This is a wrapper for db6ink.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| 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) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate a bspline_6d interpolate. This is a wrapper for db6val.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | rval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | sval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idr |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | ids |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out) | :: | f |
interpolated value |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6val) |
Error checks for the user-specified knot vector sizes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=ip), | intent(in), | optional | :: | nx | ||
| integer(kind=ip), | intent(in), | optional | :: | ny | ||
| integer(kind=ip), | intent(in), | optional | :: | nz | ||
| integer(kind=ip), | intent(in), | optional | :: | nq | ||
| integer(kind=ip), | intent(in), | optional | :: | nr | ||
| integer(kind=ip), | intent(in), | optional | :: | ns | ||
| integer(kind=ip), | intent(in), | optional | :: | kx | ||
| integer(kind=ip), | intent(in), | optional | :: | ky | ||
| integer(kind=ip), | intent(in), | optional | :: | kz | ||
| integer(kind=ip), | intent(in), | optional | :: | kq | ||
| integer(kind=ip), | intent(in), | optional | :: | kr | ||
| integer(kind=ip), | intent(in), | optional | :: | ks | ||
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | tx | |
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | ty | |
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | tz | |
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | tq | |
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | tr | |
| real(kind=wp), | intent(in), | optional, | dimension(:) | :: | ts | |
| integer(kind=ip), | intent(out) | :: | iflag |
0 if everything is OK |
Initialize a bspline_1d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_1d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_1d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_2d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_2d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ty |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_2d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_3d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_3d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ty |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tz |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_3d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_4d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_4d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ty |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tz |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tq |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_4d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_5d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_5d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ty |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tz |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tq |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tr |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_5d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_6d type directly from its knots and b-spline
coefficients (for example, those saved from another object with
get_knots and get_coefficients), without interpolating any data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in ( ) (order = polynomial degree + 1) |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the knot vectors of a bspline_6d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tx |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ty |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tz |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tq |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | tr |
the |
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | ts |
the |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Returns the b-spline coefficients of a bspline_6d. These are the values of the control points (see greville_abscissae for their locations).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_1d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db1ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_1d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db1ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_1d with multiple outputs. This is a wrapper for db1val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db1val) |
Initialize a bspline_1d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_1d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_1d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_2d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db2ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_2d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db2ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_2d with multiple outputs. This is a wrapper for db2val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db2val) |
Initialize a bspline_2d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_2d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_2d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_2d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_3d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db3ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_3d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db3ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_3d with multiple outputs. This is a wrapper for db3val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db3val) |
Initialize a bspline_3d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_3d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_3d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_3d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_4d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db4ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_4d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db4ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_4d with multiple outputs. This is a wrapper for db4val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db4val) |
Initialize a bspline_4d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_4d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_4d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_4d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_5d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db5ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_5d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db5ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_5d with multiple outputs. This is a wrapper for db5val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | rval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idr |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db5val) |
Initialize a bspline_5d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_5d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_5d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_5d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Initialize a bspline_6d type with multiple outputs: nf functions of
the same inputs, on the same grid.
The last dimension of fcn is the output index.
This is a wrapper for db6ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Initialize a bspline_6d type with multiple outputs: nf functions of
the same inputs, on the same grid (with user-specified knots).
The last dimension of fcn is the output index.
This is a wrapper for db6ink (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | y |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | z |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | q |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | r |
|
|
| real(kind=wp), | intent(in), | dimension(:) | :: | s |
|
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:,:) | :: | fcn |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6ink) |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Evaluate all the outputs of a bspline_6d with multiple outputs. This is a wrapper for db6val (multiple-output version).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in) | :: | xval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | yval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | zval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | qval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | rval |
coordinate of evaluation point. |
||
| real(kind=wp), | intent(in) | :: | sval |
coordinate of evaluation point. |
||
| integer(kind=ip), | intent(in) | :: | idx |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idy |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idz |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idq |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | idr |
derivative of piecewise polynomial to evaluate. |
||
| integer(kind=ip), | intent(in) | :: | ids |
derivative of piecewise polynomial to evaluate. |
||
| real(kind=wp), | intent(out), | dimension(:) | :: | f |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see db6val) |
Initialize a bspline_6d type with multiple outputs directly from its
knots and b-spline coefficients. The last dimension of bcoef is the
output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | tx |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ty |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tz |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tq |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | tr |
The |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | ts |
The |
|
| real(kind=wp), | intent(in), | dimension(:,:,:,:,:,:,:) | :: | bcoef |
|
|
| integer(kind=ip), | intent(in) | :: | kx |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ky |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kz |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kq |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | kr |
The order of spline pieces in |
||
| integer(kind=ip), | intent(in) | :: | ks |
The order of spline pieces in |
||
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (see initialize_from_coefficients_6d),
or 6005 if |
||
| logical, | intent(in), | optional | :: | extrap |
if true, then extrapolation is allowed (default is false) |
Returns the b-spline coefficients of a bspline_6d with any number of
outputs. The last dimension of bcoef is the output index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_6d), | intent(inout) | :: | me |
the spline |
||
| real(kind=wp), | intent(out), | dimension(:,:,:,:,:,:,:), allocatable | :: | bcoef |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
The control points of a bspline_1d: the Greville abscissae (see greville_abscissae) and the b-spline coefficients.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_1d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | x |
|
|
| real(kind=wp), | intent(out), | dimension(:), allocatable | :: | y |
|
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag: 0 if no errors, 1 if the class is not initialized |
Check the knots and coefficients for one direction in the
initialize_from_coefficients methods.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=ip), | intent(in) | :: | n |
number of b-spline coefficients |
||
| integer(kind=ip), | intent(in) | :: | k |
order of the b-spline |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | t |
knot vector |
|
| integer(kind=ip), | intent(out) | :: | iflag |
status flag (0 if everything is OK) |