AMError.h
00001 #ifndef gridripper_amr1d_AMError_h
00002 #define gridripper_amr1d_AMError_h
00003
00004 #include <gridripper/config.h>
00005 #include <gridripper/tvalarray.h>
00006
00007 namespace gridripper { namespace amr1d {
00008
00009 class PDE;
00010 class Grad;
00011 class Grid;
00012
00018 class AMError
00019 {
00020 public:
00021 virtual ~AMError() { }
00022 virtual void calcErrors(const PDE* pde, const Grad* d,
00023 const Grid& g, const Grid& g2,
00024 GReal_t t, double c, tvalarray<double>& errors) const =0;
00025 };
00026
00027 } }
00028
00029 #endif