Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_ODE_INTEGRATOR_INTERFACE_H 00002 #define AMROC_ODE_INTEGRATOR_INTERFACE_H 00003 00011 #ifndef ODEIntegratorInterfaceName 00012 #define ODEIntegratorInterface(dim) name2(ODEIntegratorInterface,dim) 00013 #define ODEIntegratorInterfaceName 00014 #endif 00015 00022 template <class VectorType> 00023 class ODEIntegratorInterface(DIM) : public controlable { 00024 protected: 00025 typedef GridData(DIM)<VectorType> vec_grid_data_type; 00026 00027 public: 00028 virtual void SetupData() = 0; 00029 virtual void IntegrateGrid(vec_grid_data_type& StateVec, const BBox& OpBox, 00030 double t, double dt, DCoords& dx) = 0; 00031 }; 00032 00033 00034 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04