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