FixupBase< VectorType, FixupType, dim > Class Template Reference

Generic base-class for the conservative correction. More...

#include <FixupBase.h>

Inheritance diagram for FixupBase< VectorType, FixupType, dim >:
AMRBase< VectorType, dim > controlable

List of all members.

Public Types

typedef base::vec_grid_fct_type vec_grid_fct_type
typedef base::vec_grid_data_type vec_grid_data_type
typedef GridData< VectorType,
minus_1< dim >::dim > 
ld_vec_grid_data_type
typedef GridData< FixupType,
minus_1< dim >::dim > 
ld_fixup_grid_data_type
typedef GridFunction
< FixupType, minus_1< dim >
::dim > 
ld_fixup_grid_fct_type

Public Member Functions

 FixupBase ()
virtual ~FixupBase ()
virtual void SaveFluxes (const int Time, const int Level, const int c, vec_grid_data_type *flux[], const double dt, const int &mdim)=0
virtual void AddFluxes (const int Time, const int Level, const int c, vec_grid_data_type *flux[], const double tc, const double tf, const double dtc, const double dtf, const int &mdim)=0
virtual void Correction (const int Time, const int WTime, const int Level, const double t, const double d)=0
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual void finish ()
virtual void SetupData (GridHierarchy *gh, const int &ghosts)
void SetMaxRecomposeLevel (const int l)
ld_fixup_grid_fct_typeF (int d)
const ld_fixup_grid_fct_typeF (int d) const
const int & NFixupEquations ()

Protected Attributes

int _FixupEquations
ld_fixup_grid_fct_type_f [2 *dim]
char * _f_name [2 *dim]

Detailed Description

template<class VectorType, class FixupType, int dim>
class FixupBase< VectorType, FixupType, dim >

Generic base-class for the conservative correction.

The class allocates 2*dim GridFunctions< VectorType,dim_1 > of to store the correction terms.

Author:
Ralf Deiterding
Version:
1.0
Date:
Jan-2002

Member Typedef Documentation

template<class VectorType, class FixupType, int dim>
typedef GridData<FixupType,minus_1<dim>::dim> FixupBase< VectorType, FixupType, dim >::ld_fixup_grid_data_type
template<class VectorType, class FixupType, int dim>
typedef GridFunction<FixupType,minus_1<dim>::dim> FixupBase< VectorType, FixupType, dim >::ld_fixup_grid_fct_type
template<class VectorType, class FixupType, int dim>
typedef GridData<VectorType,minus_1<dim>::dim> FixupBase< VectorType, FixupType, dim >::ld_vec_grid_data_type
template<class VectorType, class FixupType, int dim>
typedef base::vec_grid_data_type FixupBase< VectorType, FixupType, dim >::vec_grid_data_type

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType, class FixupType, int dim>
typedef base::vec_grid_fct_type FixupBase< VectorType, FixupType, dim >::vec_grid_fct_type

Reimplemented from AMRBase< VectorType, dim >.


Constructor & Destructor Documentation

template<class VectorType, class FixupType, int dim>
FixupBase< VectorType, FixupType, dim >::FixupBase (  )  [inline]
template<class VectorType, class FixupType, int dim>
virtual FixupBase< VectorType, FixupType, dim >::~FixupBase (  )  [inline, virtual]

Member Function Documentation

template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::AddFluxes ( const int  Time,
const int  Level,
const int  c,
vec_grid_data_type flux[],
const double  tc,
const double  tf,
const double  dtc,
const double  dtf,
const int &  mdim 
) [pure virtual]
template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::Correction ( const int  Time,
const int  WTime,
const int  Level,
const double  t,
const double  d 
) [pure virtual]
template<class VectorType, class FixupType, int dim>
const ld_fixup_grid_fct_type& FixupBase< VectorType, FixupType, dim >::F ( int  d  )  const [inline]
template<class VectorType, class FixupType, int dim>
ld_fixup_grid_fct_type& FixupBase< VectorType, FixupType, dim >::F ( int  d  )  [inline]
template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::finish (  )  [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType, class FixupType, int dim>
const int& FixupBase< VectorType, FixupType, dim >::NFixupEquations (  )  [inline]
template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]
template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::SaveFluxes ( const int  Time,
const int  Level,
const int  c,
vec_grid_data_type flux[],
const double  dt,
const int &  mdim 
) [pure virtual]
template<class VectorType, class FixupType, int dim>
void FixupBase< VectorType, FixupType, dim >::SetMaxRecomposeLevel ( const int  l  )  [inline]
template<class VectorType, class FixupType, int dim>
virtual void FixupBase< VectorType, FixupType, dim >::SetupData ( GridHierarchy gh,
const int &  ghosts 
) [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.


Member Data Documentation

template<class VectorType, class FixupType, int dim>
int FixupBase< VectorType, FixupType, dim >::_FixupEquations [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:19:31 2016 for AMROC Fluid-solver Framework by  doxygen 1.6.3