AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

FixupBaseInterface.h

Go to the documentation of this file.
00001 #ifndef AMROC_FIXUP_BASE_INTERFACE_H
00002 #define AMROC_FIXUP_BASE_INTERFACE_H
00003 
00011 #ifndef FixupBaseInterfaceName
00012 #define FixupBaseInterface(dim)      name2(FixupBaseInterface,dim)
00013 #define FixupBaseInterfaceName
00014 #endif
00015 
00022 template <class VectorType, class FixupType>
00023 class FixupBaseInterface(DIM) : public controlable {
00024   typedef GridData(DIM)<VectorType>  vec_grid_data_type;
00025 
00026 public:
00027   virtual void SetupData() = 0;   
00028   virtual void SaveFluxes(const int Time, const int Level, const int c,
00029                           vec_grid_data_type* flux[], const double dt,
00030                           DCoords& dx, const int& mdim) = 0;
00031   virtual void AddFluxes(const int Time, const int Level, const int c,
00032                          vec_grid_data_type* flux[], 
00033                          const double tc, const double tf, 
00034                          const double dt, DCoords& dx, const int& mdim) = 0;
00035   virtual void Correction(const int Time, const int WTime, 
00036                           const int Level, DCoords& dx) = 0;
00037 };
00038 
00039 
00040 #endif


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04