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


Main Page   Class Hierarchy   Compound List   File List  

IntegratorInterface.h

Go to the documentation of this file.
00001 #ifndef AMROC_INTEGRATOR_INTERFACE_H
00002 #define AMROC_INTEGRATOR_INTERFACE_H
00003 
00011 #ifndef IntegratorInterfaceName
00012 #define IntegratorInterface(dim)      name2(IntegratorInterface,dim)
00013 #define IntegratorInterfaceName
00014 #endif
00015 
00022 template <class VectorType>
00023 class IntegratorInterface(DIM) : public controlable {
00024   typedef GridData(DIM)<VectorType> vec_grid_data_type_int;
00025 
00026 public:
00027   virtual void SetupData() = 0;   
00028   virtual double CalculateGrid(vec_grid_data_type_int& NewStateVec, 
00029                                vec_grid_data_type_int& OldStateVec,
00030                                vec_grid_data_type_int* Flux[],
00031                                double t, double dt, DCoords& dx,
00032                                const int& mpass) = 0;
00033   virtual int ControlGrid(vec_grid_data_type_int& StateVec, const BBox& where) = 0;  
00034   virtual int NMethodOrder() = 0;
00035 };
00036 
00037 
00038 #endif


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



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