Constructor function for the cuda_tdsops_t class. See tdsops_t for details.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
real(kind=dp), | intent(in) | :: | delta | |||
character(len=*), | intent(in) | :: | operation | |||
character(len=*), | intent(in) | :: | scheme | |||
integer, | intent(in) | :: | bc_start | |||
integer, | intent(in) | :: | bc_end | |||
integer, | intent(in), | optional | :: | n_halo | ||
character(len=*), | intent(in), | optional | :: | from_to | ||
logical, | intent(in), | optional | :: | sym | ||
real(kind=dp), | intent(in), | optional | :: | c_nu | ||
real(kind=dp), | intent(in), | optional | :: | nu0_nu |
return value of the function
CUDA extension of the Tridiagonal Solver Operators class.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=dp), | public, | allocatable, dimension(:) | :: | dist_fw |
fw/bw phase back subs. the auxiliary factors |
||
real(kind=dp), | public, | allocatable, dimension(:) | :: | dist_bw |
fw/bw phase back subs. the auxiliary factors |
||
real(kind=dp), | public, | allocatable, dimension(:) | :: | dist_sa |
fw/bw phase back subs. the auxiliary factors |
||
real(kind=dp), | public, | allocatable, dimension(:) | :: | dist_sc |
fw/bw phase back subs. the auxiliary factors |
||
real(kind=dp), | public, | allocatable, dimension(:) | :: | dist_af |
fw/bw phase back subs. the auxiliary factors |
||
real(kind=dp), | public, | allocatable, dimension(:) | :: | thom_f | |||
real(kind=dp), | public, | allocatable, dimension(:) | :: | thom_s | |||
real(kind=dp), | public, | allocatable, dimension(:) | :: | thom_w | |||
real(kind=dp), | public, | allocatable, dimension(:) | :: | thom_p | |||
real(kind=dp), | public, | allocatable | :: | coeffs(:) | |||
real(kind=dp), | public, | allocatable | :: | coeffs_s(:,:) | |||
real(kind=dp), | public, | allocatable | :: | coeffs_e(:,:) | |||
real(kind=dp), | public | :: | alpha | ||||
real(kind=dp), | public | :: | a | ||||
real(kind=dp), | public | :: | b | ||||
real(kind=dp), | public | :: | c | = | 0._dp | ||
real(kind=dp), | public | :: | d | = | 0._dp | ||
logical, | public | :: | periodic | ||||
integer, | public | :: | tds_n | ||||
integer, | public | :: | move | = | 0 | ||
integer, | public | :: | n_halo | ||||
real(kind=dp), | public, | device, allocatable | :: | dist_fw_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | dist_bw_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | dist_sa_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | dist_sc_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | dist_af_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | thom_f_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | thom_s_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | thom_w_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | thom_p_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | coeffs_dev(:) | |||
real(kind=dp), | public, | device, allocatable | :: | coeffs_s_dev(:,:) | |||
real(kind=dp), | public, | device, allocatable | :: | coeffs_e_dev(:,:) |
public function cuda_tdsops_init (n, delta, operation, scheme, bc_start, bc_end, n_halo, from_to, sym, c_nu, nu0_nu) | Constructor function for the cuda_tdsops_t class. See tdsops_t for details. |
procedure, public :: stagder_1st | |
procedure, public :: interpl_mid | |
procedure, public :: deriv_2nd | |
procedure, public :: deriv_1st | |
procedure, public :: preprocess_thom | |
procedure, public :: preprocess_dist |
Constructor function for the cuda_tdsops_t class. See tdsops_t for details.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
real(kind=dp), | intent(in) | :: | delta | |||
character(len=*), | intent(in) | :: | operation | |||
character(len=*), | intent(in) | :: | scheme | |||
integer, | intent(in) | :: | bc_start | |||
integer, | intent(in) | :: | bc_end | |||
integer, | intent(in), | optional | :: | n_halo | ||
character(len=*), | intent(in), | optional | :: | from_to | ||
logical, | intent(in), | optional | :: | sym | ||
real(kind=dp), | intent(in), | optional | :: | c_nu | ||
real(kind=dp), | intent(in), | optional | :: | nu0_nu |
return value of the function