Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function cartesian_dimensions

boost::mpi::cartesian_dimensions

Synopsis

// In header: <boost/mpi/cartesian_communicator.hpp>


std::vector< int > & 
cartesian_dimensions(int nb_proc, std::vector< int > & dims);

Description

Given en number of processes, and a partially filled sequence of dimension, try to complete the dimension sequence.

Parameters:

nb_proc

the numer of mpi processes.fill a sequence of dimension.

dims

a sequence of positive or null dimensions. Non zero dimension will be left untouched.


PrevUpHomeNext