Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ nprocs()

std::array< unsigned, 2 > pism::grid::nprocs ( unsigned int  size,
unsigned int  Mx,
unsigned int  My 
)

Computes the number of processors in the X- and Y-directions.

Definition at line 1382 of file Grid.cc.

References nprocs(), and PISM_ERROR_LOCATION.

Referenced by nprocs(), and pism::grid::Parameters::ownership_ranges_from_options().