#include <MpiCartesian.h>
Public Member Functions | |
Constructors & destructor | |
MpiCartesian (ident_t id, const cart_dims &num_locations, const cart_period &is_periodic, MpiComm *communicator) | |
Get MPI cartesian topology information | |
MpiComm * | get_comm () const |
MpiCartesian | ( | ident_t | id, | |
const cart_dims & | num_locations, | |||
const cart_period & | is_periodic, | |||
MpiComm * | communicator | |||
) |
Creates a new instance and initializes its identifier and communicator to the given values id and communicator, respectively.
id | Topology identifier | |
num_locations | Contains the number of locations in each dimension | |
is_periodic | Contains boolean values defining whether the corresponding dimension is periodic or not | |
communicator | Associated MPI communicator |
MpiComm * get_comm | ( | ) | const |
Returns the MPI communicator associated to this topology.
![]() |
Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre |