next up previous contents
Next: Constructors and destructors Up: Arrays Previous: Arrays

 

struct Map

A dimension map is part of a distributed array descriptor. It is a map from a Location to an offset in a local data segment. Dimension maps are associated with particular parent ranges. They also incorporate a memory stride.

The public interface of the Map class is

  struct Map {
    Map() ;
    Map(Range _range, const int _stride) ;

    Map ker() const ;
    Map shell() const ;

    Range rng() const ;
    int str() const ;

    int offset(const Location& i) const ;

    int disp(const int sub) const ;
    int step(const int sub_stp) const ;

    Range range ;
    int stride ;
  } ;





Guansong Zhang
Fri Oct 9 12:29:23 EDT 1998