PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ 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 264 of file Grid.cc.

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

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