ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Struct boundary_crossing

alps::boundary_crossing

Synopsis

// In header: <alps/lattice/boundary.h>


struct boundary_crossing {
  // types
  typedef unsigned int dimension_type;
  typedef int          direction_type;

  // construct/copy/destruct
  boundary_crossing();

  // public member functions
  operator bool() const;
  direction_type crosses(dimension_type) const;
  const boundary_crossing & set_crossing(dimension_type, direction_type);
  const boundary_crossing & invert();
  void save(ODump &) const;
  void load(IDump &);
  template<typename Archive> void serialize(Archive &, const unsigned int);

  // private member functions
  const boundary_crossing & invert(dimension_type);
};

Description

boundary_crossing public construct/copy/destruct

  1. boundary_crossing();

boundary_crossing public member functions

  1. operator bool() const;
  2. direction_type crosses(dimension_type d) const;
  3. const boundary_crossing & set_crossing(dimension_type d, direction_type dir);
  4. const boundary_crossing & invert();
  5. void save(ODump & dump) const;
  6. void load(IDump & dump);
  7. template<typename Archive> 
      void serialize(Archive & ar, const unsigned int version);

boundary_crossing private member functions

  1. const boundary_crossing & invert(dimension_type d);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext