Generic base-class for application of the numerical method. More...
#include <Integrator.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
Public Member Functions | |
Integrator () | |
virtual | ~Integrator () |
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)=0 |
virtual void | AllocGridFluxes (const BBox &bb, vec_grid_data_type **&Flux)=0 |
virtual void | DeAllocGridFluxes (vec_grid_data_type **&Flux)=0 |
virtual void | ResetGridFluxes (vec_grid_data_type **&Flux)=0 |
virtual int | ControlGrid (vec_grid_data_type &StateVec, const int &level, const BBox &where, const double &time, const int verbose)=0 |
virtual int | NMethodOrder () const =0 |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
void | SetMaxIntegratorPasses (int mp) |
const int & | MaxIntegratorPasses () |
const int & | Abort () const |
void | CheckGrid (vec_grid_data_type &StateVec, const int &level, const BBox &where, const double &time, const char *text) |
void | SetGridFunction (vec_grid_fct_type *u) |
vec_grid_fct_type & | U () |
const vec_grid_fct_type & | U () const |
Protected Attributes | |
int | _MaxPass |
int | _abort |
vec_grid_fct_type * | _u |
Generic base-class for application of the numerical method.
typedef base::vec_grid_data_type Integrator< VectorType, dim >::vec_grid_data_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in ClpIntegrator< VectorType, AuxVectorType, 1 >, ClpIntegrator< VectorType, AuxVectorType, 2 >, ClpIntegrator< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, dim >, WENOIntegrator< VectorType, dim >, RIMIntegrator< VectorType, dim >, BalansIntegrator< VectorType, dim >, LBMIntegrator< LBMType, dim >, SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, LBMIntegrator< LBMType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
typedef base::vec_grid_fct_type Integrator< VectorType, dim >::vec_grid_fct_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in ClpIntegrator< VectorType, AuxVectorType, 1 >, ClpIntegrator< VectorType, AuxVectorType, 2 >, ClpIntegrator< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, dim >, WENOIntegrator< VectorType, dim >, RIMIntegrator< VectorType, dim >, BalansIntegrator< VectorType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, and BalansIntegrator< VectorType, DIM >.
Integrator< VectorType, dim >::Integrator | ( | ) | [inline] |
virtual Integrator< VectorType, dim >::~Integrator | ( | ) | [inline, virtual] |
const int& Integrator< VectorType, dim >::Abort | ( | ) | const [inline] |
virtual void Integrator< VectorType, dim >::AllocGridFluxes | ( | const BBox & | bb, | |
vec_grid_data_type **& | Flux | |||
) | [pure virtual] |
Implemented in SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, LBMIntegrator< LBMType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by AMRSolver< VectorType, FixupType, FlagType, DIM >::UpdateLevel().
virtual double Integrator< VectorType, 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 | |||
) | [pure virtual] |
Implemented in SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by AMRSolver< VectorType, FixupType, FlagType, DIM >::UpdateLevel().
void Integrator< VectorType, dim >::CheckGrid | ( | vec_grid_data_type & | StateVec, | |
const int & | level, | |||
const BBox & | where, | |||
const double & | time, | |||
const char * | text | |||
) | [inline] |
virtual int Integrator< VectorType, dim >::ControlGrid | ( | vec_grid_data_type & | StateVec, | |
const int & | level, | |||
const BBox & | where, | |||
const double & | time, | |||
const int | verbose | |||
) | [pure virtual] |
Implemented in SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by Integrator< SchemeType::VectorType, dim >::CheckGrid().
virtual void Integrator< VectorType, dim >::DeAllocGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [pure virtual] |
Implemented in SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, LBMIntegrator< LBMType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by AMRSolver< VectorType, FixupType, FlagType, DIM >::UpdateLevel().
const int& Integrator< VectorType, dim >::MaxIntegratorPasses | ( | ) | [inline] |
virtual int Integrator< VectorType, dim >::NMethodOrder | ( | ) | const [pure virtual] |
Implemented in ClpIntegratorBase< VectorType, AuxVectorType, dim >, WENOIntegrator< VectorType, dim >, RIMIntegrator< VectorType, dim >, BalansIntegrator< VectorType, dim >, SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::NMethodOrder().
virtual void Integrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in ClpIntegratorBase< VectorType, AuxVectorType, dim >, WENOIntegrator< VectorType, dim >, RIMIntegrator< VectorType, dim >, BalansIntegrator< VectorType, dim >, SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
virtual void Integrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in ClpIntegratorBase< VectorType, AuxVectorType, dim >, WENOIntegrator< VectorType, dim >, RIMIntegrator< VectorType, dim >, BalansIntegrator< VectorType, dim >, SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by Integrator< SchemeType::VectorType, dim >::register_at(), and AMRSolverBase< MicroType, FixupType, FlagType, dim >::register_at().
virtual void Integrator< VectorType, dim >::ResetGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [pure virtual] |
Implemented in SchemeIntegrator< SchemeType, dim >, ClpIntegratorBase< VectorType, AuxVectorType, 3 >, ClpIntegratorBase< VectorType, AuxVectorType, 2 >, ClpIntegratorBase< VectorType, AuxVectorType, 1 >, WENOIntegrator< VectorType, DIM >, RIMIntegrator< VectorType, DIM >, BalansIntegrator< VectorType, DIM >, LBMIntegrator< LBMType, DIM >, SchemeIntegrator< LBMType, DIM >, SchemeIntegrator< SchemeType, DIM >, and SchemeIntegrator< LBMType, dim >.
Referenced by AMRSolver< VectorType, FixupType, FlagType, DIM >::UpdateLevel().
void Integrator< VectorType, dim >::SetGridFunction | ( | vec_grid_fct_type * | u | ) | [inline] |
void Integrator< VectorType, dim >::SetMaxIntegratorPasses | ( | int | mp | ) | [inline] |
Referenced by SchemeIntegrator< LBMType, dim >::SetupData().
const vec_grid_fct_type& Integrator< VectorType, dim >::U | ( | ) | const [inline] |
vec_grid_fct_type& Integrator< VectorType, dim >::U | ( | ) | [inline] |
int Integrator< VectorType, dim >::_abort [protected] |
int Integrator< VectorType, dim >::_MaxPass [protected] |
vec_grid_fct_type* Integrator< VectorType, dim >::_u [protected] |