Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_SOLVER_INTERFACE_H 00002 #define AMROC_SOLVER_INTERFACE_H 00003 00011 #ifndef SolverInterfaceName 00012 #define SolverInterface(dim) name2(SolverInterface,dim) 00013 #define SolverInterfaceName 00014 #endif 00015 00022 template <class VectorType> 00023 class SolverInterface(DIM) : public controlable { 00024 typedef GridFunction(DIM)<VectorType> vec_grid_fct_type; 00025 public: 00026 virtual double Tick(int VariableTimeStepping, const double dtv[], const double cflv[], 00027 int& Rejections, int& RecomposeEvery) = 0; 00028 virtual double IntegrateLevel(vec_grid_fct_type& u, const int Time, const int Level, 00029 double t, double dt, bool DoFixup, double tc, 00030 const int which) = 0; 00031 virtual void Initialize(const double dt_start) = 0; 00032 virtual void Restart(const char* CheckpointFile) = 0; 00033 virtual void SetupData() = 0; 00034 }; 00035 00036 00037 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04