GridInterpolator.h
00001 #ifndef gridripper_amr1d_GridInterpolator_h
00002 #define gridripper_amr1d_GridInterpolator_h
00003
00004 #include <gridripper/lang/IllegalArgumentException.h>
00005
00006 namespace gridripper { namespace amr1d {
00007
00008 class Grid;
00009 class PDE;
00010
00018 class GridInterpolator
00019 {
00020 public:
00021 virtual ~GridInterpolator() { }
00022 virtual void interpolateMargin(const Grid& p, Grid& g, const PDE& pde)
00023 const throw(IllegalArgumentException&) =0;
00024 virtual void interpolate(const Grid& p, Grid& g, const PDE& pde) const
00025 throw(IllegalArgumentException&) =0;
00026 virtual string toString() const =0;
00027 };
00028
00029 } }
00030
00031 #endif