Basic class for derivation of RIMIntegrator. More...
#include <RIMIntegrator.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef generic_fortran_func | generic_func_type |
typedef void(* | check_1_func_type )(FI(1, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* | check_2_func_type )(FI(2, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* | check_3_func_type )(FI(3, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* | step_func_type )(const INTEGER &nx, const INTEGER &ny, const INTEGER &nbc, const INTEGER &neqn, const DOUBLE &dx, const DOUBLE &dy, VectorType ux[], VectorType uxold[], const DOUBLE &dt, DOUBLE &cfl, VectorType fx[], VectorType fy[]) |
Public Member Functions | |
RIMIntegrator (generic_func_type step) | |
RIMIntegrator (generic_func_type step, generic_func_type chk) | |
~RIMIntegrator () | |
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 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 |
void | SetCheckFunc (generic_func_type check) |
generic_func_type | GetCheckFunc () const |
void | SetStepFunc (generic_func_type step) |
generic_func_type | GetStepFunc () const |
Protected Attributes | |
generic_func_type | f_step |
generic_func_type | f_chk |
std::string | _name |
int | _order |
int | _check |
VectorType * | FluxData |
Basic class for derivation of RIMIntegrator.
This class capsulates the methods of RIMIntegrator that are independent of the spatial dimension.
typedef void(* RIMIntegrator< VectorType, dim >::check_1_func_type)(FI(1, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* RIMIntegrator< VectorType, dim >::check_2_func_type)(FI(2, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* RIMIntegrator< VectorType, dim >::check_3_func_type)(FI(3, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef generic_fortran_func RIMIntegrator< VectorType, dim >::generic_func_type |
typedef void(* RIMIntegrator< VectorType, dim >::step_func_type)(const INTEGER &nx, const INTEGER &ny, const INTEGER &nbc, const INTEGER &neqn, const DOUBLE &dx, const DOUBLE &dy, VectorType ux[], VectorType uxold[], const DOUBLE &dt, DOUBLE &cfl, VectorType fx[], VectorType fy[]) |
typedef base::vec_grid_data_type RIMIntegrator< VectorType, dim >::vec_grid_data_type |
Reimplemented from Integrator< VectorType, dim >.
typedef base::vec_grid_fct_type RIMIntegrator< VectorType, dim >::vec_grid_fct_type |
Reimplemented from Integrator< VectorType, dim >.
RIMIntegrator< VectorType, dim >::RIMIntegrator | ( | generic_func_type | step | ) | [inline] |
RIMIntegrator< VectorType, dim >::RIMIntegrator | ( | generic_func_type | step, | |
generic_func_type | chk | |||
) | [inline] |
RIMIntegrator< VectorType, dim >::~RIMIntegrator | ( | ) | [inline] |
virtual void RIMIntegrator< VectorType, dim >::AllocGridFluxes | ( | const BBox & | bb, | |
vec_grid_data_type **& | Flux | |||
) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual double RIMIntegrator< 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 | |||
) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual int RIMIntegrator< VectorType, dim >::ControlGrid | ( | vec_grid_data_type & | StateVec, | |
const int & | level, | |||
const BBox & | where, | |||
const double & | time, | |||
const int | verbose | |||
) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
Referenced by RIMIntegrator< VectorType, DIM >::CalculateGrid().
virtual void RIMIntegrator< VectorType, dim >::DeAllocGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
generic_func_type RIMIntegrator< VectorType, dim >::GetCheckFunc | ( | ) | const [inline] |
generic_func_type RIMIntegrator< VectorType, dim >::GetStepFunc | ( | ) | const [inline] |
const int& RIMIntegrator< VectorType, dim >::NCheck | ( | ) | const [inline] |
int RIMIntegrator< VectorType, dim >::NMaxPass | ( | ) | const [inline] |
Referenced by RIMIntegrator< VectorType, DIM >::SetupData().
virtual int RIMIntegrator< VectorType, dim >::NMethodOrder | ( | ) | const [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual void RIMIntegrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from Integrator< VectorType, dim >.
virtual void RIMIntegrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from Integrator< VectorType, dim >.
Referenced by RIMIntegrator< VectorType, DIM >::register_at().
virtual void RIMIntegrator< VectorType, dim >::ResetGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
Referenced by RIMIntegrator< VectorType, DIM >::CalculateGrid().
void RIMIntegrator< VectorType, dim >::SetCheckFunc | ( | generic_func_type | check | ) | [inline] |
void RIMIntegrator< VectorType, dim >::SetStepFunc | ( | generic_func_type | step | ) | [inline] |
virtual void RIMIntegrator< VectorType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
int RIMIntegrator< VectorType, dim >::_check [protected] |
std::string RIMIntegrator< VectorType, dim >::_name [protected] |
int RIMIntegrator< VectorType, dim >::_order [protected] |
Referenced by RIMIntegrator< VectorType, DIM >::NMethodOrder().
generic_func_type RIMIntegrator< VectorType, dim >::f_chk [protected] |
generic_func_type RIMIntegrator< VectorType, dim >::f_step [protected] |
VectorType* RIMIntegrator< VectorType, dim >::FluxData [protected] |