DOpE
solutionextractor.h
Go to the documentation of this file.
1 
24 #ifndef SOLUTIONEXTRACTOR_H_
25 #define SOLUTIONEXTRACTOR_H_
26 
27 #include "statevector.h"
28 
37 namespace DOpE
38 {
39 template<class SOLVERCLASS, class VECTOR>
41 {
42  public:
43  SolutionExtractor(const SOLVERCLASS &solver) :
44  solverpointer_(&solver) {};
45  const StateVector<VECTOR> & GetU() const
46  {
47  return solverpointer_->GetU();
48  }
50  {
51  return solverpointer_->GetZForEE();
52  }
53  private:
54  const SOLVERCLASS* solverpointer_;
55 };
56 }
57 
58 #endif /* SOLUTIONEXTRACTOR_H_ */
const StateVector< VECTOR > & GetZForEE() const
Definition: solutionextractor.h:49
const StateVector< VECTOR > & GetU() const
Definition: solutionextractor.h:45
Definition: solutionextractor.h:40
Definition: statevector.h:50
SolutionExtractor(const SOLVERCLASS &solver)
Definition: solutionextractor.h:43