Basic class for derivation of WENOIntegrator. More...
#include <WENOIntegrator.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 int | DCFlagDataType |
typedef GridData < DCFlagDataType, dim > | flag_grid_data_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 &rk, VectorType ux[], VectorType uxold[], const DOUBLE &dt, DOUBLE &cfl, VectorType fxi[], INTEGER dcflag[], INTEGER &iFilter) |
typedef void(* | bnds_func_type )(INTEGER ix[], DOUBLE lbc[], DOUBLE ubc[], DOUBLE dx[], const DOUBLE *bnd, const INTEGER &mb, const INTEGER per[]) |
Public Member Functions | |
WENOIntegrator (generic_func_type step, generic_func_type bnds, generic_func_type check) | |
~WENOIntegrator () | |
virtual double | PassTimeStepFraction (int mpass) |
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 | finish () |
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) |
void | SetDCFlag (const BBox &databbox, flag_grid_data_type **DCFlag, const int &l) |
void | AllocDCFlag (const BBox &databbox, flag_grid_data_type **&DCFlag, DCFlagDataType *&DCFlagData) |
void | DeAllocDCFlag (flag_grid_data_type **&DCFlag, DCFlagDataType *&DCFlagData) |
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 |
virtual void | SetNoTimeRefine (int flag) |
void | SetCheckFunc (generic_func_type check) |
generic_func_type | GetCheckFunc () const |
void | SetStepFunc (generic_func_type step) |
generic_func_type | GetStepFunc () const |
void | SetBndsFunc (generic_func_type bnds) |
generic_func_type | GetBndsFunc () const |
Protected Attributes | |
generic_func_type | f_step |
generic_func_type | f_bnds |
generic_func_type | f_chk |
std::string | _name |
int | _order |
int | _optimized |
int | _use_carbfix |
int | _method |
int | _visc |
int | _les |
int | _usrc |
int | _check |
int | _DCFlagAdaptBndry |
int | _noTimeRefine |
VectorType * | FluxData |
CLESLog | log |
int | _FilterStep |
double | _FilterStrength |
Basic class for derivation of WENOIntegrator.
This class capsulates the methods of WENOIntegrator that are independent of the spatial dimension.
typedef void(* WENOIntegrator< VectorType, dim >::bnds_func_type)(INTEGER ix[], DOUBLE lbc[], DOUBLE ubc[], DOUBLE dx[], const DOUBLE *bnd, const INTEGER &mb, const INTEGER per[]) |
typedef void(* WENOIntegrator< VectorType, dim >::check_1_func_type)(FI(1, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* WENOIntegrator< VectorType, dim >::check_2_func_type)(FI(2, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef void(* WENOIntegrator< VectorType, dim >::check_3_func_type)(FI(3, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result) |
typedef int WENOIntegrator< VectorType, dim >::DCFlagDataType |
typedef GridData<DCFlagDataType,dim> WENOIntegrator< VectorType, dim >::flag_grid_data_type |
typedef generic_fortran_func WENOIntegrator< VectorType, dim >::generic_func_type |
typedef void(* WENOIntegrator< VectorType, dim >::step_func_type)(const INTEGER &rk, VectorType ux[], VectorType uxold[], const DOUBLE &dt, DOUBLE &cfl, VectorType fxi[], INTEGER dcflag[], INTEGER &iFilter) |
typedef base::vec_grid_data_type WENOIntegrator< VectorType, dim >::vec_grid_data_type |
Reimplemented from Integrator< VectorType, dim >.
typedef base::vec_grid_fct_type WENOIntegrator< VectorType, dim >::vec_grid_fct_type |
Reimplemented from Integrator< VectorType, dim >.
WENOIntegrator< VectorType, dim >::WENOIntegrator | ( | generic_func_type | step, | |
generic_func_type | bnds, | |||
generic_func_type | check | |||
) | [inline] |
WENOIntegrator< VectorType, dim >::~WENOIntegrator | ( | ) | [inline] |
void WENOIntegrator< VectorType, dim >::AllocDCFlag | ( | const BBox & | databbox, | |
flag_grid_data_type **& | DCFlag, | |||
DCFlagDataType *& | DCFlagData | |||
) | [inline] |
Referenced by WENOIntegrator< VectorType, DIM >::CalculateGrid().
virtual void WENOIntegrator< VectorType, dim >::AllocGridFluxes | ( | const BBox & | bb, | |
vec_grid_data_type **& | Flux | |||
) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual double WENOIntegrator< 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 WENOIntegrator< 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 WENOIntegrator< VectorType, DIM >::CalculateGrid().
void WENOIntegrator< VectorType, dim >::DeAllocDCFlag | ( | flag_grid_data_type **& | DCFlag, | |
DCFlagDataType *& | DCFlagData | |||
) | [inline] |
Referenced by WENOIntegrator< VectorType, DIM >::CalculateGrid().
virtual void WENOIntegrator< VectorType, dim >::DeAllocGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual void WENOIntegrator< VectorType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
generic_func_type WENOIntegrator< VectorType, dim >::GetBndsFunc | ( | ) | const [inline] |
generic_func_type WENOIntegrator< VectorType, dim >::GetCheckFunc | ( | ) | const [inline] |
generic_func_type WENOIntegrator< VectorType, dim >::GetStepFunc | ( | ) | const [inline] |
const int& WENOIntegrator< VectorType, dim >::NCheck | ( | ) | const [inline] |
int WENOIntegrator< VectorType, dim >::NMaxPass | ( | ) | const [inline] |
virtual int WENOIntegrator< VectorType, dim >::NMethodOrder | ( | ) | const [inline, virtual] |
Implements Integrator< VectorType, dim >.
virtual double WENOIntegrator< VectorType, dim >::PassTimeStepFraction | ( | int | mpass | ) | [inline, virtual] |
virtual void WENOIntegrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from Integrator< VectorType, dim >.
virtual void WENOIntegrator< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from Integrator< VectorType, dim >.
Referenced by WENOIntegrator< VectorType, DIM >::register_at().
virtual void WENOIntegrator< VectorType, dim >::ResetGridFluxes | ( | vec_grid_data_type **& | Flux | ) | [inline, virtual] |
Implements Integrator< VectorType, dim >.
Referenced by WENOIntegrator< VectorType, DIM >::CalculateGrid().
void WENOIntegrator< VectorType, dim >::SetBndsFunc | ( | generic_func_type | bnds | ) | [inline] |
void WENOIntegrator< VectorType, dim >::SetCheckFunc | ( | generic_func_type | check | ) | [inline] |
void WENOIntegrator< VectorType, dim >::SetDCFlag | ( | const BBox & | databbox, | |
flag_grid_data_type ** | DCFlag, | |||
const int & | l | |||
) | [inline] |
Referenced by WENOIntegrator< VectorType, DIM >::CalculateGrid().
virtual void WENOIntegrator< VectorType, dim >::SetNoTimeRefine | ( | int | flag | ) | [inline, virtual] |
void WENOIntegrator< VectorType, dim >::SetStepFunc | ( | generic_func_type | step | ) | [inline] |
virtual void WENOIntegrator< VectorType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
int WENOIntegrator< VectorType, dim >::_check [protected] |
int WENOIntegrator< VectorType, dim >::_DCFlagAdaptBndry [protected] |
int WENOIntegrator< VectorType, dim >::_FilterStep [protected] |
double WENOIntegrator< VectorType, dim >::_FilterStrength [protected] |
int WENOIntegrator< VectorType, dim >::_les [protected] |
int WENOIntegrator< VectorType, dim >::_method [protected] |
std::string WENOIntegrator< VectorType, dim >::_name [protected] |
int WENOIntegrator< VectorType, dim >::_noTimeRefine [protected] |
int WENOIntegrator< VectorType, dim >::_optimized [protected] |
int WENOIntegrator< VectorType, dim >::_order [protected] |
int WENOIntegrator< VectorType, dim >::_use_carbfix [protected] |
int WENOIntegrator< VectorType, dim >::_usrc [protected] |
int WENOIntegrator< VectorType, dim >::_visc [protected] |
generic_func_type WENOIntegrator< VectorType, dim >::f_bnds [protected] |
generic_func_type WENOIntegrator< VectorType, dim >::f_chk [protected] |
generic_func_type WENOIntegrator< VectorType, dim >::f_step [protected] |
VectorType* WENOIntegrator< VectorType, dim >::FluxData [protected] |
CLESLog WENOIntegrator< VectorType, dim >::log [protected] |