PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ set_ownership_ranges()

void pism::Grid::Impl::set_ownership_ranges ( const std::vector< unsigned int > &  procs_x,
const std::vector< unsigned int > &  procs_y 
)

Set processor ownership ranges. Takes care of type conversion (unsigned int -> PetscInt).

Definition at line 368 of file Grid.cc.

References pism::k, PISM_ERROR_LOCATION, procs_x, procs_y, and size.

Referenced by pism::Grid::Grid().