![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
#include <CellInterface.h>
Inherited by BoundCond, and CellInterfaceO2.
Public Member Functions | |
CellInterface () | |
CellInterface (const int &lvl) | |
virtual | ~CellInterface () |
void | setFace (Face *face) |
virtual void | computeFlux (double &dtMax, Limiter &globalLimiter, Limiter &interfaceLimiter, Limiter &globalVolumeFractionLimiter, Limiter &interfaceVolumeFractionLimiter, Prim type=vecPhases) |
virtual void | computeFluxAddPhys (AddPhys &addPhys) |
virtual void | solveRiemann (double &dtMax, Limiter &, Limiter &, Limiter &, Limiter &, Prim=vecPhases) |
virtual void | initialize (Cell *cellLeft, Cell *cellRight) |
void | initializeGauche (Cell *cellLeft) |
virtual void | initializeDroite (Cell *cellRight) |
virtual void | addFlux (const double &coefAMR) |
void | subtractFlux (const double &coefAMR) |
void | addFluxRotatingRegion () |
void | substractFluxRotatingRegion () |
double | distance (Cell *c) |
virtual int | whoAmI () const |
virtual int | whoAmIHeat () const |
virtual bool | isMRFWall () const |
Returns heat boundary type for wall (see BoundCondWall.h) | |
virtual void | checkMrfInterface (Source *sourceMRF) |
void | solveRiemannMRF (double &dtMax) |
virtual void | allocateSlopes (int &) |
virtual void | computeSlopes (Prim=vecPhases) |
virtual Phase * | getSlopesPhase (const int &) const |
virtual Mixture * | getSlopesMixture () const |
virtual Transport * | getSlopesTransport (const int &) const |
Face * | getFace () |
Model * | getMod () const |
Cell * | getCellLeft () const |
Cell * | getCellRight () const |
virtual const int & | getNumPhys () const |
virtual double | getBoundData (VarBoundary) const |
virtual double | getBoundaryHeatQuantity () const |
virtual Coord & | getWallRotationalVelocityMRF () |
Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h) | |
virtual void | computeXi (const double &criteriaVar, const bool &varRho, const bool &varP, const bool &varU, const bool &varAlpha) |
void | computeCritereAMR (const double &criteriaVar, Variable nameVariable, int num=0) |
virtual void | computeFluxXi () |
virtual void | creerCellInterfaceChild () |
virtual void | creerCellInterfaceChildInterne (const int &lvl, std::vector< CellInterface * > *childrenInternalCellInterfaces) |
void | creerFaceChild (CellInterface *cellInterfaceParent) |
virtual void | raffineCellInterfaceExterne (const int &nbCellsY, const int &nbCellsZ, const double &dXParent, const double &dYParent, const double &dZParent, Cell *cellRef, const int &dim) |
virtual void | deraffineCellInterfaceExterne (Cell *cellRef) |
void | deraffineCellInterfacesChildren () |
void | constructionArrayExternalCellInterfacesLvl (std::vector< CellInterface * > *cellInterfacesLvl) |
bool | getSplit () const |
const int & | getLvl () const |
int | getNumberCellInterfacesChildren () const |
CellInterface * | getCellInterfaceChild (const int &numChild) |
CellInterface * | getCellInterfaceChildBack () |
void | updatePointersInternalCellInterfaces () |
Protected Attributes | |
Cell * | m_cellLeft |
Cell * | m_cellRight |
Face * | m_face |
int | m_lvl |
std::vector< CellInterface * > | m_cellInterfacesChildren |
bool | m_mrfInterface |
bool | m_mrfStaticRegionIsLeft |
Coord | m_omega |
CellInterface::CellInterface | ( | ) |
Default constructor
CellInterface::CellInterface | ( | const int & | lvl | ) |
|
virtual |
Default destructor
|
virtual |
Reimplemented in BoundCond.
void CellInterface::addFluxRotatingRegion | ( | ) |
|
inlinevirtual |
Reimplemented in BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.
void CellInterface::computeCritereAMR | ( | const double & | criteriaVar, |
Variable | nameVariable, | ||
int | num = 0 |
||
) |
Calcul de xi via le criteria de variation
|
virtual |
Reimplemented in BoundCond, and CellInterfaceO2.
|
virtual |
Calcul des flux de Xi (diffusion) pour smoothing
Reimplemented in BoundCond.
Ne fait rien pour des cell interfaces ordre 1
Reimplemented in BoundCondWallO2Cartesian, CellInterfaceO2Cartesian, and CellInterfaceO2.
|
virtual |
Calcul de la variable Xi pour criteria de (de)raffinement a priori
Reimplemented in BoundCond.
void CellInterface::constructionArrayExternalCellInterfacesLvl | ( | std::vector< CellInterface * > * | cellInterfacesLvl | ) |
Construction of new array of cell interfaces of the level (lvl + 1), external cell interfaces added here
|
virtual |
Creer un child cell interface (non initialize)
Reimplemented in BoundCondInletInjStagState, BoundCondInletInjTemp, BoundCondInletTank, BoundCondNonReflecting, BoundCondNullflux, BoundCondOutletMassflow, BoundCondOutletPressure, BoundCondSymmetry, BoundCondSymmetryO2Cartesian, BoundCondWall, BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.
|
virtual |
Creer un intern child cell interface (non initialize)
Reimplemented in CellInterfaceO2, and CellInterfaceO2Cartesian.
void CellInterface::creerFaceChild | ( | CellInterface * | cellInterfaceParent | ) |
Creer une face enfant (non initialize)
|
virtual |
Deraffinement du extern cell interface en supprimant si besoin ses children cell interfaces + liaisons cells/cell interfaces
Reimplemented in BoundCond.
void CellInterface::deraffineCellInterfacesChildren | ( | ) |
Supprime les children cell interfaces
double CellInterface::distance | ( | Cell * | c | ) |
|
inlinevirtual |
Reimplemented in BoundCond, and BoundCondWall.
|
inlinevirtual |
Reimplemented in BoundCond.
CellInterface * CellInterface::getCellInterfaceChild | ( | const int & | numChild | ) |
Renvoie le child cell interface correspondant au number
CellInterface * CellInterface::getCellInterfaceChildBack | ( | ) |
Renvoie le child cell interface correspondant au number
Cell * CellInterface::getCellLeft | ( | ) | const |
Cell * CellInterface::getCellRight | ( | ) | const |
Face * CellInterface::getFace | ( | ) |
Ne fait rien pour des cell interfaces ordre 1 Attention, getFace() non const
|
inline |
Model * CellInterface::getMod | ( | ) | const |
int CellInterface::getNumberCellInterfacesChildren | ( | ) | const |
Renvoie le niveau du cell interface Renvoie le number de children cell interfaces de ce cell interface
|
inlinevirtual |
Reimplemented in BoundCond.
|
inlinevirtual |
Ne fait rien pour des cell interfaces ordre 1
Reimplemented in BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.
|
inlinevirtual |
Ne fait rien pour des cell interfaces ordre 1
Reimplemented in CellInterfaceO2, BoundCondWallO2Cartesian, and CellInterfaceO2Cartesian.
|
inlinevirtual |
Ne fait rien pour des cell interfaces ordre 1
Reimplemented in CellInterfaceO2, BoundCondWallO2Cartesian, and CellInterfaceO2Cartesian.
bool CellInterface::getSplit | ( | ) | const |
Renvoie si oui ou non le cell interface est splitte
|
inlinevirtual |
Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h)
Reimplemented in BoundCondWall.
Reimplemented in BoundCond.
|
virtual |
void CellInterface::initializeGauche | ( | Cell * | cellLeft | ) |
|
inlinevirtual |
Returns heat boundary type for wall (see BoundCondWall.h)
Reimplemented in BoundCondWall.
|
virtual |
Raffinement du extern cell interface en creant si besoin des children cell interfaces + liaisons cells/cell interfaces
Reimplemented in BoundCond.
void CellInterface::setFace | ( | Face * | face | ) |
|
virtual |
Reimplemented in CellInterfaceO2, BoundCond, BoundCondWallO2NS, CellInterfaceO2NS, BoundCondWallO2Cartesian, and CellInterfaceO2Cartesian.
void CellInterface::solveRiemannMRF | ( | double & | dtMax | ) |
void CellInterface::substractFluxRotatingRegion | ( | ) |
void CellInterface::subtractFlux | ( | const double & | coefAMR | ) |
void CellInterface::updatePointersInternalCellInterfaces | ( | ) |
|
inlinevirtual |
Reimplemented in BoundCond, BoundCondInletInjStagState, BoundCondInletInjTemp, BoundCondInletTank, BoundCondNonReflecting, BoundCondNullflux, BoundCondOutletMassflow, BoundCondOutletPressure, BoundCondSymmetry, BoundCondSymmetryO2Cartesian, BoundCondSymmetryO2NS, BoundCondWall, BoundCondWallO2Cartesian, and BoundCondWallO2NS.
|
inlinevirtual |
Reimplemented in BoundCond, and BoundCondWall.
|
protected |
Array of children cell interfaces (taille : 1 en 1D, 2 en 2D et 4 en 3D)
|
protected |
|
protected |
|
protected |
|
protected |
Niveau dans l arbre AMR du cell interface
|
protected |
|
protected |
|
protected |