PEARL
Parallel Event Access and Replay Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
pearl::Cartesian Class Reference

Stores information related to cartesian grid topologies. More...

#include <pearl/Cartesian.h>

Inheritance diagram for pearl::Cartesian:
pearl::Topology pearl::MpiCartesian

List of all members.

Public Types

typedef std::vector< uint32_t > cart_dims
 Container type for topology dimensions.
typedef std::vector< bool > cart_period
 Container type for topology periodicity.
typedef std::vector< uint32_t > cart_coords

Public Member Functions

uint32_t num_dimensions () const
void get_dimensionv (cart_dims &outv) const
void get_periodv (cart_period &outv) const
void get_coords (const Location &location, cart_coords &coords) const
void set_coords (const Location &location, const cart_coords &coords)
Constructors & destructor
 Cartesian (uint32_t id, const cart_dims &num_locations, const cart_period &is_periodic)

Detailed Description

The class Cartesian provides information related to virtual cartesian grid topologies. These grids can have arbitrary dimensions. In addition, each dimension can be periodic or not (e.g., to define a torus topology).


Member Typedef Documentation

typedef std::vector<uint32_t> pearl::Cartesian::cart_coords
typedef std::vector<uint32_t> pearl::Cartesian::cart_dims
typedef std::vector<bool> pearl::Cartesian::cart_period

Constructor & Destructor Documentation

pearl::Cartesian::Cartesian ( uint32_t  id,
const cart_dims num_locations,
const cart_period is_periodic 
)

Member Function Documentation

void pearl::Cartesian::get_coords ( const Location location,
cart_coords coords 
) const
void pearl::Cartesian::set_coords ( const Location location,
const cart_coords coords 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Scalasca    Copyright © 1998–2014 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2014 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming