PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().