Generic base-class for ghost-fluid schemes. More...
#include <GhostFluidMethod.h>
Generic base-class for ghost-fluid schemes.
The class allocates scalar GridFunction< DataType > to store the level set function.
typedef GridFunction<bool,dim> GhostFluidMethod< VectorType, dim >::bool_grid_fct_type |
typedef BoundaryConditions<DataType,dim> GhostFluidMethod< VectorType, dim >::boundary_conditions_type |
typedef GFBndryUpdateSpecificFunc<boundary_conditions_type,DataType,dim> GhostFluidMethod< VectorType, dim >::boundary_functor_type |
typedef GFMBoundary<VectorType,dim> GhostFluidMethod< VectorType, dim >::boundary_type |
typedef GridFunction<DataType,dim> GhostFluidMethod< VectorType, dim >::grid_fct_type |
typedef GFMLevelSet<DataType,dim> GhostFluidMethod< VectorType, dim >::levelset_type |
typedef base::vec_grid_fct_type GhostFluidMethod< VectorType, dim >::vec_grid_fct_type |
Reimplemented from AMRBase< VectorType, dim >.
GhostFluidMethod< VectorType, dim >::GhostFluidMethod | ( | boundary_type * | boundary, | |
levelset_type * | levelset | |||
) | [inline] |
GhostFluidMethod< VectorType, dim >::GhostFluidMethod | ( | boundary_type * | boundary, | |
levelset_type * | levelset, | |||
boundary_conditions_type * | boundary_conditions | |||
) | [inline] |
virtual GhostFluidMethod< VectorType, dim >::~GhostFluidMethod | ( | ) | [inline, virtual] |
const boundary_type& GhostFluidMethod< VectorType, dim >::Boundary | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_Boundary.
boundary_type& GhostFluidMethod< VectorType, dim >::Boundary | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_Boundary.
Referenced by GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::Cutoff(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Cutoff(), GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::FarAway(), GhostFluidMethod< VectorType, dim >::finish(), GhostFluidMethod< VectorType, dim >::init(), AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::Initialize_(), GhostFluidMethod< VectorType, dim >::register_at(), GhostFluidMethod< VectorType, dim >::SetBndry(), UnflagPhi< VectorType, Fixup, FlagType, dim >::SetFlags(), ResolvePhi< VectorType, Fixup, FlagType, dim >::SetFlags(), RefinePhi< VectorType, Fixup, FlagType, dim >::SetFlags(), GhostFluidMethod< VectorType, dim >::SetLevelSet(), GhostFluidMethod< VectorType, dim >::SetupData(), and GhostFluidMethod< VectorType, dim >::update().
const boundary_conditions_type& GhostFluidMethod< VectorType, dim >::BoundaryConditions_ | ( | ) | const [inline] |
boundary_conditions_type& GhostFluidMethod< VectorType, dim >::BoundaryConditions_ | ( | ) | [inline] |
const bool& GhostFluidMethod< VectorType, dim >::ErrorEstimation | ( | ) | const [inline] |
virtual void GhostFluidMethod< VectorType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::_phi, GhostFluidMethod< VectorType, dim >::_phi_sh, GhostFluidMethod< VectorType, dim >::Boundary(), GFMLevelSet< DataType, dim >::finish(), and GhostFluidMethod< VectorType, dim >::LevelSet().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::finish().
boundary_conditions_type* GhostFluidMethod< VectorType, dim >::GetBoundaryConditionsP | ( | ) | [inline] |
boundary_type* GhostFluidMethod< VectorType, dim >::GetBoundaryP | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_Boundary.
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::DeleteGFM().
levelset_type* GhostFluidMethod< VectorType, dim >::GetLevelSetP | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_LevelSet.
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::DeleteGFM().
virtual void GhostFluidMethod< VectorType, dim >::init | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::Boundary(), GFMLevelSet< DataType, dim >::init(), and GhostFluidMethod< VectorType, dim >::LevelSet().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::init().
bool GhostFluidMethod< VectorType, dim >::IsUsed | ( | ) | const [inline] |
const levelset_type& GhostFluidMethod< VectorType, dim >::LevelSet | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_LevelSet.
levelset_type& GhostFluidMethod< VectorType, dim >::LevelSet | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_LevelSet.
Referenced by GhostFluidMethod< VectorType, dim >::finish(), GhostFluidMethod< VectorType, dim >::init(), AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::Output(), GhostFluidMethod< VectorType, dim >::register_at(), GhostFluidMethod< VectorType, dim >::SetLevelSet(), GhostFluidMethod< VectorType, dim >::SetupData(), GhostFluidMethod< VectorType, dim >::Stationary(), GhostFluidMethod< VectorType, dim >::update(), and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::WriteOut().
const grid_fct_type& GhostFluidMethod< VectorType, dim >::Phi | ( | vec_grid_fct_type & | u | ) | const [inline] |
grid_fct_type& GhostFluidMethod< VectorType, dim >::Phi | ( | vec_grid_fct_type & | u | ) | [inline] |
const grid_fct_type& GhostFluidMethod< VectorType, dim >::Phi | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_phi.
grid_fct_type& GhostFluidMethod< VectorType, dim >::Phi | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_phi.
Referenced by GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::Phi(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Phi(), GhostFluidMethod< VectorType, dim >::SetBndry(), GhostFluidMethod< VectorType, dim >::SetLevelSet(), and GhostFluidMethod< VectorType, dim >::SetMaxRecomposeLevel().
const grid_fct_type& GhostFluidMethod< VectorType, dim >::Phish | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_phi_sh.
grid_fct_type& GhostFluidMethod< VectorType, dim >::Phish | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_phi_sh.
Referenced by GhostFluidMethod< VectorType, dim >::SetMaxRecomposeLevel().
virtual void GhostFluidMethod< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::register_at().
virtual void GhostFluidMethod< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::_Ignore, GhostFluidMethod< VectorType, dim >::_myprefix, GhostFluidMethod< VectorType, dim >::Boundary(), ControlDevice::getSubDevice(), GhostFluidMethod< VectorType, dim >::LevelSet(), AMRBase< VectorType, dim >::LocCtrl, GFMLevelSet< DataType, dim >::register_at(), and RegisterAt().
Referenced by GhostFluidMethod< VectorType, dim >::register_at(), and AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::register_at().
virtual void GhostFluidMethod< VectorType, dim >::SetBndry | ( | vec_grid_fct_type & | u, | |
bool_grid_fct_type & | bf, | |||
const int | Time, | |||
const int | Level, | |||
double | t, | |||
bool | extrapolate = false | |||
) | [inline, virtual] |
References GhostFluidMethod< VectorType, dim >::_Ignore, GhostFluidMethod< VectorType, dim >::Boundary(), comm_service::log(), and GhostFluidMethod< VectorType, dim >::Phi().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::IntegrateLevel(), AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetBndry(), and AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetRecomposeBndry().
void GhostFluidMethod< VectorType, dim >::SetBoundaryConditionsP | ( | boundary_conditions_type * | boundary_conditions | ) | [inline] |
void GhostFluidMethod< VectorType, dim >::SetBoundaryP | ( | boundary_type * | _boundary | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_Boundary.
void GhostFluidMethod< VectorType, dim >::SetErrorEstimation | ( | const bool | est | ) | [inline] |
void GhostFluidMethod< VectorType, dim >::SetGridFunctions | ( | vec_grid_fct_type * | u, | |
vec_grid_fct_type * | ush | |||
) | [inline] |
virtual void GhostFluidMethod< VectorType, dim >::SetLevelSet | ( | vec_grid_fct_type & | u, | |
const int | Time, | |||
const int | Level, | |||
double | t | |||
) | [inline, virtual] |
References GhostFluidMethod< VectorType, dim >::_Ignore, GhostFluidMethod< VectorType, dim >::Boundary(), END_WATCH, forall, GhostFluidMethod< VectorType, dim >::LevelSet(), comm_service::log(), GhostFluidMethod< VectorType, dim >::Phi(), GFMLevelSet< DataType, dim >::SetPhi(), and START_WATCH.
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetBndry(), and AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetRecomposeBndry().
void GhostFluidMethod< VectorType, dim >::SetLevelSetP | ( | levelset_type * | _levelset | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_LevelSet.
void GhostFluidMethod< VectorType, dim >::SetMaxRecomposeLevel | ( | const int | l | ) | [inline] |
virtual void GhostFluidMethod< VectorType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::_BoundaryConditions, GhostFluidMethod< VectorType, dim >::_BoundaryFunc, GhostFluidMethod< VectorType, dim >::_myprefix, GhostFluidMethod< VectorType, dim >::_phi, GhostFluidMethod< VectorType, dim >::_phi_sh, GhostFluidMethod< VectorType, dim >::Boundary(), DAGH_All, DAGHBoundaryUserDef, DAGHCellCentered, DAGHCommSimple, DAGHFalse, DAGHNoAdaptBoundary, DAGHNoBoundary, DAGHNoExternalGhost, DAGHShadowFactor, DAGHTrue, GhostFluidMethod< VectorType, dim >::ErrorEstimation(), AMRBase< VectorType, dim >::GH(), GhostFluidMethod< VectorType, dim >::LevelSet(), AMRBase< VectorType, dim >::NGhosts(), GhostFluidMethod< VectorType, dim >::phiName, GhostFluidMethod< VectorType, dim >::phiNamesh, BoundaryConditions< VectorType, dim >::SetBndry(), SetCheckpointFlag(), SetProlongFlag(), SetTimeAlias(), GFMLevelSet< DataType, dim >::SetupData(), AMRBase< VectorType, dim >::SetupData(), and GhostFluidMethod< VectorType, dim >::Stationary().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetupData().
const int& GhostFluidMethod< VectorType, dim >::Stationary | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::LevelSet(), and GFMLevelSet< DataType, dim >::Stationary().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::IntegrateLevel(), AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::SetBndry(), and GhostFluidMethod< VectorType, dim >::SetupData().
const vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::U | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_u.
vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::U | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_u.
virtual void GhostFluidMethod< VectorType, dim >::update | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
References GhostFluidMethod< VectorType, dim >::Boundary(), GhostFluidMethod< VectorType, dim >::LevelSet(), and GFMLevelSet< DataType, dim >::update().
Referenced by AMRGFMSolver< MicroType, FixupType, FlagType, DIM >::update().
const vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::Ush | ( | ) | const [inline] |
References GhostFluidMethod< VectorType, dim >::_u_sh.
vec_grid_fct_type& GhostFluidMethod< VectorType, dim >::Ush | ( | ) | [inline] |
References GhostFluidMethod< VectorType, dim >::_u_sh.
boundary_type* GhostFluidMethod< VectorType, dim >::_Boundary [protected] |
boundary_conditions_type* GhostFluidMethod< VectorType, dim >::_BoundaryConditions [protected] |
Referenced by GhostFluidMethod< VectorType, dim >::BoundaryConditions_(), GhostFluidMethod< VectorType, dim >::GetBoundaryConditionsP(), GhostFluidMethod< VectorType, dim >::GhostFluidMethod(), GhostFluidMethod< VectorType, dim >::SetBoundaryConditionsP(), and GhostFluidMethod< VectorType, dim >::SetupData().
boundary_functor_type* GhostFluidMethod< VectorType, dim >::_BoundaryFunc [protected] |
bool GhostFluidMethod< VectorType, dim >::_EstimateError [protected] |
int GhostFluidMethod< VectorType, dim >::_Ignore [protected] |
levelset_type* GhostFluidMethod< VectorType, dim >::_LevelSet [protected] |
std::string GhostFluidMethod< VectorType, dim >::_myprefix [protected] |
grid_fct_type* GhostFluidMethod< VectorType, dim >::_phi [protected] |
grid_fct_type * GhostFluidMethod< VectorType, dim >::_phi_sh [protected] |
Referenced by GhostFluidMethod< VectorType, dim >::finish(), GhostFluidMethod< VectorType, dim >::GhostFluidMethod(), GhostFluidMethod< VectorType, dim >::Phi(), GhostFluidMethod< VectorType, dim >::Phish(), GhostFluidMethod< VectorType, dim >::SetupData(), and GhostFluidMethod< VectorType, dim >::~GhostFluidMethod().
vec_grid_fct_type* GhostFluidMethod< VectorType, dim >::_u [protected] |
vec_grid_fct_type * GhostFluidMethod< VectorType, dim >::_u_sh [protected] |
char GhostFluidMethod< VectorType, dim >::phiName[DAGHBktGFNameWidth] [protected] |
Referenced by GhostFluidMethod< VectorType, dim >::SetupData().
char GhostFluidMethod< VectorType, dim >::phiNamesh[DAGHBktGFNameWidth] [protected] |
Referenced by GhostFluidMethod< VectorType, dim >::SetupData().