_boundary_utils
BOUNDARY_AT_START_OF_DIM_MAPPING = {constants.WEST: {constants.I_DIM: True, constants.I_INTERFACE_DIM: True}, constants.EAST: {constants.I_DIM: False, constants.I_INTERFACE_DIM: False}, constants.SOUTH: {constants.J_DIM: True, constants.J_INTERFACE_DIM: True}, constants.NORTH: {constants.J_DIM: False, constants.J_INTERFACE_DIM: False}}
module-attribute
shift_boundary_slice_tuple(dims, origin, extent, boundary_type, slice_tuple)
bound_default_slice(slice_in, start=None, stop=None)
get_boundary_slice(dims, origin, extent, shape, boundary_type, n_halo, interior)
cached
boundary_at_start_of_dim(boundary, dim)
Return True if boundary is at the start of the dimension, False if at the end, None if the boundary does not align with the dimension.