BPSHunch.h

00001 #ifndef gridripper_phys_minkowski_ymh_moncrief_BPSHunch_h
00002 #define gridripper_phys_minkowski_ymh_moncrief_BPSHunch_h
00003 
00004 #include <gridripper/Parameters.h>
00005 #include <gridripper/amr1d/FuncInitCond.h>
00006 
00007 namespace gridripper { namespace phys { namespace minkowski { namespace ymh {
00008 namespace moncrief {
00009 
00010 using namespace gridripper;
00011 using namespace gridripper::util;
00012 using namespace gridripper::amr1d;
00013 using namespace std;
00014 
00022 class BPSHunch: public FuncInitCond
00023 {
00024 private:
00025     int I_h;
00026     int I_hR;
00027     int I_w;
00028     int I_wT;
00029     int I_wR;
00030     GReal_t a;
00031     GReal_t b;
00032     GReal_t c;
00033     GReal_t d;
00034     GReal_t kappa;
00035 
00036 public:
00037     BPSHunch(string& args, const Parameters* p, const PDE& pde)
00038              throw(InitCond::Exception&, IllegalArgumentException&);
00039 
00040     void init(PDE* pde, GReal_t x, FieldWrapper& fw)
00041         throw(InitCond::Exception&);
00042 
00043     bool isNumericalConstraintSettingNeeded() const {
00044         return false;
00045     }
00046 };
00047 
00048 } } } } } // namespace gridripper::phys::minkowski::ymh::moncrief;
00049 
00050 #endif /* gridripper_phys_minkowski_ymh_moncrief_BPSHunch_h */