00001 #ifndef INTERPOLATOR_4_H
00002 #define INTERPOLATOR_4_H
00003
00004 #include "interpolator.h"
00005 #include "point.h"
00006 #include "element.h"
00007 #include <set>
00008
00009 namespace afl
00010 {
00016 class Interpolator_4 : public Interpolator
00017 {
00019 protected:
00025 Interpolator_4( const Field* f, const Parameters& params );
00026
00030 virtual ~Interpolator_4( ) { }
00031
00032
00039 virtual Element<4> find_u( const Point& x ) const;
00040
00042 private:
00046 mutable std::vector<Element<4> > _elems;
00050 mutable std::vector<std::set<size_t> > _cells;
00051 };
00052 };
00053
00054 #endif // DELAUNAYLINEAR_4_H