00001 #ifndef LAGRANGELINEAR_1_H
00002 #define LAGRANGELINEAR_1_H
00003
00004 #include "interpolator_1.h"
00005 namespace afl
00006 {
00007
00008
00014 class LagrangeLinear_1 : public Interpolator_1
00015 {
00016
00018 public:
00024 LagrangeLinear_1( const Field* f, const Parameters& params );
00025
00032 Value interpolate( const Point& x ) const;
00033
00038 virtual Interpolator* clone( ) ;
00039
00043 virtual const std::string& getImplementation( ) const;
00044
00048 virtual const std::string& getMethod( ) const;
00049
00051 private:
00052 static const std::string _method;
00053 static const std::string _impl;
00054
00055 bool _interpolateJacobian;
00056
00057 };
00058
00059 };
00060
00061 #endif // LAGRANGELINEAR_1_H