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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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:

dims

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

nb_proc

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


PrevUpHomeNext