Sigma.h

00001 #ifndef gridripper_amr1d_Sigma_h
00002 #define gridripper_amr1d_Sigma_h
00003 
00004 #include <gridripper/config.h>
00005 #include <gridripper/Parameters.h>
00006 #include <gridripper/lang/IllegalArgumentException.h>
00007 
00008 namespace gridripper { namespace amr1d {
00009 
00010 class PDE;
00011 
00012 using namespace std;
00013 using namespace gridripper::util;
00014 
00022 class Sigma
00023 {
00024 public:
00025 
00037     virtual GReal_t getValue(GReal_t x, int ileft, int iright) const =0;
00038 
00043     virtual Sigma* cloneSigma() const =0;
00044 
00052     static Sigma* create(const string& cmd, const Parameters& param,
00053                          const PDE& pde)
00054         throw(IllegalArgumentException&);
00055 
00057     virtual ~Sigma() {  }
00058 };
00059 
00060 } } // namespace gridripper::amr1d
00061 
00062 #endif /* gridripper_amr1d_Sigma_h */

Generated on Wed Jun 17 18:46:47 2009 for GridRipper by  doxygen 1.5.6