Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_SOLVER_CONTROL_INTERFACE_H 00002 #define AMROC_SOLVER_CONTROL_INTERFACE_H 00003 00011 #ifndef SolverControlInterfaceName 00012 #define SolverControlInterface(dim) name2(SolverControlInterface,dim) 00013 #define SolverControlInterfaceName 00014 #endif 00015 00022 template <class VectorType> 00023 class SolverControlInterface(DIM) : public controlable { 00024 typedef typename VectorType::InternalDataType DataType; 00025 typedef GridFunction(DIM)<VectorType> vec_grid_fct_type; 00026 typedef GridFunction(DIM)<DataType> grid_fct_type; 00027 00028 public: 00029 virtual void WriteOut(GridHierarchy& GH, vec_grid_fct_type& u, 00030 grid_fct_type& IOfunc) = 0; 00031 virtual void ErrorNorm(GridHierarchy& GH, vec_grid_fct_type& u, double t, 00032 grid_fct_type& work) = 0; 00033 }; 00034 00035 00036 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04