ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template DiagTask

alps::scheduler::DiagTask

Synopsis

// In header: <alps/scheduler/diag.hpp>

template<typename T, typename G = typename graph_helper<>::graph_type> 
class DiagTask : public alps::scheduler::Task,
                 public graph_helper< G >,
                 public model_helper<>,
                 public alps::MeasurementOperators
{
public:
  // types
  typedef T                                                                                            value_type;          
  typedef norm_type< value_type >::type                                                                magnitude_type;      
  typedef alps::numeric::vector< value_type >                                                          vector_type;         
  typedef alps::numeric::vector< magnitude_type >                                                      mag_vector_type;     
  typedef model_helper::half_integer_type                                                              half_integer_type;   
  typedef boost::numeric::ublas::mapped_vector_of_mapped_vector< T, boost::numeric::ublas::row_major > operator_matrix_type;

  // construct/copy/destruct
  DiagTask(const ProcessList &, const boost::filesystem::path &, bool = false);

  // public member functions
  virtual void dostep();
  virtual void save(hdf5::archive &) const;
  virtual void load(hdf5::archive &);

  // protected member functions
  void write_xml_body(oxstream &, const boost::filesystem::path &, bool) const;
  virtual void handle_tag(std::istream &, const XMLTag &);
  bool calc_vectors() const;
  bool print_vectors() const;
};

Description

DiagTask public construct/copy/destruct

  1. DiagTask(const ProcessList & where, const boost::filesystem::path & p, 
             bool delay_construct = false);

DiagTask public member functions

  1. virtual void dostep();
  2. virtual void save(hdf5::archive &) const;
  3. virtual void load(hdf5::archive &);

DiagTask protected member functions

  1. void write_xml_body(oxstream &, const boost::filesystem::path &, bool) const;
  2. virtual void handle_tag(std::istream & infile, const XMLTag & tag);
  3. bool calc_vectors() const;
  4. bool print_vectors() const;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext