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 |
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 |
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 |
||
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 |
generic, public :: initialize => initialize_1d_auto_knots, initialize_1d_specify_knots | |
procedure, private :: initialize_1d_auto_knots | |
procedure, private :: initialize_1d_specify_knots | |
procedure, public :: evaluate => evaluate_1d | |
procedure, public :: destroy => destroy_1d | |
procedure, public :: size_of => size_1d | |
procedure, public :: integral => integral_1d | |
procedure, public :: fintegral => fintegral_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 |
||
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 |
generic, public :: initialize => initialize_2d_auto_knots, initialize_2d_specify_knots | |
procedure, private :: initialize_2d_auto_knots | |
procedure, private :: initialize_2d_specify_knots | |
procedure, public :: evaluate => evaluate_2d | |
procedure, public :: destroy => destroy_2d | |
procedure, public :: size_of => size_2d |
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 |
||
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 |
generic, public :: initialize => initialize_3d_auto_knots, initialize_3d_specify_knots | |
procedure, private :: initialize_3d_auto_knots | |
procedure, private :: initialize_3d_specify_knots | |
procedure, public :: evaluate => evaluate_3d | |
procedure, public :: destroy => destroy_3d | |
procedure, public :: size_of => size_3d |
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 |
||
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 |
generic, public :: initialize => initialize_4d_auto_knots, initialize_4d_specify_knots | |
procedure, private :: initialize_4d_auto_knots | |
procedure, private :: initialize_4d_specify_knots | |
procedure, public :: evaluate => evaluate_4d | |
procedure, public :: destroy => destroy_4d | |
procedure, public :: size_of => size_4d |
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 |
||
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 |
generic, public :: initialize => initialize_5d_auto_knots, initialize_5d_specify_knots | |
procedure, private :: initialize_5d_auto_knots | |
procedure, private :: initialize_5d_specify_knots | |
procedure, public :: evaluate => evaluate_5d | |
procedure, public :: destroy => destroy_5d | |
procedure, public :: size_of => size_5d |
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 |
||
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 |
generic, public :: initialize => initialize_6d_auto_knots, initialize_6d_specify_knots | |
procedure, private :: initialize_6d_auto_knots | |
procedure, private :: initialize_6d_specify_knots | |
procedure, public :: evaluate => evaluate_6d | |
procedure, public :: destroy => destroy_6d | |
procedure, public :: size_of => size_6d |
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) |
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 |