Appearance
adam_prism_fnl_fWLayer_object
ADAM, PRISM (Plasma Research usIng Simulation Methods) fWLayer class definition, FNL backend.
Source: src/app/prism/fnl/adam_prism_fnl_fWLayer_object.F90
Dependencies
Contents
Subroutines
apply_fwl_correction_dev_kernel
Applay FWL correction, direction agnostic, device kernel.
fortran
subroutine apply_fwl_correction_dev_kernel(block_idx, ngc, ni, nj, nk, ni1, ni2, nj1, nj2, nk1, nk2, face, n, s2, alfa_D, beta_D, alfa_B, beta_B, domain_emin_n, domain_emax_n, profile_extent, profile_cells, x_cell_gpu, y_cell_gpu, z_cell_gpu, dxyz_gpu, q_gpu)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
block_idx | integer(kind=I4P) | in | Block index. | |
ngc | integer(kind=I4P) | in | Number of ghost cells. | |
ni | integer(kind=I4P) | in | Cells number in i, j and k directions. | |
nj | integer(kind=I4P) | in | Cells number in i, j and k directions. | |
nk | integer(kind=I4P) | in | Cells number in i, j and k directions. | |
ni1 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
ni2 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
nj1 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
nj2 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
nk1 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
nk2 | integer(kind=I4P) | in | Dimensions of FWL domain. | |
face | integer(kind=I4P) | in | Boundary face identifier. | |
n | integer(kind=I4P) | in | f component. | |
s2 | real(kind=R8P) | in | Side coefficient. | |
alfa_D | integer(kind=I4P) | in | Corrected var index of D (Barbas' notation). | |
beta_D | integer(kind=I4P) | in | Corrected var index of D (Barbas' notation). | |
alfa_B | integer(kind=I4P) | in | Corrected var index of D (Barbas' notation). | |
beta_B | integer(kind=I4P) | in | Corrected var index of D (Barbas' notation). | |
domain_emin_n | real(kind=R8P) | in | Domain minimum coordinate along the layer normal. | |
domain_emax_n | real(kind=R8P) | in | Domain maximum coordinate along the layer normal. | |
profile_extent | real(kind=R8P) | in | Discrete face-wise profile extent. | |
profile_cells | integer(kind=I4P) | in | Effective face-wise layer thickness in cells. | |
x_cell_gpu | real(kind=R8P) | in | Cells x coordinates on GPU. | |
y_cell_gpu | real(kind=R8P) | in | Cells y coordinates on GPU. | |
z_cell_gpu | real(kind=R8P) | in | Cells z coordinates on GPU. | |
dxyz_gpu | real(kind=R8P) | in | Block mesh spacing [nb,3]. | |
q_gpu | real(kind=R8P) | inout | Field variables. |
Call graph