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 alps::MeasurementOperators
{
public:
  // types
  typedef T                                                                                            value_type;          
  typedef norm_type< value_type >::type                                                                magnitude_type;      
  typedef boost::numeric::ublas::vector< value_type >                                                  vector_type;         
  typedef boost::numeric::ublas::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
  void dostep();
  void serialize(hdf5::oarchive &) const;
  void serialize(hdf5::iarchive &);

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

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. void dostep();
  2. void serialize(hdf5::oarchive &) const;
  3. void serialize(hdf5::iarchive &);

DiagTask protected member functions

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

PrevUpHomeNext