ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class MCRun

alps::scheduler::MCRun

Synopsis

// In header: <alps/scheduler/montecarlo.h>


class MCRun : public alps::scheduler::Worker {
public:
  // construct/copy/destruct
  MCRun(const ProcessList &, const alps::Parameters &, int);

  // public static functions
  static void print_copyright(std::ostream &);

  // public member functions
  void save_worker(ODump &) const;
  void load_worker(IDump &);
  void save(ODump &) const;
  void load(IDump &);
  void write_xml(const boost::filesystem::path &) const;
  const ObservableSet & get_measurements() const;
  ObservableSet get_compacted_measurements() const;
  ObservableSet get_and_remove_observable(const std::string &, bool = false);
  std::string work_phase();
  void run();
  bool is_thermalized() const;
  bool handle_message(const Process &, int32_t);
};

Description

MCRun public construct/copy/destruct

  1. MCRun(const ProcessList &, const alps::Parameters &, int);

MCRun public static functions

  1. static void print_copyright(std::ostream &);

MCRun public member functions

  1. void save_worker(ODump &) const;
  2. void load_worker(IDump &);
  3. void save(ODump &) const;
  4. void load(IDump &);
  5. void write_xml(const boost::filesystem::path & name) const;
  6. const ObservableSet & get_measurements() const;
  7. ObservableSet get_compacted_measurements() const;
  8. ObservableSet 
    get_and_remove_observable(const std::string & obsname, bool compact = false);
  9. std::string work_phase();
  10. void run();
  11. bool is_thermalized() const;
  12. bool handle_message(const Process & runmaster, int32_t tag);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext