2d MHD operator. More...
#include <EGLM2D.h>
Public Types | |
enum | ICPredefined { Constant, DiscontinuityX, DiscontinuityY, DiscontinuityXY, Constant, DiscontinuityX, DiscontinuityY, DiscontinuityXY } |
enum | BCPredefined { Symmetry, SlipWall, Inlet, Outlet, Symmetry, SlipWall, Inlet, Outlet } |
enum | GFMPredefined { GFMExtrapolation, GFMSlipWall, GFMExtrapolation, GFMSlipWall } |
enum | ICPredefined { Constant, DiscontinuityX, DiscontinuityY, DiscontinuityXY, Constant, DiscontinuityX, DiscontinuityY, DiscontinuityXY } |
enum | BCPredefined { Symmetry, SlipWall, Inlet, Outlet, Symmetry, SlipWall, Inlet, Outlet } |
enum | GFMPredefined { GFMExtrapolation, GFMSlipWall, GFMExtrapolation, GFMSlipWall } |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef base::grid_data_type | grid_data_type |
typedef base::VectorType | VectorType |
typedef base::SideName | SideName |
typedef base::point_type | point_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef base::grid_data_type | grid_data_type |
typedef base::VectorType | VectorType |
typedef base::SideName | SideName |
typedef base::point_type | point_type |
Public Member Functions | |
EGLM2D () | |
virtual | ~EGLM2D () |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual double | Step (vec_grid_data_type &vec, vec_grid_data_type &oldvec, vec_grid_data_type *Flux[], const double &t, const double &dt, const int &mpass) const |
virtual void | ICStandard (vec_grid_data_type &vec, const int type, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual void | BCStandard (vec_grid_data_type &vec, const BBox &bb, const int type, const int side, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual bool | GFMUseTransform () const |
virtual void | GFMTransform (vec_grid_data_type &vec, vec_grid_data_type &vechelp) const |
virtual void | GFMBCStandard (vec_grid_data_type &vec, const int type, const int &nc, const int *idx, const VectorType *f, const point_type *xc, const DataType *distance, const point_type *normal, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual void | Input (vec_grid_data_type &fvec, grid_data_type &work, const int cnt, const int skip_ghosts=1) const |
virtual void | Output (vec_grid_data_type &vec, grid_data_type &workvec, const int cnt, const int skip_ghosts=1) const |
virtual int | Check (vec_grid_data_type &vec, const BBox &bb, const double &time, const int verbose) const |
virtual int | NMethodOrder () const |
virtual int | NMaxPass () const |
void | primitive2conservative (vec_grid_data_type &vec, grid_data_type &rE) const |
void | conservative2primitive (vec_grid_data_type &vec, grid_data_type &rE) const |
void | computeRhoE (vec_grid_data_type &vec, grid_data_type &rE) const |
DataType | Gamma () const |
void | Reconstruct (DataType &r, DataType &r1, DataType &r2, DataType &rl, DataType &rr) const |
DataType | SlopeLimiter (DataType &a, DataType &b) const |
EGLM2D () | |
virtual | ~EGLM2D () |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual double | Step (vec_grid_data_type &vec, vec_grid_data_type &oldvec, vec_grid_data_type *Flux[], const double &t, const double &dt, const int &mpass) const |
virtual void | ICStandard (vec_grid_data_type &vec, const int type, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual void | BCStandard (vec_grid_data_type &vec, const BBox &bb, const int type, const int side, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual bool | GFMUseTransform () const |
virtual void | GFMTransform (vec_grid_data_type &vec, vec_grid_data_type &vechelp) const |
virtual void | GFMBCStandard (vec_grid_data_type &vec, const int type, const int &nc, const int *idx, const VectorType *f, const point_type *xc, const DataType *distance, const point_type *normal, DataType *aux=0, const int naux=0, const int scaling=0) const |
virtual void | Input (vec_grid_data_type &fvec, grid_data_type &work, const int cnt, const int skip_ghosts=1) const |
virtual void | Output (vec_grid_data_type &vec, grid_data_type &workvec, const int cnt, const int skip_ghosts=1) const |
virtual int | Check (vec_grid_data_type &vec, const BBox &bb, const double &time, const int verbose) const |
virtual int | NMethodOrder () const |
virtual int | NMaxPass () const |
void | primitive2conservativeIC (vec_grid_data_type &vec) const |
void | conservative2primitive (vec_grid_data_type &vec) const |
DataType | Gamma () const |
void | Reconstruct (DataType &r, DataType &r1, DataType &r2, DataType &rl, DataType &rr) const |
DataType | SlopeLimiter (DataType &a, DataType &b) const |
Protected Member Functions | |
void | WriteInit () const |
void | computeFluxX (vec_grid_data_type &vec, vec_grid_data_type &fluxx, grid_data_type &rE) const |
void | computeFluxY (vec_grid_data_type &vec, vec_grid_data_type &fluxy, grid_data_type &rE) const |
void | NumericalFluxX (vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, grid_data_type &rErt, grid_data_type &rElt, vec_grid_data_type &FluxX, DataType &xSlopeMax, DataType ch) const |
void | NumericalFluxY (vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, grid_data_type &rErt, grid_data_type &rElt, vec_grid_data_type &FluxY, DataType &ySlopeMax, DataType ch) const |
void | MUSCLX (vec_grid_data_type &vec, vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, grid_data_type &rErt, grid_data_type &rElt, DataType dt, DataType dx, DataType ch) const |
void | MUSCLY (vec_grid_data_type &vec, vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, grid_data_type &rErt, grid_data_type &rElt, DataType dt, DataType dy, DataType ch) const |
void | RiemannSolver_HLLD (VectorType vec[2], DataType rhoE[2], VectorType F[2], int position, DataType &slopeMax, int BFieldPosition) const |
void | RiemannSolver_HLL (VectorType vec[2], DataType rhoE[2], VectorType F[2], int position, DataType &slopeMax, int BFieldPosition) const |
void | computeMagneticAcousticFastWave (const VectorType vec[2], DataType &cfastLeft, DataType &cfastRight, int BFieldPosition) const |
void | computeStateUstarsHLLD (const VectorType vec[2], DataType rhoE[2], VectorType Ustar[2], VectorType Ustarstar[2], int position, int BFieldPosition, DataType &slopeLeft, DataType &slopeRight, DataType &slopeLeftStar, DataType &slopeRightStar, DataType &slopeM) const |
void | slope_HLL (const VectorType vec[2], int position, DataType &slopeLeft, DataType &slopeRight, DataType &slopeMax, int BFieldPosition) const |
void | slope_HLLD (const VectorType vec[2], int position, DataType &slopeLeft, DataType &slopeRight, DataType &slopeMax, int BFieldPosition) const |
void | fluxCorrectionX (vec_grid_data_type &vecm, vec_grid_data_type &vec, vec_grid_data_type &flux, DataType ch) const |
void | fluxCorrectionY (vec_grid_data_type &vecm, vec_grid_data_type &vec, vec_grid_data_type &flux, DataType ch) const |
void | conservationStep (vec_grid_data_type &vec, grid_data_type &rE, vec_grid_data_type &fluxx, vec_grid_data_type &fluxy, double dt, double dx, double dy) const |
void | computeCorrection (vec_grid_data_type &vec, grid_data_type &rE, DataType ch, double dt, double dx, double dy) const |
void | WriteInit () const |
void | computeFluxX (vec_grid_data_type &vec, vec_grid_data_type &fluxx) const |
It computes the flux Fx using as input the conservative variables: | |
void | computeFluxY (vec_grid_data_type &vec, vec_grid_data_type &fluxy) const |
It computes the flux Fy using as input the conservative variables: | |
void | NumericalFluxX (vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, vec_grid_data_type &FluxX, DataType &xSlopeMax, DataType ch) const |
void | NumericalFluxY (vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, vec_grid_data_type &FluxY, DataType &ySlopeMax, DataType ch) const |
void | MUSCLX (vec_grid_data_type &vec, vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, DataType dt, DataType dx, DataType ch) const |
void | MUSCLY (vec_grid_data_type &vec, vec_grid_data_type &qrt, vec_grid_data_type &qlt, vec_grid_data_type &Frt, vec_grid_data_type &Flt, DataType dt, DataType dy, DataType ch) const |
void | RiemannSolver_HLLD (VectorType vec[2], VectorType F[2], int position, DataType &slopeMax, int BFieldPosition) const |
void | RiemannSolver_HLL (VectorType vec[2], VectorType F[2], int position, DataType &slopeMax, int BFieldPosition) const |
DataType | computePressure (DataType rho, DataType energy, DataType vx, DataType vy, DataType vz, DataType Bx, DataType By, DataType Bz) const |
DataType | computeE (DataType rho, DataType p, DataType vx, DataType vy, DataType vz, DataType Bx, DataType By, DataType Bz) const |
void | computeMagneticAcousticFastWave (const VectorType vec[2], DataType &cfastLeft, DataType &cfastRight, int BFieldPosition) const |
void | computeStateUstarsHLLD (const VectorType vec[2], VectorType Ustar[2], VectorType Ustarstar[2], int position, int BFieldPosition, DataType &slopeLeft, DataType &slopeRight, DataType &slopeLeftStar, DataType &slopeRightStar, DataType &slopeM) const |
void | slope_HLL (const VectorType vec[2], int position, DataType &slopeLeft, DataType &slopeRight, DataType &slopeMax, int BFieldPosition) const |
void | slope_HLLD (const VectorType vec[2], int position, DataType &slopeLeft, DataType &slopeRight, DataType &slopeMax, int BFieldPosition) const |
void | fluxCorrectionX (vec_grid_data_type &vecm, vec_grid_data_type &vec, vec_grid_data_type &flux, DataType ch) const |
void | fluxCorrectionY (vec_grid_data_type &vecm, vec_grid_data_type &vec, vec_grid_data_type &flux, DataType ch) const |
void | conservationStep (vec_grid_data_type &vec, vec_grid_data_type &fluxx, vec_grid_data_type &fluxy, double dt, double dx, double dy) const |
void | computeCorrection (vec_grid_data_type &vec, DataType ch, double dt, double dx, double dy) const |
2d MHD operator.
typedef base::grid_data_type EGLM2D< DataType >::grid_data_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::grid_data_type EGLM2D< DataType >::grid_data_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::point_type EGLM2D< DataType >::point_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::point_type EGLM2D< DataType >::point_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::SideName EGLM2D< DataType >::SideName |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::SideName EGLM2D< DataType >::SideName |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::vec_grid_data_type EGLM2D< DataType >::vec_grid_data_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::vec_grid_data_type EGLM2D< DataType >::vec_grid_data_type |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::VectorType EGLM2D< DataType >::VectorType |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
typedef base::VectorType EGLM2D< DataType >::VectorType |
Reimplemented from SchemeBase< Vector< DataType, 9 >, 2 >.
enum EGLM2D::BCPredefined |
enum EGLM2D::BCPredefined |
enum EGLM2D::GFMPredefined |
enum EGLM2D::GFMPredefined |
enum EGLM2D::ICPredefined |
enum EGLM2D::ICPredefined |
virtual void EGLM2D< DataType >::BCStandard | ( | vec_grid_data_type & | vec, | |
const BBox & | bb, | |||
const int | type, | |||
const int | side, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
References SchemeBase< Vector< DataType, 9 >, 2 >::Bottom, SchemeBase< Vector< DataType, 9 >, 2 >::idx(), EGLM2D< DataType >::Inlet, SchemeBase< Vector< DataType, 9 >, 2 >::Left, BBox::lower(), AMRBase< Vector< DataType, 9 >, 2 >::NEquations(), EGLM2D< DataType >::Outlet, SchemeBase< Vector< DataType, 9 >, 2 >::Primitive, SchemeBase< Vector< DataType, 9 >, 2 >::Right, EGLM2D< DataType >::SlipWall, BBox::stepsize(), EGLM2D< DataType >::Symmetry, SchemeBase< Vector< DataType, 9 >, 2 >::Top, and BBox::upper().
virtual void EGLM2D< DataType >::BCStandard | ( | vec_grid_data_type & | vec, | |
const BBox & | bb, | |||
const int | type, | |||
const int | side, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
virtual int EGLM2D< DataType >::Check | ( | vec_grid_data_type & | vec, | |
const BBox & | bb, | |||
const double & | time, | |||
const int | verbose | |||
) | const [inline, virtual] |
virtual int EGLM2D< DataType >::Check | ( | vec_grid_data_type & | vec, | |
const BBox & | bb, | |||
const double & | time, | |||
const int | verbose | |||
) | const [inline, virtual] |
void EGLM2D< DataType >::computeCorrection | ( | vec_grid_data_type & | vec, | |
DataType | ch, | |||
double | dt, | |||
double | dx, | |||
double | dy | |||
) | const [inline, protected] |
void EGLM2D< DataType >::computeCorrection | ( | vec_grid_data_type & | vec, | |
grid_data_type & | rE, | |||
DataType | ch, | |||
double | dt, | |||
double | dx, | |||
double | dy | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::Step().
void EGLM2D< DataType >::computeFluxX | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | fluxx | |||
) | const [inline, protected] |
It computes the flux Fx using as input the conservative variables:
References EGLM2D< DataType >::computePressure(), and SchemeBase< Vector< DataType, 9 >, 2 >::idx().
void EGLM2D< DataType >::computeFluxX | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | fluxx, | |||
grid_data_type & | rE | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::MUSCLX(), and EGLM2D< DataType >::Step().
void EGLM2D< DataType >::computeFluxY | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | fluxy | |||
) | const [inline, protected] |
It computes the flux Fy using as input the conservative variables:
References EGLM2D< DataType >::computePressure(), and SchemeBase< Vector< DataType, 9 >, 2 >::idx().
void EGLM2D< DataType >::computeFluxY | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | fluxy, | |||
grid_data_type & | rE | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::MUSCLY(), and EGLM2D< DataType >::Step().
void EGLM2D< DataType >::computeMagneticAcousticFastWave | ( | const VectorType | vec[2], | |
DataType & | cfastLeft, | |||
DataType & | cfastRight, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
References EGLM2D< DataType >::computePressure().
void EGLM2D< DataType >::computeMagneticAcousticFastWave | ( | const VectorType | vec[2], | |
DataType & | cfastLeft, | |||
DataType & | cfastRight, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::slope_HLL(), and EGLM2D< DataType >::slope_HLLD().
DataType EGLM2D< DataType >::computePressure | ( | DataType | rho, | |
DataType | energy, | |||
DataType | vx, | |||
DataType | vy, | |||
DataType | vz, | |||
DataType | Bx, | |||
DataType | By, | |||
DataType | Bz | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::computeFluxX(), EGLM2D< DataType >::computeFluxY(), EGLM2D< DataType >::computeMagneticAcousticFastWave(), EGLM2D< DataType >::computeStateUstarsHLLD(), EGLM2D< DataType >::conservative2primitive(), EGLM2D< DataType >::GFMBCStandard(), EGLM2D< DataType >::MUSCLX(), EGLM2D< DataType >::MUSCLY(), and EGLM2D< DataType >::Output().
void EGLM2D< DataType >::computeRhoE | ( | vec_grid_data_type & | vec, | |
grid_data_type & | rE | |||
) | const [inline] |
void EGLM2D< DataType >::computeStateUstarsHLLD | ( | const VectorType | vec[2], | |
VectorType | Ustar[2], | |||
VectorType | Ustarstar[2], | |||
int | position, | |||
int | BFieldPosition, | |||
DataType & | slopeLeft, | |||
DataType & | slopeRight, | |||
DataType & | slopeLeftStar, | |||
DataType & | slopeRightStar, | |||
DataType & | slopeM | |||
) | const [inline, protected] |
References EGLM2D< DataType >::computePressure().
void EGLM2D< DataType >::computeStateUstarsHLLD | ( | const VectorType | vec[2], | |
DataType | rhoE[2], | |||
VectorType | Ustar[2], | |||
VectorType | Ustarstar[2], | |||
int | position, | |||
int | BFieldPosition, | |||
DataType & | slopeLeft, | |||
DataType & | slopeRight, | |||
DataType & | slopeLeftStar, | |||
DataType & | slopeRightStar, | |||
DataType & | slopeM | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::RiemannSolver_HLLD().
void EGLM2D< DataType >::conservationStep | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | fluxx, | |||
vec_grid_data_type & | fluxy, | |||
double | dt, | |||
double | dx, | |||
double | dy | |||
) | const [inline, protected] |
void EGLM2D< DataType >::conservationStep | ( | vec_grid_data_type & | vec, | |
grid_data_type & | rE, | |||
vec_grid_data_type & | fluxx, | |||
vec_grid_data_type & | fluxy, | |||
double | dt, | |||
double | dx, | |||
double | dy | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::Step().
void EGLM2D< DataType >::conservative2primitive | ( | vec_grid_data_type & | vec | ) | const [inline] |
void EGLM2D< DataType >::conservative2primitive | ( | vec_grid_data_type & | vec, | |
grid_data_type & | rE | |||
) | const [inline] |
Referenced by EGLM2D< DataType >::GFMTransform().
void EGLM2D< DataType >::fluxCorrectionX | ( | vec_grid_data_type & | vecm, | |
vec_grid_data_type & | vec, | |||
vec_grid_data_type & | flux, | |||
DataType | ch | |||
) | const [inline, protected] |
References SchemeBase< Vector< DataType, 9 >, 2 >::idx().
void EGLM2D< DataType >::fluxCorrectionX | ( | vec_grid_data_type & | vecm, | |
vec_grid_data_type & | vec, | |||
vec_grid_data_type & | flux, | |||
DataType | ch | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::MUSCLX(), and EGLM2D< DataType >::NumericalFluxX().
void EGLM2D< DataType >::fluxCorrectionY | ( | vec_grid_data_type & | vecm, | |
vec_grid_data_type & | vec, | |||
vec_grid_data_type & | flux, | |||
DataType | ch | |||
) | const [inline, protected] |
References SchemeBase< Vector< DataType, 9 >, 2 >::idx().
void EGLM2D< DataType >::fluxCorrectionY | ( | vec_grid_data_type & | vecm, | |
vec_grid_data_type & | vec, | |||
vec_grid_data_type & | flux, | |||
DataType | ch | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::MUSCLY(), and EGLM2D< DataType >::NumericalFluxY().
virtual void EGLM2D< DataType >::GFMBCStandard | ( | vec_grid_data_type & | vec, | |
const int | type, | |||
const int & | nc, | |||
const int * | idx, | |||
const VectorType * | f, | |||
const point_type * | xc, | |||
const DataType * | distance, | |||
const point_type * | normal, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
virtual void EGLM2D< DataType >::GFMBCStandard | ( | vec_grid_data_type & | vec, | |
const int | type, | |||
const int & | nc, | |||
const int * | idx, | |||
const VectorType * | f, | |||
const point_type * | xc, | |||
const DataType * | distance, | |||
const point_type * | normal, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
virtual void EGLM2D< DataType >::GFMTransform | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | vechelp | |||
) | const [inline, virtual] |
References EGLM2D< DataType >::conservative2primitive().
virtual void EGLM2D< DataType >::GFMTransform | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | vechelp | |||
) | const [inline, virtual] |
virtual bool EGLM2D< DataType >::GFMUseTransform | ( | ) | const [inline, virtual] |
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
virtual bool EGLM2D< DataType >::GFMUseTransform | ( | ) | const [inline, virtual] |
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
virtual void EGLM2D< DataType >::ICStandard | ( | vec_grid_data_type & | vec, | |
const int | type, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
References EGLM2D< DataType >::Constant, EGLM2D< DataType >::DiscontinuityX, EGLM2D< DataType >::DiscontinuityXY, EGLM2D< DataType >::DiscontinuityY, AMRBase< Vector< DataType, 9 >, 2 >::GH(), SchemeBase< Vector< DataType, 9 >, 2 >::idx(), AMRBase< Vector< DataType, 9 >, 2 >::NEquations(), AMRBase< Vector< DataType, 9 >, 2 >::NGhosts(), SchemeBase< Vector< DataType, 9 >, 2 >::Primitive, GridHierarchy::worldCoords(), and GridHierarchy::worldStep().
virtual void EGLM2D< DataType >::ICStandard | ( | vec_grid_data_type & | vec, | |
const int | type, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
virtual void EGLM2D< DataType >::Input | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | work, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
virtual void EGLM2D< DataType >::Input | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | work, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
void EGLM2D< DataType >::MUSCLX | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | qrt, | |||
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
DataType | dt, | |||
DataType | dx, | |||
DataType | ch | |||
) | const [inline, protected] |
References EGLM2D< DataType >::computeE(), EGLM2D< DataType >::computeFluxX(), EGLM2D< DataType >::computePressure(), EGLM2D< DataType >::fluxCorrectionX(), SchemeBase< Vector< DataType, 9 >, 2 >::idx(), AMRBase< Vector< DataType, 9 >, 2 >::NEquations(), AMRBase< Vector< DataType, 9 >, 2 >::NGhosts(), and EGLM2D< DataType >::Reconstruct().
void EGLM2D< DataType >::MUSCLX | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | qrt, | |||
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
grid_data_type & | rErt, | |||
grid_data_type & | rElt, | |||
DataType | dt, | |||
DataType | dx, | |||
DataType | ch | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::Step().
void EGLM2D< DataType >::MUSCLY | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | qrt, | |||
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
DataType | dt, | |||
DataType | dy, | |||
DataType | ch | |||
) | const [inline, protected] |
References EGLM2D< DataType >::computeE(), EGLM2D< DataType >::computeFluxY(), EGLM2D< DataType >::computePressure(), EGLM2D< DataType >::fluxCorrectionY(), SchemeBase< Vector< DataType, 9 >, 2 >::idx(), AMRBase< Vector< DataType, 9 >, 2 >::NEquations(), AMRBase< Vector< DataType, 9 >, 2 >::NGhosts(), and EGLM2D< DataType >::Reconstruct().
void EGLM2D< DataType >::MUSCLY | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | qrt, | |||
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
grid_data_type & | rErt, | |||
grid_data_type & | rElt, | |||
DataType | dt, | |||
DataType | dy, | |||
DataType | ch | |||
) | const [inline, protected] |
References SchemeBase< Vector< DataType, 9 >, 2 >::idx().
Referenced by EGLM2D< DataType >::Step().
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
Implements SchemeBase< Vector< DataType, 9 >, 2 >.
void EGLM2D< DataType >::NumericalFluxX | ( | vec_grid_data_type & | qrt, | |
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
vec_grid_data_type & | FluxX, | |||
DataType & | xSlopeMax, | |||
DataType | ch | |||
) | const [inline, protected] |
void EGLM2D< DataType >::NumericalFluxX | ( | vec_grid_data_type & | qrt, | |
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
grid_data_type & | rErt, | |||
grid_data_type & | rElt, | |||
vec_grid_data_type & | FluxX, | |||
DataType & | xSlopeMax, | |||
DataType | ch | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::Step().
void EGLM2D< DataType >::NumericalFluxY | ( | vec_grid_data_type & | qrt, | |
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
vec_grid_data_type & | FluxY, | |||
DataType & | ySlopeMax, | |||
DataType | ch | |||
) | const [inline, protected] |
void EGLM2D< DataType >::NumericalFluxY | ( | vec_grid_data_type & | qrt, | |
vec_grid_data_type & | qlt, | |||
vec_grid_data_type & | Frt, | |||
vec_grid_data_type & | Flt, | |||
grid_data_type & | rErt, | |||
grid_data_type & | rElt, | |||
vec_grid_data_type & | FluxY, | |||
DataType & | ySlopeMax, | |||
DataType | ch | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::Step().
virtual void EGLM2D< DataType >::Output | ( | vec_grid_data_type & | vec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
virtual void EGLM2D< DataType >::Output | ( | vec_grid_data_type & | vec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
void EGLM2D< DataType >::primitive2conservative | ( | vec_grid_data_type & | vec, | |
grid_data_type & | rE | |||
) | const [inline] |
void EGLM2D< DataType >::primitive2conservativeIC | ( | vec_grid_data_type & | vec | ) | const [inline] |
void EGLM2D< DataType >::Reconstruct | ( | DataType & | r, | |
DataType & | r1, | |||
DataType & | r2, | |||
DataType & | rl, | |||
DataType & | rr | |||
) | const [inline] |
References EGLM2D< DataType >::SlopeLimiter().
void EGLM2D< DataType >::Reconstruct | ( | DataType & | r, | |
DataType & | r1, | |||
DataType & | r2, | |||
DataType & | rl, | |||
DataType & | rr | |||
) | const [inline] |
Referenced by EGLM2D< DataType >::MUSCLX(), and EGLM2D< DataType >::MUSCLY().
virtual void EGLM2D< DataType >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< Vector< DataType, 9 >, 2 >.
References ControlDevice::getSubDevice(), AMRBase< Vector< DataType, 9 >, 2 >::LocCtrl, and RegisterAt().
virtual void EGLM2D< DataType >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< Vector< DataType, 9 >, 2 >.
void EGLM2D< DataType >::RiemannSolver_HLL | ( | VectorType | vec[2], | |
VectorType | F[2], | |||
int | position, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
References EGLM2D< DataType >::slope_HLL().
void EGLM2D< DataType >::RiemannSolver_HLL | ( | VectorType | vec[2], | |
DataType | rhoE[2], | |||
VectorType | F[2], | |||
int | position, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::NumericalFluxX(), and EGLM2D< DataType >::NumericalFluxY().
void EGLM2D< DataType >::RiemannSolver_HLLD | ( | VectorType | vec[2], | |
VectorType | F[2], | |||
int | position, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
void EGLM2D< DataType >::RiemannSolver_HLLD | ( | VectorType | vec[2], | |
DataType | rhoE[2], | |||
VectorType | F[2], | |||
int | position, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::NumericalFluxX(), and EGLM2D< DataType >::NumericalFluxY().
virtual void EGLM2D< DataType >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< Vector< DataType, 9 >, 2 >.
References AMRBase< Vector< DataType, 9 >, 2 >::SetupData(), and EGLM2D< DataType >::WriteInit().
virtual void EGLM2D< DataType >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< Vector< DataType, 9 >, 2 >.
References RegisterAt().
void EGLM2D< DataType >::slope_HLL | ( | const VectorType | vec[2], | |
int | position, | |||
DataType & | slopeLeft, | |||
DataType & | slopeRight, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::RiemannSolver_HLL().
void EGLM2D< DataType >::slope_HLLD | ( | const VectorType | vec[2], | |
int | position, | |||
DataType & | slopeLeft, | |||
DataType & | slopeRight, | |||
DataType & | slopeMax, | |||
int | BFieldPosition | |||
) | const [inline, protected] |
Referenced by EGLM2D< DataType >::RiemannSolver_HLLD().
DataType EGLM2D< DataType >::SlopeLimiter | ( | DataType & | a, | |
DataType & | b | |||
) | const [inline] |
DataType EGLM2D< DataType >::SlopeLimiter | ( | DataType & | a, | |
DataType & | b | |||
) | const [inline] |
Referenced by EGLM2D< DataType >::Reconstruct().
virtual double EGLM2D< DataType >::Step | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | oldvec, | |||
vec_grid_data_type * | Flux[], | |||
const double & | t, | |||
const double & | dt, | |||
const int & | mpass | |||
) | const [inline, virtual] |
References EGLM2D< DataType >::computeCorrection(), EGLM2D< DataType >::computeFluxX(), EGLM2D< DataType >::computeFluxY(), EGLM2D< DataType >::conservationStep(), AMRBase< Vector< DataType, 9 >, 2 >::GH(), EGLM2D< DataType >::MUSCLX(), EGLM2D< DataType >::MUSCLY(), EGLM2D< DataType >::NumericalFluxX(), EGLM2D< DataType >::NumericalFluxY(), and GridHierarchy::worldStep().
virtual double EGLM2D< DataType >::Step | ( | vec_grid_data_type & | vec, | |
vec_grid_data_type & | oldvec, | |||
vec_grid_data_type * | Flux[], | |||
const double & | t, | |||
const double & | dt, | |||
const int & | mpass | |||
) | const [inline, virtual] |
References RegisterAt().
Referenced by EGLM2D< DataType >::SetupData().