Zero.h

00001 #ifndef gridripper_amr1d_initcond_Zero_h
00002 #define gridripper_amr1d_initcond_Zero_h
00003 
00004 #include <gridripper/amr1d/FuncInitCond.h>
00005 #include <gridripper/util/GrrProperties.h>
00006 #include <gridripper/Parameters.h>
00007 #include <gridripper/lang/IllegalArgumentException.h>
00008 
00009 namespace gridripper { namespace amr1d {
00010 
00011 class PDE;
00012 
00013 namespace initcond {
00014 
00015 using namespace gridripper;
00016 using namespace gridripper::util;
00017 
00025 class Zero: public FuncInitCond
00026 {
00027 public:
00034     Zero(string& args, const Parameters* p, const PDE& pde)
00035         throw(InitCond::Exception&): FuncInitCond(args, p) {
00036     }
00037 
00038 protected:
00045     void init(PDE* pde, GReal_t x, FieldWrapper& phi)
00046         throw(InitCond::Exception&);
00047 };
00048 
00049 } } } // namespace gridripper::amr1d::initcond
00050 
00051 #endif /* gridripper_amr1d_initcond_Zero_h */

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