AMRGFMSolver< VectorType, FixupType, FlagType, dim > Class Template Reference

Derived AMRSolver class for implementing ghost fluid schemes. More...

#include <AMRGFMSolver.h>

Inheritance diagram for AMRGFMSolver< VectorType, FixupType, FlagType, dim >:
AMRSolver< VectorType, FixupType, FlagType, dim > AMRSolverBase< VectorType, FixupType, FlagType, dim > Solver controlable AMRCoupledGFMSolver< VectorType, FixupType, FlagType, dim > AMRELCGFMSolver< VectorType, FixupType, FlagType, dim > AMRELCGFMSolver< VectorType, FixupType, FlagType, DIM >

List of all members.

Public Types

typedef GhostFluidMethod
< VectorType, dim > 
gfm_type
typedef base::vec_grid_fct_type vec_grid_fct_type
typedef base::vec_grid_data_type vec_grid_data_type
typedef base::grid_fct_type grid_fct_type
typedef base::grid_data_type grid_data_type
typedef base::integrator_type integrator_type
typedef
base::initial_condition_type 
initial_condition_type
typedef
base::boundary_conditions_type 
boundary_conditions_type
typedef base::leveltransfer_type leveltransfer_type
typedef base::flagging_type flagging_type
typedef base::fixup_type fixup_type
typedef
GFRecomposeSpecificFunc< self,
VectorType, dim > 
gfm_recompose_functor_type
typedef GridData< bool, dim > bool_grid_data_type
typedef GridFunction< bool, dim > bool_grid_fct_type

Public Member Functions

 AMRGFMSolver (integrator_type &integ, initial_condition_type &init, boundary_conditions_type &bc)
virtual ~AMRGFMSolver ()
virtual void init ()
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual void update ()
virtual void finish ()
virtual void SetupData ()
virtual void SetBndry (vec_grid_fct_type &u, const int Time, const int Level, double t)
virtual double IntegrateLevel (vec_grid_fct_type &u, const int Time, const int Level, double t, double dt, bool DoFixup, double tc, const int which)
virtual void RecomposeGridHierarchy (const int Time, const int Level, bool ShadowAllowed, bool DoFixup, bool RecomposeBaseLev, bool RecomposeHighLev)
virtual void SetRecomposeBndry (vec_grid_fct_type &u, const int &Time, const int &Level, const double &t)
virtual void Initialize_ (const double &dt_start)
virtual void Output ()
virtual bool Restart_ (const char *CheckpointFile)
virtual void Checkpointing_ (const char *CheckpointFile)
virtual void Restart_ (std::stringstream &CheckpointStr)
virtual void Checkpointing_ (std::stringstream &CheckpointStr)
void AddGFM (gfm_type *gfm)
void EliminateGFM (gfm_type *gfm)
void DeleteGFM (gfm_type *gfm)
bool_grid_fct_typeBFP ()
bool_grid_fct_typeBF ()
const bool_grid_fct_typeBF () const
bool_grid_fct_typeBFsh ()
const bool_grid_fct_typeBFsh () const
bool_grid_fct_typeBF (vec_grid_fct_type &u)
const bool_grid_fct_typeBF (vec_grid_fct_type &u) const
gfm_typeGFMP (const int n)
gfm_typeGFM (const int n)
const gfm_typeGFM (const int n) const
const int & NGFM () const
void SetRecoveryValue (const VectorType &rec)
VectorTypeRecoveryValue () const

Protected Attributes

bool_grid_fct_type_bf
bool_grid_fct_type_bf_sh
gfm_recompose_functor_type_GFMRecomposeFunc
gfm_type ** _GFM
int _nGFM
int _MaxRecomposeLevel
int _RecoverExterior
int _RecoverValue
char BFName [DAGHBktGFNameWidth]
char BFNamesh [DAGHBktGFNameWidth]
VectorType _RecoveryValue

Detailed Description

template<class VectorType, class FixupType, class FlagType, int dim>
class AMRGFMSolver< VectorType, FixupType, FlagType, dim >

Derived AMRSolver class for implementing ghost fluid schemes.

Author:
Ralf Deiterding
Version:
1.0
Date:
Jul-2004

Member Typedef Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
typedef GridData<bool,dim> AMRGFMSolver< VectorType, FixupType, FlagType, dim >::bool_grid_data_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef GridFunction<bool,dim> AMRGFMSolver< VectorType, FixupType, FlagType, dim >::bool_grid_fct_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::fixup_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::fixup_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::flagging_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::flagging_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef GFRecomposeSpecificFunc<self,VectorType,dim> AMRGFMSolver< VectorType, FixupType, FlagType, dim >::gfm_recompose_functor_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef GhostFluidMethod<VectorType,dim> AMRGFMSolver< VectorType, FixupType, FlagType, dim >::gfm_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::grid_data_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::grid_data_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::grid_fct_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::grid_fct_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::leveltransfer_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::leveltransfer_type
template<class VectorType, class FixupType, class FlagType, int dim>
typedef base::vec_grid_data_type AMRGFMSolver< VectorType, FixupType, FlagType, dim >::vec_grid_data_type

Constructor & Destructor Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
AMRGFMSolver< VectorType, FixupType, FlagType, dim >::AMRGFMSolver ( integrator_type integ,
initial_condition_type init,
boundary_conditions_type bc 
) [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual AMRGFMSolver< VectorType, FixupType, FlagType, dim >::~AMRGFMSolver (  )  [inline, virtual]

Member Function Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::AddGFM ( gfm_type gfm  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
const bool_grid_fct_type& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BF ( vec_grid_fct_type u  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
bool_grid_fct_type& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BF ( vec_grid_fct_type u  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
const bool_grid_fct_type& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BF (  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
bool_grid_fct_type* AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BFP (  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
const bool_grid_fct_type& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BFsh (  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Checkpointing_ ( std::stringstream &  CheckpointStr  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Checkpointing_ ( const char *  CheckpointFile  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::DeleteGFM ( gfm_type gfm  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::EliminateGFM ( gfm_type gfm  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::finish (  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
const gfm_type& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::GFM ( const int  n  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
gfm_type* AMRGFMSolver< VectorType, FixupType, FlagType, dim >::GFMP ( const int  n  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::init (  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Initialize_ ( const double &  dt_start  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual double AMRGFMSolver< VectorType, FixupType, FlagType, dim >::IntegrateLevel ( vec_grid_fct_type u,
const int  Time,
const int  Level,
double  t,
double  dt,
bool  DoFixup,
double  tc,
const int  which 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
const int& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::NGFM (  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Output (  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::RecomposeGridHierarchy ( const int  Time,
const int  Level,
bool  ShadowAllowed,
bool  DoFixup,
bool  RecomposeBaseLev,
bool  RecomposeHighLev 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
VectorType& AMRGFMSolver< VectorType, FixupType, FlagType, dim >::RecoveryValue (  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Restart_ ( std::stringstream &  CheckpointStr  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual bool AMRGFMSolver< VectorType, FixupType, FlagType, dim >::Restart_ ( const char *  CheckpointFile  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::SetBndry ( vec_grid_fct_type u,
const int  Time,
const int  Level,
double  t 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::SetRecomposeBndry ( vec_grid_fct_type u,
const int &  Time,
const int &  Level,
const double &  t 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::SetRecoveryValue ( const VectorType rec  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRGFMSolver< VectorType, FixupType, FlagType, dim >::update (  )  [inline, virtual]

Member Data Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
char AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BFName[DAGHBktGFNameWidth] [protected]
template<class VectorType, class FixupType, class FlagType, int dim>
char AMRGFMSolver< VectorType, FixupType, FlagType, dim >::BFNamesh[DAGHBktGFNameWidth] [protected]

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