![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::boundary_crossing
// 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); };
boundary_crossing
public member functionsoperator bool() const;
direction_type crosses(dimension_type d) const;
const boundary_crossing & set_crossing(dimension_type d, direction_type dir);
const boundary_crossing & invert();
void save(ODump & dump) const;
void load(IDump & dump);
template<typename Archive> void serialize(Archive & ar, const unsigned int version);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo |