Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_AMRFLAGGING_RELBASE_INTERFACE_H 00002 #define AMROC_AMRFLAGGING_RELBASE_INTERFACE_H 00003 00011 #ifndef AMRFlaggingRelBaseInterfaceName 00012 #define AMRFlaggingRelBaseInterface(dim) name2(AMRFlaggingRelBaseInterface,dim) 00013 #define AMRFlaggingRelBaseInterfaceName 00014 #endif 00015 00022 template <class VectorType, class FlagType> 00023 class AMRFlaggingRelBaseInterface(DIM) { 00024 typedef typename VectorType::InternalDataType Data_type; 00025 typedef GridFunction(DIM)<Data_type> grid_fct_type_int; 00026 00027 public: 00028 virtual void FlagByDifferenceRel(const int Time, const int Level, grid_fct_type_int &u, 00029 Data_type Tol, Data_type Sc, FlagType FlagValue) = 0; 00030 virtual void FlagByErrorEstimationRel(const int Time, const int Level, grid_fct_type_int &u, 00031 Data_type Tol, Data_type Sc, FlagType FlagValue) = 0; 00032 }; 00033 00034 00035 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04