C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
quantumtrajectory::ensemble::Base< RANK > Class Template Reference

Less templatized base for EnsembleMCWF. More...

#include <EnsembleMCWF.h>

+ Inheritance diagram for quantumtrajectory::ensemble::Base< RANK >:
+ Collaboration diagram for quantumtrajectory::ensemble::Base< RANK >:

Public Types

typedef Single::StateVector StateVector
 
typedef Single::StateVectorLow StateVectorLow
 
typedef structure::QuantumSystem< RANK >::Ptr QuantumSystemPtr
 
- Public Types inherited from trajectory::Ensemble< quantumdata::DensityOperator< RANK > &, const quantumdata::StateVector< RANK > & >
typedef Averageable< const quantumdata::StateVector< RANK > & > Elem
 
typedef boost::ptr_vector< ElemImpl
 The storage of the element trajectories is through a pointer-vector More...
 
typedef quantumdata::DensityOperator< RANK > & ToBeAveragedType
 

Protected Types

typedef trajectory::Ensemble< quantumdata::DensityOperator< RANK > &, const quantumdata::StateVector< RANK > & > Ensemble
 
- Protected Types inherited from trajectory::Ensemble< quantumdata::DensityOperator< RANK > &, const quantumdata::StateVector< RANK > & >
typedef std::auto_ptr< ImplPtr
 

Protected Member Functions

 Base (const StateVector &psi, QuantumSystemPtr sys, const Pars &p, const StateVectorLow &=StateVectorLow())
 Straightforward constructor. More...
 
const QuantumSystemPtr getQS () const
 
- Protected Member Functions inherited from trajectory::Ensemble< quantumdata::DensityOperator< RANK > &, const quantumdata::StateVector< RANK > & >
 Ensemble (Ptr trajs, bool displayProgress)
 Generic constructor. More...
 
const ImplgetTrajectories () const
 Getter.
 
virtual cpputils::iarchivereadState_v (cpputils::iarchive &ios) final
 
virtual cpputils::oarchivewriteState_v (cpputils::oarchive &ios) const final
 

Additional Inherited Members

- Public Member Functions inherited from trajectory::Ensemble< quantumdata::DensityOperator< RANK > &, const quantumdata::StateVector< RANK > & >
const ToBeAveragedType averageInRange (size_t begin, size_t n) const
 Averages only in a range begin..begin+n-1 More...
 
- Public Member Functions inherited from trajectory::Averageable< quantumdata::DensityOperator< RANK > & >
const quantumdata::DensityOperator< RANK > & 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
 

Detailed Description

template<int RANK>
class quantumtrajectory::ensemble::Base< RANK >

Less templatized base for EnsembleMCWF.

Template Parameters
RANKarity of the Hilbert space

Definition at line 29 of file EnsembleMCWF.h.

Constructor & Destructor Documentation

template<int RANK>
quantumtrajectory::ensemble::Base< RANK >::Base ( const StateVector psi,
QuantumSystemPtr  sys,
const Pars p,
const StateVectorLow &  = StateVectorLow() 
)
protected

Straightforward constructor.

Parameters
psithe (pure-state) initial condition
systhe structure::QuantumSystem to be simulated
pparameters of the simulation (contains the number of trajectories)

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