C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DO_Display.h
Go to the documentation of this file.
1 // Copyright András Vukics 2006–2014. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
3 // -*- C++ -*-
4 #ifndef CPPQEDCORE_QUANTUMTRAJECTORY_DO_DISPLAY_H_INCLUDED
5 #define CPPQEDCORE_QUANTUMTRAJECTORY_DO_DISPLAY_H_INCLUDED
6 
7 #include "DensityOperator.h"
8 
9 #include "Averaged.h"
10 
11 
12 namespace quantumtrajectory {
13 
15 namespace display_densityoperator {
16 
17 
19 
29 template<int RANK, typename V>
30 class _
31 {
32 public:
34 
36  typedef typename structure::Averaged<RANK>::Ptr AveragedPtr;
37 
38  _(AveragedPtr av, bool negativity) : av_(av), negativity_(negativity) {}
39 
40  std::ostream& display (double t, const DensityOperator&, std::ostream&, int precision) const;
41  std::ostream& displayKey(std::ostream&, size_t&) const;
42 
43 private:
44  const AveragedPtr av_ ;
45 
46  const bool negativity_;
47 
48 };
49 
50 
51 } // display_densityoperator
52 
53 
54 } // quantumtrajectory
55 
56 #endif // CPPQEDCORE_QUANTUMTRAJECTORY_DO_DISPLAY_H_INCLUDED
Density operator of arbitrary arity.
Comprises modules representing trajectory drivers for simulating quantum systems. ...
Definition: DO_Display.h:12
The interface every system that calculates and displays quantum averages must present towards the tra...
Definition: Averaged.h:84
Wraps common functionality of Master & EnsembleMCWF concerning display of quantum averages on the bas...
Definition: DO_Display.h:30
Defines class of the same name.
Defines class of the same name.