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:49
SolutionExtractor(const SOLVERCLASS &solver)
Definition: solutionextractor.h:43