GhostFluidMethod< VectorType, dim > Class Template Reference

Generic base-class for ghost-fluid schemes. More...

#include <GhostFluidMethod.h>

Inheritance diagram for GhostFluidMethod< VectorType, dim >:
AMRBase< VectorType, dim > controlable

List of all members.

Public Types

typedef base::vec_grid_fct_type vec_grid_fct_type
typedef GridFunction< DataType,
dim > 
grid_fct_type
typedef GridFunction< bool, dim > bool_grid_fct_type
typedef GFMBoundary
< VectorType, dim > 
boundary_type
typedef GFMLevelSet< DataType,
dim > 
levelset_type
typedef BoundaryConditions
< DataType, dim > 
boundary_conditions_type
typedef
GFBndryUpdateSpecificFunc
< boundary_conditions_type,
DataType, dim > 
boundary_functor_type

Public Member Functions

 GhostFluidMethod (boundary_type *boundary, levelset_type *levelset)
 GhostFluidMethod (boundary_type *boundary, levelset_type *levelset, boundary_conditions_type *boundary_conditions)
virtual ~GhostFluidMethod ()
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual void init ()
virtual void update ()
virtual void finish ()
virtual void SetupData (GridHierarchy *gh, const int &ghosts)
virtual void SetLevelSet (vec_grid_fct_type &u, const int Time, const int Level, double t)
virtual void SetBndry (vec_grid_fct_type &u, bool_grid_fct_type &bf, const int Time, const int Level, double t, bool extrapolate=false)
void SetMaxRecomposeLevel (const int l)
bool IsUsed () const
const int & Stationary () const
grid_fct_type & Phi ()
const grid_fct_type & Phi () const
grid_fct_type & Phish ()
const grid_fct_type & Phish () const
grid_fct_type & Phi (vec_grid_fct_type &u)
const grid_fct_type & Phi (vec_grid_fct_type &u) const
const bool & ErrorEstimation () const
void SetErrorEstimation (const bool est)
void SetBoundaryP (boundary_type *_boundary)
boundary_type * GetBoundaryP ()
boundary_type & Boundary ()
const boundary_type & Boundary () const
void SetLevelSetP (levelset_type *_levelset)
levelset_type * GetLevelSetP ()
levelset_type & LevelSet ()
const levelset_type & LevelSet () const
void SetBoundaryConditionsP (boundary_conditions_type *boundary_conditions)
boundary_conditions_type * GetBoundaryConditionsP ()
boundary_conditions_type & BoundaryConditions_ ()
const boundary_conditions_type & BoundaryConditions_ () const
void SetGridFunctions (vec_grid_fct_type *u, vec_grid_fct_type *ush)
vec_grid_fct_type & U ()
const vec_grid_fct_type & U () const
vec_grid_fct_type & Ush ()
const vec_grid_fct_type & Ush () const

Protected Attributes

boundary_type * _Boundary
levelset_type * _LevelSet
grid_fct_type * _phi
grid_fct_type * _phi_sh
boundary_conditions_type * _BoundaryConditions
boundary_functor_type * _BoundaryFunc
vec_grid_fct_type * _u
vec_grid_fct_type * _u_sh
char phiName [DAGHBktGFNameWidth]
char phiNamesh [DAGHBktGFNameWidth]
bool _EstimateError
int _Ignore
std::string _myprefix

Detailed Description

template<class VectorType, int dim>
class GhostFluidMethod< VectorType, dim >

Generic base-class for ghost-fluid schemes.

The class allocates scalar GridFunction< DataType > to store the level set function.

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

Member Typedef Documentation

template<class VectorType , int dim>
typedef GridFunction<bool,dim> GhostFluidMethod< VectorType, dim >::bool_grid_fct_type
template<class VectorType , int dim>
typedef BoundaryConditions<DataType,dim> GhostFluidMethod< VectorType, dim >::boundary_conditions_type
template<class VectorType , int dim>
typedef GFMBoundary<VectorType,dim> GhostFluidMethod< VectorType, dim >::boundary_type
template<class VectorType , int dim>
typedef GridFunction<DataType,dim> GhostFluidMethod< VectorType, dim >::grid_fct_type
template<class VectorType , int dim>
typedef GFMLevelSet<DataType,dim> GhostFluidMethod< VectorType, dim >::levelset_type
template<class VectorType , int dim>
typedef base::vec_grid_fct_type GhostFluidMethod< VectorType, dim >::vec_grid_fct_type

Reimplemented from AMRBase< VectorType, dim >.


Constructor & Destructor Documentation


Member Function Documentation

template<class VectorType , int dim>
const boundary_type& GhostFluidMethod< VectorType, dim >::Boundary (  )  const [inline]
template<class VectorType , int dim>
const boundary_conditions_type& GhostFluidMethod< VectorType, dim >::BoundaryConditions_ (  )  const [inline]
template<class VectorType , int dim>
boundary_conditions_type& GhostFluidMethod< VectorType, dim >::BoundaryConditions_ (  )  [inline]
template<class VectorType , int dim>
const bool& GhostFluidMethod< VectorType, dim >::ErrorEstimation (  )  const [inline]
template<class VectorType , int dim>
boundary_conditions_type* GhostFluidMethod< VectorType, dim >::GetBoundaryConditionsP (  )  [inline]
template<class VectorType , int dim>
boundary_type* GhostFluidMethod< VectorType, dim >::GetBoundaryP (  )  [inline]
template<class VectorType , int dim>
levelset_type* GhostFluidMethod< VectorType, dim >::GetLevelSetP (  )  [inline]
template<class VectorType , int dim>
const levelset_type& GhostFluidMethod< VectorType, dim >::LevelSet (  )  const [inline]
template<class VectorType , int dim>
const grid_fct_type& GhostFluidMethod< VectorType, dim >::Phi (  )  const [inline]
template<class VectorType , int dim>
const grid_fct_type& GhostFluidMethod< VectorType, dim >::Phish (  )  const [inline]
template<class VectorType , int dim>
grid_fct_type& GhostFluidMethod< VectorType, dim >::Phish (  )  [inline]
template<class VectorType , int dim>
virtual void GhostFluidMethod< VectorType, dim >::register_at ( ControlDevice &  Ctrl  )  [inline, virtual]
template<class VectorType , int dim>
void GhostFluidMethod< VectorType, dim >::SetBoundaryConditionsP ( boundary_conditions_type *  boundary_conditions  )  [inline]
template<class VectorType , int dim>
void GhostFluidMethod< VectorType, dim >::SetBoundaryP ( boundary_type *  _boundary  )  [inline]
template<class VectorType , int dim>
void GhostFluidMethod< VectorType, dim >::SetErrorEstimation ( const bool  est  )  [inline]
template<class VectorType , int dim>
void GhostFluidMethod< VectorType, dim >::SetGridFunctions ( vec_grid_fct_type *  u,
vec_grid_fct_type *  ush 
) [inline]
template<class VectorType , int dim>
void GhostFluidMethod< VectorType, dim >::SetLevelSetP ( levelset_type *  _levelset  )  [inline]
template<class VectorType , int dim>
const vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::U (  )  const [inline]
template<class VectorType , int dim>
vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::U (  )  [inline]
template<class VectorType , int dim>
const vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::Ush (  )  const [inline]
template<class VectorType , int dim>
vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::Ush (  )  [inline]

Member Data Documentation

template<class VectorType , int dim>
char GhostFluidMethod< VectorType, dim >::phiName[DAGHBktGFNameWidth] [protected]
template<class VectorType , int dim>
char GhostFluidMethod< VectorType, dim >::phiNamesh[DAGHBktGFNameWidth] [protected]

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