field_set_z_face Subroutine

public subroutine field_set_z_face(f, c_start, c_end, set_start, set_end, nx, ny, nz, nz_pad)

Set the bottom (local z = 1) and top (local z = nz) Z_FACE planes of a DIR_X field where flagged. DIR_X groups are ordered z fastest, b = (y_block - 1)*nz_pad + z, with nz_pad the padded z count. Launch with blocks = dim3((nx - 1)/64 + 1, n_y_blocks, 1), threads = dim3(64, 1, 1).

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device, dimension(:, :, :) :: f
real(kind=dp), intent(in), value :: c_start
real(kind=dp), intent(in), value :: c_end
logical, intent(in), value :: set_start
logical, intent(in), value :: set_end
integer, intent(in), value :: nx
integer, intent(in), value :: ny
integer, intent(in), value :: nz
integer, intent(in), value :: nz_pad

Called by

proc~~field_set_z_face~~CalledByGraph proc~field_set_z_face m_cuda_kernels_fieldops::field_set_z_face proc~field_set_face_cuda m_cuda_backend::cuda_backend_t%field_set_face_cuda proc~field_set_face_cuda->proc~field_set_z_face