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