Class for 6d linear interpolation.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=wp), | private, | dimension(:,:,:,:,:,:), allocatable | :: | f | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | x | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | y | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | z | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | q | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | r | |||
real(kind=wp), | private, | dimension(:), allocatable | :: | s | |||
integer, | private | :: | ilox | = | 1 | ||
integer, | private | :: | iloy | = | 1 | ||
integer, | private | :: | iloz | = | 1 | ||
integer, | private | :: | iloq | = | 1 | ||
integer, | private | :: | ilor | = | 1 | ||
integer, | private | :: | ilos | = | 1 |
Finalizer for a linear_interp_6d type.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(linear_interp_6d), | intent(inout) | :: | me |
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 |
|
6D linear interpolation routine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linear_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 |
Interpolated |
||
integer, | intent(out), | optional | :: | istat |
|
Destructor for a linear_interp_6d class.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linear_interp_6d), | intent(inout) | :: | me |
type,extends(linear_interp_class),public :: linear_interp_6d !! Class for 6d linear interpolation. private real(wp),dimension(:,:,:,:,:,:),allocatable :: f real(wp),dimension(:),allocatable :: x real(wp),dimension(:),allocatable :: y real(wp),dimension(:),allocatable :: z real(wp),dimension(:),allocatable :: q real(wp),dimension(:),allocatable :: r real(wp),dimension(:),allocatable :: s integer :: ilox = 1 integer :: iloy = 1 integer :: iloz = 1 integer :: iloq = 1 integer :: ilor = 1 integer :: ilos = 1 contains private procedure,public :: initialize => initialize_6d procedure,public :: evaluate => interp_6d procedure,public :: destroy => destroy_6d final :: finalize_6d end type linear_interp_6d