grabValueAtCoord_onewaycoupled Subroutine

public subroutine grabValueAtCoord_onewaycoupled(coord, scheme, vel_pos, dens_pos, rho, u, err)

Get the value of the density and velocity at a certain integer coordinate

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: coord(4)
type(mus_scheme_type), intent(inout) :: scheme
integer, intent(in) :: vel_pos(3)
integer, intent(in) :: dens_pos
real(kind=rk), intent(out) :: rho
real(kind=rk), intent(out) :: u(3)
logical, intent(out) :: err

Error code: set to TRUE if we could not find ldPos of coord we are trying to grab value at (for example because it is outside domain and not a halo.