Class for calling a Cartesian scheme during the update step. More...
#include <SchemeIntegrator.h>
Public Types | |
typedef SchemeType::VectorType | VectorType |
typedef VectorType::InternalDataType | DataType |
typedef base::vec_grid_data_type | vec_grid_data_type |
Public Member Functions | |
SchemeIntegrator (SchemeType &scheme) | |
virtual | ~SchemeIntegrator () |
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 double | CalculateGrid (vec_grid_data_type &NewStateVec, vec_grid_data_type &OldStateVec, vec_grid_data_type *Flux[], const int &level, const double &t, const double &dt, const int &mpass) |
virtual void | AllocGridFluxes (const BBox &bb, vec_grid_data_type **&Flux) |
virtual void | DeAllocGridFluxes (vec_grid_data_type **&Flux) |
virtual void | ResetGridFluxes (vec_grid_data_type **&Flux) |
virtual int | ControlGrid (vec_grid_data_type &StateVec, const int &level, const BBox &where, const double &time, const int verbose) |
const int & | NCheck () const |
virtual int | NMethodOrder () const |
int | NMaxPass () const |
SchemeType & | Scheme () |
const SchemeType & | Scheme () const |
Protected Attributes | |
SchemeType & | _scheme |
int | _check |
VectorType * | FluxData |
Class for calling a Cartesian scheme during the update step.
typedef VectorType::InternalDataType SchemeIntegrator< SchemeType, dim >::DataType |
typedef base::vec_grid_data_type SchemeIntegrator< SchemeType, dim >::vec_grid_data_type |
Reimplemented from Integrator< SchemeType::VectorType, dim >.
Reimplemented in LBMIntegrator< LBMType, dim >, and LBMIntegrator< LBMType, DIM >.
typedef SchemeType::VectorType SchemeIntegrator< SchemeType, dim >::VectorType |
SchemeIntegrator< SchemeType, dim >::SchemeIntegrator | ( | SchemeType & | scheme | ) | [inline] |
virtual SchemeIntegrator< SchemeType, dim >::~SchemeIntegrator | ( | ) | [inline, virtual] |
virtual void SchemeIntegrator< SchemeType, dim >::AllocGridFluxes | ( | const BBox & | bb, | |
vec_grid_data_type **& | Flux | |||
) | [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
Reimplemented in LBMIntegrator< LBMType, DIM >.
virtual double SchemeIntegrator< SchemeType, dim >::CalculateGrid | ( | vec_grid_data_type & | NewStateVec, | |
vec_grid_data_type & | OldStateVec, | |||
vec_grid_data_type * | Flux[], | |||
const int & | level, | |||
const double & | t, | |||
const double & | dt, | |||
const int & | mpass | |||
) | [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
virtual int SchemeIntegrator< SchemeType, dim >::ControlGrid | ( | vec_grid_data_type & | StateVec, | |
const int & | level, | |||
const BBox & | where, | |||
const double & | time, | |||
const int | verbose | |||
) | [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
virtual void SchemeIntegrator< SchemeType, dim >::DeAllocGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
Reimplemented in LBMIntegrator< LBMType, DIM >.
virtual void SchemeIntegrator< SchemeType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
virtual void SchemeIntegrator< SchemeType, dim >::init | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
const int& SchemeIntegrator< SchemeType, dim >::NCheck | ( | ) | const [inline] |
int SchemeIntegrator< SchemeType, dim >::NMaxPass | ( | ) | const [inline] |
virtual int SchemeIntegrator< SchemeType, dim >::NMethodOrder | ( | ) | const [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
virtual void SchemeIntegrator< SchemeType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from Integrator< SchemeType::VectorType, dim >.
virtual void SchemeIntegrator< SchemeType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from Integrator< SchemeType::VectorType, dim >.
Referenced by SchemeIntegrator< LBMType, dim >::register_at().
virtual void SchemeIntegrator< SchemeType, dim >::ResetGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< SchemeType::VectorType, dim >.
Reimplemented in LBMIntegrator< LBMType, DIM >.
const SchemeType& SchemeIntegrator< SchemeType, dim >::Scheme | ( | ) | const [inline] |
SchemeType& SchemeIntegrator< SchemeType, dim >::Scheme | ( | ) | [inline] |
Referenced by SchemeIntegrator< LBMType, dim >::CalculateGrid(), SchemeIntegrator< LBMType, dim >::ControlGrid(), SchemeIntegrator< LBMType, dim >::finish(), SchemeIntegrator< LBMType, dim >::init(), SchemeIntegrator< LBMType, dim >::NMaxPass(), SchemeIntegrator< LBMType, dim >::NMethodOrder(), SchemeIntegrator< LBMType, dim >::register_at(), SchemeIntegrator< LBMType, dim >::SetupData(), and SchemeIntegrator< LBMType, dim >::update().
virtual void SchemeIntegrator< SchemeType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMIntegrator< LBMType, dim >, and LBMIntegrator< LBMType, DIM >.
virtual void SchemeIntegrator< SchemeType, dim >::update | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
int SchemeIntegrator< SchemeType, dim >::_check [protected] |
SchemeType& SchemeIntegrator< SchemeType, dim >::_scheme [protected] |
Referenced by SchemeIntegrator< LBMType, dim >::Scheme().
VectorType* SchemeIntegrator< SchemeType, dim >::FluxData [protected] |