Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_CLP_INTEGRATOR_INTERFACE_H 00002 #define AMROC_CLP_INTEGRATOR_INTERFACE_H 00003 00011 #ifndef ClpIntegratorInterfaceName 00012 #define ClpIntegratorInterface(dim) name2(ClpIntegratorInterface,dim) 00013 #define ClpIntegratorInterfaceName 00014 #endif 00015 00022 template <class VectorType, class AuxVectorType> 00023 class ClpIntegratorInterface(DIM) : private IntegratorInterface(DIM)<VectorType> { 00024 typedef typename VectorType::InternalDataType DataType; 00025 typedef GridData(DIM_1)<VectorType> ld_vec_grid_data_type_int; 00026 typedef GridData(DIM_1)<AuxVectorType> ld_aux_grid_data_type_int; 00027 typedef GridData(DIM)<VectorType> vec_grid_data_type_int; 00028 public: 00029 virtual void ComputeRP(ld_vec_grid_data_type_int& LeftState, ld_aux_grid_data_type_int& auxl, 00030 ld_vec_grid_data_type_int& RightState, ld_aux_grid_data_type_int& auxr, 00031 ld_vec_grid_data_type_int& NewState, const int& direction) = 0; 00032 virtual double ComputeGrid(vec_grid_data_type_int& NewStateVec, 00033 vec_grid_data_type_int* Flux[], DataType* aux, 00034 double dt, DCoords& dx) = 0; 00035 }; 00036 00037 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04