![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::simple_lattice
// In header: <alps/lattice/simplelattice.h> template<typename UnitCell = EmptyUnitCell, typename Cell = simple_cell<UnitCell> > class simple_lattice { public: // types typedef UnitCell unit_cell_type; typedef Cell cell_descriptor; typedef alps::dimensional_traits< unit_cell_type >::dimension_type dimension_type; typedef alps::cell_traits< cell_descriptor >::offset_type offset_type; // construct/copy/destruct simple_lattice(); template<typename U2, typename C2> simple_lattice(const simple_lattice< U2, C2 > &); simple_lattice(const unit_cell_type &); template<typename U2, typename C2> simple_lattice& operator=(const simple_lattice< U2, C2 > &); // public member functions unit_cell_type & unit_cell(); const unit_cell_type & unit_cell() const; cell_descriptor cell(offset_type) const; dimension_type dimension() const; };
simple_lattice
public
construct/copy/destructsimple_lattice();
template<typename U2, typename C2> simple_lattice(const simple_lattice< U2, C2 > & l);
simple_lattice(const unit_cell_type & c);
template<typename U2, typename C2> simple_lattice& operator=(const simple_lattice< U2, C2 > & l);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo |