WENOIntegrator< VectorType, dim > Class Template Reference

Basic class for derivation of WENOIntegrator. More...

#include <WENOIntegrator.h>

Inheritance diagram for WENOIntegrator< VectorType, dim >:
Integrator< VectorType, dim > AMRBase< VectorType, dim > controlable

List of all members.

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
VectorTypeFluxData
CLESLog log
int _FilterStep
double _FilterStrength

Detailed Description

template<class VectorType, int dim>
class WENOIntegrator< VectorType, dim >

Basic class for derivation of WENOIntegrator.

This class capsulates the methods of WENOIntegrator that are independent of the spatial dimension.

Author:
Ralf Deiterding, Carlos Pantano, David Hill
Version:
1.0
Date:
Sep-2003

Member Typedef Documentation

template<class VectorType, int dim>
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[])
template<class VectorType, int dim>
typedef void(* WENOIntegrator< VectorType, dim >::check_1_func_type)(FI(1, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result)
template<class VectorType, int dim>
typedef void(* WENOIntegrator< VectorType, dim >::check_2_func_type)(FI(2, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result)
template<class VectorType, int dim>
typedef void(* WENOIntegrator< VectorType, dim >::check_3_func_type)(FI(3, VectorType), BI, const INTEGER &meqn, const INTEGER &mout, INTEGER &result)
template<class VectorType, int dim>
typedef int WENOIntegrator< VectorType, dim >::DCFlagDataType
template<class VectorType, int dim>
typedef GridData<DCFlagDataType,dim> WENOIntegrator< VectorType, dim >::flag_grid_data_type
template<class VectorType, int dim>
typedef generic_fortran_func WENOIntegrator< VectorType, dim >::generic_func_type
template<class VectorType, int dim>
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)
template<class VectorType, int dim>
typedef base::vec_grid_data_type WENOIntegrator< VectorType, dim >::vec_grid_data_type

Reimplemented from Integrator< VectorType, dim >.

template<class VectorType, int dim>
typedef base::vec_grid_fct_type WENOIntegrator< VectorType, dim >::vec_grid_fct_type

Reimplemented from Integrator< VectorType, dim >.


Constructor & Destructor Documentation

template<class VectorType, int dim>
WENOIntegrator< VectorType, dim >::WENOIntegrator ( generic_func_type  step,
generic_func_type  bnds,
generic_func_type  check 
) [inline]
template<class VectorType, int dim>
WENOIntegrator< VectorType, dim >::~WENOIntegrator (  )  [inline]

Member Function Documentation

template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::AllocDCFlag ( const BBox databbox,
flag_grid_data_type **&  DCFlag,
DCFlagDataType *&  DCFlagData 
) [inline]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::AllocGridFluxes ( const BBox bb,
vec_grid_data_type **&  Flux 
) [inline, virtual]
template<class VectorType, int 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]
template<class VectorType, int 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]
template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::DeAllocDCFlag ( flag_grid_data_type **&  DCFlag,
DCFlagDataType *&  DCFlagData 
) [inline]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::DeAllocGridFluxes ( vec_grid_data_type **&  Flux  )  [inline, virtual]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::finish (  )  [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType, int dim>
generic_func_type WENOIntegrator< VectorType, dim >::GetBndsFunc (  )  const [inline]
template<class VectorType, int dim>
generic_func_type WENOIntegrator< VectorType, dim >::GetCheckFunc (  )  const [inline]
template<class VectorType, int dim>
generic_func_type WENOIntegrator< VectorType, dim >::GetStepFunc (  )  const [inline]
template<class VectorType, int dim>
const int& WENOIntegrator< VectorType, dim >::NCheck (  )  const [inline]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::NMaxPass (  )  const [inline]
template<class VectorType, int dim>
virtual int WENOIntegrator< VectorType, dim >::NMethodOrder (  )  const [inline, virtual]
template<class VectorType, int dim>
virtual double WENOIntegrator< VectorType, dim >::PassTimeStepFraction ( int  mpass  )  [inline, virtual]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]

Reimplemented from Integrator< VectorType, dim >.

template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::ResetGridFluxes ( vec_grid_data_type **&  Flux  )  [inline, virtual]
template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::SetBndsFunc ( generic_func_type  bnds  )  [inline]
template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::SetCheckFunc ( generic_func_type  check  )  [inline]
template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::SetDCFlag ( const BBox databbox,
flag_grid_data_type **  DCFlag,
const int &  l 
) [inline]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::SetNoTimeRefine ( int  flag  )  [inline, virtual]
template<class VectorType, int dim>
void WENOIntegrator< VectorType, dim >::SetStepFunc ( generic_func_type  step  )  [inline]
template<class VectorType, int dim>
virtual void WENOIntegrator< VectorType, dim >::SetupData ( GridHierarchy gh,
const int &  ghosts 
) [inline, virtual]

Reimplemented from AMRBase< VectorType, dim >.


Member Data Documentation

template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_check [protected]
template<class VectorType, int dim>
double WENOIntegrator< VectorType, dim >::_FilterStrength [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_les [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_method [protected]
template<class VectorType, int dim>
std::string WENOIntegrator< VectorType, dim >::_name [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_optimized [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_use_carbfix [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_usrc [protected]
template<class VectorType, int dim>
int WENOIntegrator< VectorType, dim >::_visc [protected]

The documentation for this class was generated from the following file: