Flagging< VectorType, FlagType, dim > Class Template Reference

Generic base-class for flagging. More...

#include <Flagging.h>

Inheritance diagram for Flagging< VectorType, FlagType, dim >:
AMRBase< VectorType, dim > controlable AMRFlagging< VectorType, FixupType, FlagType, dim > AMRFlagging< MicroType, FixupType, FlagType, DIM > AMRFlagging< VectorType, FixupType, FlagType, DIM >

List of all members.

Public Types

typedef GridFunction< FlagType,
dim > 
flag_fct_type
typedef Criterion< VectorType,
FlagType, dim > 
criterion_type

Public Member Functions

 Flagging ()
virtual ~Flagging ()
virtual void SetFlags (const int Time, const int Level, double t, double dt)=0
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void init ()
virtual void update ()
virtual void finish ()
virtual void SetupData (GridHierarchy *gh, const int &ghosts)
void AddCriterion (criterion_type *crit)
void EliminateCriterion (criterion_type *crit)
void DeleteCriterion (criterion_type *crit)
void DeleteAllCriterions ()
criterion_typeCriterionP (const int n)
criterion_typeCriterion_ (const int n)
const criterion_typeCriterion_ (const int n) const
const int & NCrit () const
void SetBufferwidth (const int buffw)
const int & Bufferwidth () const
int Bufferwidth ()
flag_fct_typeFlags ()
const flag_fct_typeFlags () const

Protected Attributes

criterion_type ** _crit
int _ncrit
flag_fct_type_flag
char flagName [DAGHBktGFNameWidth]
int _Bufferwidth

Detailed Description

template<class VectorType, class FlagType, int dim>
class Flagging< VectorType, FlagType, dim >

Generic base-class for flagging.

The class allocates a GridFunction< FlagType > for the flags.

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

Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

template<class VectorType, class FlagType, int dim>
void Flagging< VectorType, FlagType, dim >::AddCriterion ( criterion_type crit  )  [inline]
template<class VectorType, class FlagType, int dim>
int Flagging< VectorType, FlagType, dim >::Bufferwidth (  )  [inline]
template<class VectorType, class FlagType, int dim>
const int& Flagging< VectorType, FlagType, dim >::Bufferwidth (  )  const [inline]
template<class VectorType, class FlagType, int dim>
const criterion_type& Flagging< VectorType, FlagType, dim >::Criterion_ ( const int  n  )  const [inline]
template<class VectorType, class FlagType, int dim>
criterion_type* Flagging< VectorType, FlagType, dim >::CriterionP ( const int  n  )  [inline]
template<class VectorType, class FlagType, int dim>
void Flagging< VectorType, FlagType, dim >::DeleteAllCriterions (  )  [inline]
template<class VectorType, class FlagType, int dim>
void Flagging< VectorType, FlagType, dim >::DeleteCriterion ( criterion_type crit  )  [inline]
template<class VectorType, class FlagType, int dim>
void Flagging< VectorType, FlagType, dim >::EliminateCriterion ( criterion_type crit  )  [inline]
template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::finish (  )  [inline, virtual]
template<class VectorType, class FlagType, int dim>
const flag_fct_type& Flagging< VectorType, FlagType, dim >::Flags (  )  const [inline]
template<class VectorType, class FlagType, int dim>
flag_fct_type& Flagging< VectorType, FlagType, dim >::Flags (  )  [inline]
template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::init (  )  [inline, virtual]
template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]
template<class VectorType, class FlagType, int dim>
void Flagging< VectorType, FlagType, dim >::SetBufferwidth ( const int  buffw  )  [inline]
template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::SetFlags ( const int  Time,
const int  Level,
double  t,
double  dt 
) [pure virtual]
template<class VectorType, class FlagType, int dim>
virtual void Flagging< VectorType, FlagType, dim >::SetupData ( GridHierarchy gh,
const int &  ghosts 
) [inline, virtual]

Member Data Documentation

template<class VectorType, class FlagType, int dim>
int Flagging< VectorType, FlagType, dim >::_Bufferwidth [protected]
template<class VectorType, class FlagType, int dim>
char Flagging< VectorType, FlagType, dim >::flagName[DAGHBktGFNameWidth] [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