field_add_const_x_face Subroutine

public subroutine field_add_const_x_face(f, c, i_plane, n_f, ny, nz, n_yb_pad)

Add the constant c to every point of the x plane i_plane of f.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: f(SZ,n_f,n_yb_pad*nz)
real(kind=dp), intent(in) :: c
integer, intent(in) :: i_plane
integer, intent(in) :: n_f
integer, intent(in) :: ny
integer, intent(in) :: nz
integer, intent(in) :: n_yb_pad