C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
trajectory::Averageable< T > Class Template Referenceabstract

The very general concept of an averageable trajectory. More...

#include <StochasticTrajectory.h>

+ Inheritance diagram for trajectory::Averageable< T >:
+ Collaboration diagram for trajectory::Averageable< T >:

Public Member Functions

const T toBeAveraged () const
 returns the set of quantities condensed in a variable of type T that are “to be averaged”
 
- Public Member Functions inherited from trajectory::Trajectory
void evolve (double deltaT)
 Propagation for a time interval of exactly deltaT.
 
std::ostream & display (std::ostream &, int precision) const
 Displays a limited set of relevant physical and numerical information about the actual state of Trajectory at the actual time instant. More...
 
std::ostream & displayParameters (std::ostream &os) const
 print header
 
std::ostream & logOnEnd (std::ostream &os) const
 print a log at the end summarizing overall (e.g. time-averaged) physical and numerical data during the run
 
double getTime () const
 actual time instant
 
double getDtDid () const
 last perfomed timestep
 
cpputils::iarchivereadState (cpputils::iarchive &iar)
 read from an archive
 
cpputils::oarchivewriteState (cpputils::oarchive &oar) const
 write to an archive
 

Additional Inherited Members

Detailed Description

template<typename T>
class trajectory::Averageable< T >

The very general concept of an averageable trajectory.

Besides being a Trajectory, it can report a certain set of quantities, which are to be averaged either

  • along a single Averageable trajectory (time average) or
  • over several instances of Averageable all evolved to a certain time instant (ensemble average)
Template Parameters
Tthe type condensing the quantities to be averaged. No implicit interface assumed @ this point. Possible models: double or complex for a single c-number quantity; an std::valarray, or a quantumdata::DensityOperator
Todo:
implement general time averaging along the lines discussed in this tracker

Definition at line 33 of file StochasticTrajectory.h.


The documentation for this class was generated from the following file: