ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class LatticeDescriptor

alps::LatticeDescriptor

Synopsis

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


class LatticeDescriptor : public alps::coordinate_lattice< simple_lattice<>, std::vector< alps::StringValue > >
{
public:
  // types
  typedef coordinate_lattice< simple_lattice<>, std::vector< alps::StringValue > > base_type;            
  typedef lattice_traits< base_type >::unit_cell_type                              unit_cell_type;       
  typedef lattice_traits< base_type >::offset_type                                 offset_type;          
  typedef lattice_traits< base_type >::cell_descriptor                             cell_descriptor;      
  typedef lattice_traits< base_type >::vector_type                                 vector_type;          
  typedef lattice_traits< base_type >::basis_vector_iterator                       basis_vector_iterator;

  // construct/copy/destruct
  LatticeDescriptor();
  LatticeDescriptor(const std::string &, std::size_t);
  LatticeDescriptor(const alps::XMLTag &, std::istream &);

  // public member functions
  void write_xml(oxstream &) const;
  const std::string & name() const;
  std::size_t dimension() const;
  void set_parameters(const alps::Parameters &);
  template<typename T> 
    void add_default_parameter(const std::string &, const T &);
};

Description

LatticeDescriptor public construct/copy/destruct

  1. LatticeDescriptor();
  2. LatticeDescriptor(const std::string & name, std::size_t dim);
  3. LatticeDescriptor(const alps::XMLTag &, std::istream &);

LatticeDescriptor public member functions

  1. void write_xml(oxstream &) const;
  2. const std::string & name() const;
  3. std::size_t dimension() const;
  4. void set_parameters(const alps::Parameters &);
  5. template<typename T> 
      void add_default_parameter(const std::string & name, const T & value);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext