Application of initial conditions based on a static level set. More...
#include <F77LevelSetInitialCondition.h>
Public Types | |
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 GFMLevelSet< DataType, dim > | levelset_type |
typedef generic_fortran_func | generic_func_type |
typedef void(* | init_1_func_type )(const INTEGER &maxmx, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const DOUBLE x[], const DOUBLE &dx, VectorType q[], DataType phi[]) |
typedef void(* | init_2_func_type )(const INTEGER &maxmx, const INTEGER &maxmy, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const INTEGER &my, const DOUBLE x[], const DOUBLE y[], const DOUBLE &dx, const DOUBLE &dy, VectorType q[], DataType phi[]) |
typedef void(* | init_3_func_type )(const INTEGER &maxmx, const INTEGER &maxmy, const INTEGER &maxmz, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const INTEGER &my, const INTEGER &mz, const DOUBLE x[], const DOUBLE y[], const DOUBLE z[], const DOUBLE &dx, const DOUBLE &dy, const DOUBLE &dz, VectorType q[], DataType phi[]) |
Public Member Functions | |
F77LevelSetInitialCondition () | |
F77LevelSetInitialCondition (generic_func_type init) | |
virtual | ~F77LevelSetInitialCondition () |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual void | SetGrid (vec_grid_data_type &gd, grid_data_type &gdw, const int &level) |
virtual void | Set (vec_grid_fct_type &u, grid_fct_type &work, const int Level) |
void | SetLevelSet (levelset_type *_levelset) |
levelset_type & | LevelSet () |
const levelset_type & | LevelSet () const |
void | SetFunc (generic_func_type init) |
generic_func_type | GetFunc () const |
Protected Attributes | |
levelset_type * | _LevelSet |
generic_func_type | f_init |
Application of initial conditions based on a static level set.
The class uses a generic interface to f_initial for the application of initial conditions and provides a static level set.
typedef generic_fortran_func F77LevelSetInitialCondition< VectorType, dim >::generic_func_type |
typedef base::grid_data_type F77LevelSetInitialCondition< VectorType, dim >::grid_data_type |
Reimplemented from InitialCondition< VectorType, dim >.
typedef base::grid_fct_type F77LevelSetInitialCondition< VectorType, dim >::grid_fct_type |
Reimplemented from InitialCondition< VectorType, dim >.
typedef void(* F77LevelSetInitialCondition< VectorType, dim >::init_1_func_type)(const INTEGER &maxmx, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const DOUBLE x[], const DOUBLE &dx, VectorType q[], DataType phi[]) |
typedef void(* F77LevelSetInitialCondition< VectorType, dim >::init_2_func_type)(const INTEGER &maxmx, const INTEGER &maxmy, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const INTEGER &my, const DOUBLE x[], const DOUBLE y[], const DOUBLE &dx, const DOUBLE &dy, VectorType q[], DataType phi[]) |
typedef void(* F77LevelSetInitialCondition< VectorType, dim >::init_3_func_type)(const INTEGER &maxmx, const INTEGER &maxmy, const INTEGER &maxmz, const INTEGER &meqn, const INTEGER &mbc, const INTEGER &mx, const INTEGER &my, const INTEGER &mz, const DOUBLE x[], const DOUBLE y[], const DOUBLE z[], const DOUBLE &dx, const DOUBLE &dy, const DOUBLE &dz, VectorType q[], DataType phi[]) |
typedef GFMLevelSet<DataType,dim> F77LevelSetInitialCondition< VectorType, dim >::levelset_type |
typedef base::vec_grid_data_type F77LevelSetInitialCondition< VectorType, dim >::vec_grid_data_type |
Reimplemented from InitialCondition< VectorType, dim >.
typedef base::vec_grid_fct_type F77LevelSetInitialCondition< VectorType, dim >::vec_grid_fct_type |
Reimplemented from InitialCondition< VectorType, dim >.
F77LevelSetInitialCondition< VectorType, dim >::F77LevelSetInitialCondition | ( | ) | [inline] |
F77LevelSetInitialCondition< VectorType, dim >::F77LevelSetInitialCondition | ( | generic_func_type | init | ) | [inline] |
virtual F77LevelSetInitialCondition< VectorType, dim >::~F77LevelSetInitialCondition | ( | ) | [inline, virtual] |
generic_func_type F77LevelSetInitialCondition< VectorType, dim >::GetFunc | ( | ) | const [inline] |
const levelset_type& F77LevelSetInitialCondition< VectorType, dim >::LevelSet | ( | ) | const [inline] |
levelset_type& F77LevelSetInitialCondition< VectorType, dim >::LevelSet | ( | ) | [inline] |
virtual void F77LevelSetInitialCondition< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from InitialCondition< VectorType, dim >.
References F77LevelSetInitialCondition< VectorType, dim >::register_at().
virtual void F77LevelSetInitialCondition< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from InitialCondition< VectorType, dim >.
References F77LevelSetInitialCondition< VectorType, dim >::_LevelSet, ControlDevice::getSubDevice(), F77LevelSetInitialCondition< VectorType, dim >::LevelSet(), AMRBase< VectorType, dim >::LocCtrl, and GFMLevelSet< DataType, dim >::register_at().
Referenced by F77LevelSetInitialCondition< VectorType, dim >::register_at().
virtual void F77LevelSetInitialCondition< VectorType, dim >::Set | ( | vec_grid_fct_type & | u, | |
grid_fct_type & | work, | |||
const int | Level | |||
) | [inline, virtual] |
void F77LevelSetInitialCondition< VectorType, dim >::SetFunc | ( | generic_func_type | init | ) | [inline] |
virtual void F77LevelSetInitialCondition< VectorType, dim >::SetGrid | ( | vec_grid_data_type & | gd, | |
grid_data_type & | gdw, | |||
const int & | level | |||
) | [inline, virtual] |
void F77LevelSetInitialCondition< VectorType, dim >::SetLevelSet | ( | levelset_type * | _levelset | ) | [inline] |
virtual void F77LevelSetInitialCondition< VectorType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
levelset_type* F77LevelSetInitialCondition< VectorType, dim >::_LevelSet [protected] |
Referenced by F77LevelSetInitialCondition< VectorType, dim >::LevelSet(), F77LevelSetInitialCondition< VectorType, dim >::register_at(), F77LevelSetInitialCondition< VectorType, dim >::Set(), F77LevelSetInitialCondition< VectorType, dim >::SetLevelSet(), F77LevelSetInitialCondition< VectorType, dim >::SetupData(), and F77LevelSetInitialCondition< VectorType, dim >::~F77LevelSetInitialCondition().
generic_func_type F77LevelSetInitialCondition< VectorType, dim >::f_init [protected] |