Generic base-class to set a scalar level set function. More...
#include <GFMLevelSet.h>
Public Types | |
typedef GridFunction< DataType, dim > | grid_fct_type |
typedef GridData< DataType, dim > | grid_data_type |
Public Member Functions | |
GFMLevelSet () | |
virtual | ~GFMLevelSet () |
virtual void | SetGrid (grid_data_type &gdphi, const int &Level, const double &t)=0 |
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 | SetPhi (grid_fct_type &phi, const int Time, const int Level, double t) |
const int & | PlotPhi () const |
const int & | Stationary () const |
void | SetStationary (int stat) |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
GridHierarchy & | GH () |
const GridHierarchy & | GH () const |
const int & | NGhosts () const |
const int & | Dim () const |
Protected Attributes | |
int | _PlotPhi |
int | _Stationary |
int | _Ghosts |
int | _Dim |
GridHierarchy * | _Hierarchy |
ControlDevice | LocCtrl |
Generic base-class to set a scalar level set function.
typedef GridData<DataType,dim> GFMLevelSet< DataType, dim >::grid_data_type |
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, CPTLevelSet< DataType, dim >, MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, StatCPTLevelSet< DataType, dim >, and F77GFMLevelSet< DataType, dim >.
typedef GridFunction<DataType,dim> GFMLevelSet< DataType, dim >::grid_fct_type |
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, CPTLevelSet< DataType, dim >, MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, StatCPTLevelSet< DataType, dim >, and F77GFMLevelSet< DataType, dim >.
GFMLevelSet< DataType, dim >::GFMLevelSet | ( | ) | [inline] |
References GFMLevelSet< DataType, dim >::_Hierarchy.
virtual GFMLevelSet< DataType, dim >::~GFMLevelSet | ( | ) | [inline, virtual] |
const int& GFMLevelSet< DataType, dim >::Dim | ( | ) | const [inline] |
References GFMLevelSet< DataType, dim >::_Dim.
Referenced by CPTLevelSet< DataType, dim >::SetPhi().
virtual void GFMLevelSet< DataType, dim >::finish | ( | ) | [inline, virtual] |
Referenced by GhostFluidMethod< VectorType, dim >::finish().
const GridHierarchy& GFMLevelSet< DataType, dim >::GH | ( | ) | const [inline] |
References GFMLevelSet< DataType, dim >::_Hierarchy.
GridHierarchy& GFMLevelSet< DataType, dim >::GH | ( | ) | [inline] |
virtual void GFMLevelSet< DataType, dim >::init | ( | ) | [inline, virtual] |
Referenced by GhostFluidMethod< VectorType, dim >::init().
const int& GFMLevelSet< DataType, dim >::NGhosts | ( | ) | const [inline] |
const int& GFMLevelSet< DataType, dim >::PlotPhi | ( | ) | const [inline] |
References GFMLevelSet< DataType, dim >::_PlotPhi.
virtual void GFMLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
virtual void GFMLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented in CPTLevelSet< DataType, dim >, MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, StatCPTLevelSet< DataType, dim >, and F77GFMLevelSet< DataType, dim >.
References GFMLevelSet< DataType, dim >::_PlotPhi, GFMLevelSet< DataType, dim >::_Stationary, ControlDevice::getSubDevice(), GFMLevelSet< DataType, dim >::LocCtrl, and RegisterAt().
Referenced by GhostFluidMethod< VectorType, dim >::register_at(), GFMLevelSet< DataType, dim >::register_at(), and F77LevelSetInitialCondition< VectorType, dim >::register_at().
virtual void GFMLevelSet< DataType, dim >::SetGrid | ( | grid_data_type & | gdphi, | |
const int & | Level, | |||
const double & | t | |||
) | [pure virtual] |
Implemented in F77GFMLevelSet< DataType, dim >.
Referenced by GFMLevelSet< DataType, dim >::SetPhi().
virtual void GFMLevelSet< DataType, dim >::SetPhi | ( | grid_fct_type & | phi, | |
const int | Time, | |||
const int | Level, | |||
double | t | |||
) | [inline, virtual] |
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, CPTLevelSet< DataType, dim >, and MultiCPTLevelSet< DataType, dim >.
References END_WATCH, ExternalBoundaryUpdate(), forall, GFMLevelSet< DataType, dim >::SetGrid(), START_WATCH, and Sync().
Referenced by F77LevelSetInitialCondition< VectorType, dim >::Set(), and GhostFluidMethod< VectorType, dim >::SetLevelSet().
void GFMLevelSet< DataType, dim >::SetStationary | ( | int | stat | ) | [inline] |
References GFMLevelSet< DataType, dim >::_Stationary.
virtual void GFMLevelSet< DataType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented in MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
References GFMLevelSet< DataType, dim >::_Ghosts, and GFMLevelSet< DataType, dim >::_Hierarchy.
Referenced by StatCPTLevelSet< DataType, dim >::SetupData(), MultiStatCPTLevelSet< DataType, dim >::SetupData(), GhostFluidMethod< VectorType, dim >::SetupData(), and F77LevelSetInitialCondition< VectorType, dim >::SetupData().
const int& GFMLevelSet< DataType, dim >::Stationary | ( | ) | const [inline] |
References GFMLevelSet< DataType, dim >::_Stationary.
Referenced by GhostFluidMethod< VectorType, dim >::Stationary().
virtual void GFMLevelSet< DataType, dim >::update | ( | ) | [inline, virtual] |
Referenced by GhostFluidMethod< VectorType, dim >::update().
int GFMLevelSet< DataType, dim >::_Dim [protected] |
Referenced by GFMLevelSet< DataType, dim >::Dim().
int GFMLevelSet< DataType, dim >::_Ghosts [protected] |
Referenced by GFMLevelSet< DataType, dim >::NGhosts(), and GFMLevelSet< DataType, dim >::SetupData().
GridHierarchy* GFMLevelSet< DataType, dim >::_Hierarchy [protected] |
int GFMLevelSet< DataType, dim >::_PlotPhi [protected] |
int GFMLevelSet< DataType, dim >::_Stationary [protected] |
Referenced by MultiCPTLevelSet< DataType, dim >::MultiCPTLevelSet(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), GFMLevelSet< DataType, dim >::register_at(), F77GFMLevelSet< DataType, dim >::register_at(), GFMLevelSet< DataType, dim >::SetStationary(), StatCPTLevelSet< DataType, dim >::StatCPTLevelSet(), and GFMLevelSet< DataType, dim >::Stationary().
ControlDevice GFMLevelSet< DataType, dim >::LocCtrl [protected] |