ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class LatticeLibrary

alps::LatticeLibrary

Synopsis

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


class LatticeLibrary {
public:
  // types
  typedef hypercubic_lattice< coordinate_lattice< simple_lattice< GraphUnitCell > > > lattice_type;

  // construct/copy/destruct
  LatticeLibrary();
  LatticeLibrary(std::istream &);
  LatticeLibrary(const XMLTag &, std::istream &);
  LatticeLibrary(const Parameters &);

  // public member functions
  void read_xml(std::istream &);
  void read_xml(const XMLTag &, std::istream &);
  void write_xml(oxstream &) const;
  bool has_graph(const std::string &) const;
  bool has_lattice(const std::string &) const;
  bool has_unitcell(const std::string &) const;
  const LatticeGraphDescriptor & lattice_descriptor(const std::string &) const;
  lattice_type lattice(const std::string &) const;
  const coordinate_graph_type & graph(const std::string &) const;
  template<typename G> bool get_graph(G &, const std::string &) const;
  void make_all_graphs();
};

Description

LatticeLibrary public construct/copy/destruct

  1. LatticeLibrary();
  2. LatticeLibrary(std::istream & in);
  3. LatticeLibrary(const XMLTag & tag, std::istream & p);
  4. LatticeLibrary(const Parameters & p);

LatticeLibrary public member functions

  1. void read_xml(std::istream & in);
  2. void read_xml(const XMLTag & tag, std::istream & p);
  3. void write_xml(oxstream &) const;
  4. bool has_graph(const std::string & name) const;
  5. bool has_lattice(const std::string & name) const;
  6. bool has_unitcell(const std::string & name) const;
  7. const LatticeGraphDescriptor & 
    lattice_descriptor(const std::string & name) const;
  8. lattice_type lattice(const std::string & name) const;
  9. const coordinate_graph_type & graph(const std::string & name) const;
  10. template<typename G> bool get_graph(G & graph, const std::string & name) const;
  11. void make_all_graphs();
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext