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).
| Type | Intent | Optional | 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 |