Class for 6d nearest neighbor interpolation.
Constructor for a linear_interp_6d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(linear_interp_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(:,:,:,:,:,:) | :: | f | ||
| integer, | intent(out) | :: | istat |
|
Destructor for a linear_interp_6d class.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(linear_interp_6d), | intent(inout) | :: | me |
6D nearest neighbor interpolation routine.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(nearest_interp_6d), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | x | |||
| real(kind=wp), | intent(in) | :: | y | |||
| real(kind=wp), | intent(in) | :: | z | |||
| real(kind=wp), | intent(in) | :: | q | |||
| real(kind=wp), | intent(in) | :: | r | |||
| real(kind=wp), | intent(in) | :: | s | |||
| real(kind=wp), | intent(out) | :: | f |
Nearest |
||
| integer, | intent(out), | optional | :: | istat |
|
type,extends(linear_interp_6d),public :: nearest_interp_6d !! Class for 6d nearest neighbor interpolation. contains procedure,public :: evaluate => nearest_6d end type nearest_interp_6d