ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template simple_cell

alps::simple_cell

Synopsis

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

template<typename UnitCell = EmptyUnitCell, 
         typename Offset = typename std::vector<int> > 
class simple_cell {
public:
  // types
  typedef Offset                                               offset_type;   
  typedef UnitCell                                             unit_cell_type;
  typedef alps::dimensional_traits< UnitCell >::dimension_type dimension_type;

  // construct/copy/destruct
  simple_cell();
  simple_cell(const unit_cell_type &, const offset_type &);

  // public member functions
  const offset_type & offset() const;
  dimension_type dimension();
};

Description

simple_cell public construct/copy/destruct

  1. simple_cell();
  2. simple_cell(const unit_cell_type & u, const offset_type & o);

simple_cell public member functions

  1. const offset_type & offset() const;
  2. dimension_type dimension();
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext