123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
-
-
-
-
-
-
- #ifndef INVERSESOLVER_H_INC
- #define INVERSESOLVER_H_INC
-
- #include "LemmaObject.h"
- #include "data.h"
- #include "instrument.h"
- #include "octreegrid.h"
-
- namespace Lemma {
-
-
-
-
-
-
-
- class InverseSolver : public LemmaObject {
-
- friend std::ostream &operator<<(std::ostream &stream,
- const InverseSolver &ob);
-
- friend class OctreeGrid;
-
- public:
-
-
-
-
-
-
-
-
-
-
-
- void SetObservedData(Data* ObsData);
-
-
-
- void SetInstrument(Instrument* inst);
-
-
-
- Data* GetPredictedData();
-
-
-
-
-
- virtual int NumberOfIterations()=0;
-
-
-
- virtual bool Success()=0;
-
-
-
- virtual VectorXr GetPhiMVector()=0;
-
-
-
- virtual VectorXr GetPhiDVector()=0;
-
- protected:
-
-
-
-
- virtual void FillInG(const Vector3r& pos, const Vector3r& step)=0;
-
-
-
-
- InverseSolver (const std::string &name);
-
-
- ~InverseSolver ();
-
-
-
-
- Data* ObservedData;
-
-
- Data* PredictedData;
-
-
- Instrument* ModelInstrument;
-
- private:
-
- };
- }
-
- #endif
|