![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Base class for a mesh cell. More...
#include <Cell.h>
Inherited by CellGhost, and CellO2.
Public Member Functions | |
| Cell () | |
| Basic Cell constructor for a non AMR cell. | |
| Cell (int lvl) | |
| Cell constructor for an AMR cell. | |
| virtual | ~Cell () |
| void | addCellInterface (CellInterface *cellInterface) |
| Add a cell interface to current cell. | |
| void | deleteCellInterface (CellInterface *cellInterface) |
| Delete the cell interface of current cell. | |
| void | associateExtVar (Model *mod, Gradient *grad) |
| Associate external variables. | |
| virtual void | allocate (const std::vector< AddPhys * > &addPhys) |
| Memory allocation of cell attributes. | |
| void | allocateEos () |
| void | fill (std::vector< GeometricalDomain * > &domains, const int &) |
| Filling cell properties using a physical domain. | |
| virtual void | copyPhase (const int &phaseNumber, Phase *phase) |
| void | copyMixture (Mixture *mixture) |
| void | setToZeroCons () |
| void | setToZeroConsGlobal () |
| void | timeEvolution (const double &dt, Symmetry *symmetry) |
| void | timeEvolutionAddPhys (const double &dt) |
| void | buildPrim () |
| void | buildCons () |
| virtual void | correctionEnergy (Prim=vecPhases) |
| void | sourceTermIntegration (const double &) |
| void | printPhasesMixture (std::ofstream &fileStream) const |
| virtual void | completeFulfillState () |
| virtual void | fulfillState (Prim=vecPhases) |
| void | fulfillStateResume () |
| void | localProjection (const Coord &normal, const Coord &tangent, const Coord &binormal, Prim=vecPhases) |
| virtual void | reverseProjection (const Coord &normal, const Coord &tangent, const Coord &binormal) |
| virtual void | copyInCell (Cell &) const |
| void | copyVec (Phase **vecPhases, Mixture *mixture, Transport *vecTransports) |
| void | deleteInterface (const int &b) |
| void | prepareAddPhys () |
| Coord | selectVector (Variable nameVector, int num=0, int subscript=-1) const |
| void | setVector (Variable nameVector, const Coord &value, int num=0, int subscript=-1) |
| const QuantitiesAddPhys * | getQPA (const int &numQPA) const |
| QuantitiesAddPhys * | getQPA (const int &numQPA) |
| Allow to recover an additional physical quantity. | |
| const Coord & | getGradTk (int &numPhase, int &numAddPhys) const |
| Allow to recover an additional physical quantity. | |
| void | setGradTk (int &numPhase, int &numAddPhys, double *buffer, int &counter) |
| void | addNonConsAddPhys (AddPhys &addPhys, Symmetry *symmetry) |
| void | reinitializeColorFunction (const int &numTransport, const int &numPhase) |
| Re-initialize the color function (transport) with alpha. | |
| double | hatFilterScalar (Variable nameVariable, int num=0) |
| Select a specific scalar variable. | |
| void | computeGradients (std::vector< Coord > &grads, std::vector< Variable > &nameVariables, std::vector< int > &numPhases) |
| Compute gradients (temperature, velocity, density) of a cell. | |
| int | getCellInterfacesSize () const |
| CellInterface * | getCellInterface (const int &b) |
| void | setCellInterface (const int &b, CellInterface *cellInterface) |
| virtual Phase * | getPhase (const int &phaseNumber, Prim=vecPhases) const |
| virtual Phase ** | getPhases (Prim=vecPhases) const |
| virtual Mixture * | getMixture (Prim=vecPhases) const |
| Flux * | getCons () const |
| void | setCons (Flux *cons) |
| const Coord & | getPosition () const |
| const Coord & | getSize () const |
| const double & | getSizeX () const |
| const double & | getSizeY () const |
| const double & | getSizeZ () const |
| void | setElement (Element *element, const int &numCell) |
| Element * | getElement () const |
| virtual void | setTransport (double value, int &numTransport, Prim=vecPhases) |
| virtual Transport & | getTransport (const int &numTransport, Prim=vecPhases) const |
| virtual Transport * | getTransports (Prim=vecPhases) const |
| Transport * | getConsTransport (const int &numTransport) const |
| void | setConsTransport (double value, const int &numTransport) |
| std::vector< QuantitiesAddPhys * > & | getVecQuantitiesAddPhys () |
| const int & | getNumberPhases () const |
| const int & | getNumberTransports () const |
| double | getDensityGradient () |
| Model * | getModel () |
| Coord & | getVelocity () |
| const Coord & | getVelocity () const |
| void | setWall (bool wall) |
| bool | getWall () const |
| double | selectScalar (Variable nameVariable, int num=0) const |
| Select a specific scalar variable. | |
| virtual void | allocateSecondOrderBuffersAndGradientVectors (Phase **, Mixture *) |
| Compute global variable buffers (min, max, etc.) and initialize speficic gradient vectors for 2nd-order scheme on unstructured mesh. | |
| virtual void | computeGradientsO2 () |
| Compute gradients for 2nd-order scheme on unstructured mesh. | |
| virtual void | limitGradientsO2 (Limiter &) |
| virtual void | computeLocalSlopes (CellInterface &) |
| Compute slopes for 2nd-order scheme on unstructured mesh. | |
| virtual void | computeLocalSlopes (CellInterface &, Limiter &, Limiter &, Limiter &, Limiter &, double &, double &, double &, double &) |
| virtual void | computeLocalSlopesLimite (CellInterface &, Limiter &, Limiter &, Limiter &, Limiter &, double &) |
| virtual void | computeLocalSlopesPeriodic (CellInterface &, Limiter &, Limiter &, Limiter &, Limiter &, double &, double &, double &, double &) |
| virtual Phase * | getSlopes () const |
| virtual Transport * | getSlopesTransport () const |
| virtual void | saveCons () |
| virtual void | getBackCons () |
| virtual void | predictionOrdre2 (const double &, Symmetry *) |
| double | distance (Cell *c) |
| double | distanceX (Cell *c) |
| double | distanceY (Cell *c) |
| double | distanceZ (Cell *c) |
| double | distance (CellInterface *b) |
| double | distanceX (CellInterface *b) |
| double | distanceY (CellInterface *b) |
| double | distanceZ (CellInterface *b) |
| bool | traverseObjet (const GeometricObject &objet) const |
| void | printInfo () const |
| double | getPsat () |
| Compute saturation pressure for a liquid/vapor fluid mixture (first phase is considered predominant -> not generalized be careful). | |
| bool | printGnuplotAMR (std::ofstream &fileStream, const int &dim, GeometricObject *objet=0, bool recordPsat=false) |
| void | computeVolumePhaseK (double &integration, const int &numPhase) |
| void | computeMass (double &mass, double &alphaRef) |
| void | computeTotalMass (double &mass) |
| void | computeTotalEnergy (double &totalEnergy) |
| void | lookForPmax (double *pMax, double *pMaxWall) |
| void | setToZeroXi () |
| void | setToZeroConsXi () |
| void | timeEvolutionXi () |
| void | chooseRefine (const double &xiSplit, const int &nbCellsY, const int &nbCellsZ, const std::vector< AddPhys * > &addPhys, int &nbCellsTotalAMR) |
| void | chooseUnrefine (const double &xiJoin, int &nbCellsTotalAMR) |
| void | refineCellAndCellInterfaces (const int &nbCellsY, const int &nbCellsZ, const std::vector< AddPhys * > &addPhys, const bool &refineExternalCellInterfaces) |
| virtual void | createChildCell (const int &lvl) |
| void | unrefineCellAndCellInterfaces () |
| void | averageChildrenInParent () |
| bool | lvlNeighborTooHigh () |
| bool | lvlNeighborTooLow () |
| void | buildLvlCellsAndLvlInternalCellInterfacesArrays (std::vector< Cell * > *cellsLvl, std::vector< CellInterface * > *cellInterfacesLvl) |
| const int & | getLvl () const |
| const bool & | getSplit () const |
| const double & | getXi () const |
| void | setXi (double value) |
| void | addFluxXi (double value) |
| int | getNumberCellsChildren () |
| Cell * | getCellChild (const int &num) |
| std::vector< Cell * > * | getChildVector () |
| virtual void | pushBackSlope () |
| virtual void | popBackSlope () |
| virtual int | getRankOfNeighborCPU () const |
| virtual void | setRankOfNeighborCPU (int) |
| void | fillBufferPrimitives (double *buffer, int &counter, const int &lvl, const int &neighbour, Prim type=vecPhases) const |
| void | getBufferPrimitives (double *buffer, int &counter, const int &lvl, Eos **eos, Prim type=vecPhases) |
| void | fillBufferVector (double *buffer, int &counter, const int &lvl, const int &neighbour, const int &dim, Variable nameVector, int num=0, int index=-1) const |
| void | getBufferVector (double *buffer, int &counter, const int &lvl, const int &dim, Variable nameVector, int num=0, int index=-1) |
| void | fillBufferTransports (double *buffer, int &counter, const int &lvl, const int &neighbour) const |
| void | getBufferTransports (double *buffer, int &counter, const int &lvl) |
| virtual void | fillBufferSlopes (double *, int &, const int &, const int &) const |
| virtual void | getBufferSlopes (double *, int &, const int &) |
| virtual bool | isCellGhost () const |
| bool | hasNeighboringGhostCellOfCPUneighbour (const int &neighbour) const |
| int | numberOfNeighboringGhostCellsOfCPUneighbour (const int &neighbour) const |
| virtual GradPhase * | getGradPhase (const int &) const |
| virtual GradMixture * | getGradMixture () const |
| virtual GradTransport * | getGradTransport (const int &) const |
| void | chooseRefineDeraffineGhost (const int &nbCellsY, const int &nbCellsZ, const std::vector< AddPhys * > &addPhys, std::vector< Cell * > *cellsLvlGhost) |
| void | refineCellAndCellInterfacesGhost (const int &nbCellsY, const int &nbCellsZ, const std::vector< AddPhys * > &addPhys) |
| void | unrefineCellAndCellInterfacesGhost () |
| void | fillBufferXi (double *buffer, int &counter, const int &lvl, const int &neighbour) const |
| void | getBufferXi (double *buffer, int &counter, const int &lvl) |
| void | fillBufferSplit (bool *buffer, int &counter, const int &lvl, const int &neighbour) const |
| void | getBufferSplit (bool *buffer, int &counter, const int &lvl) |
| void | fillNumberElementsToSendToNeighbour (int &numberElementsToSendToNeighbor, int &numberSlopesToSendToNeighbor, const int &lvl, const int &neighbour, int numberNeighboursOfCPUneighbour) |
| void | fillDataToSend (std::vector< double > &dataToSend, std::vector< int > &dataSplitToSend, const int &lvl) const |
| void | getDataToReceiveAndRefine (std::vector< double > &dataToReceive, std::vector< int > &dataSplitToReceive, const int &lvl, Eos **eos, int &counter, int &counterSplit, const int &nbCellsY, const int &nbCellsZ, const std::vector< AddPhys * > &addPhys) |
| void | computeLoad (double &load, int lvl) const |
| void | computeLvlMax (int &lvlMax) const |
| void | clearExternalCellInterfaces (const int &nbCellsY, const int &nbCellsZ) |
| void | updatePointersInternalCellInterfaces () |
| void | updateNbCellsTotalAMR (int &nbCellsTotalAMR) |
Protected Attributes | |
| bool | m_wall |
| Phase ** | m_vecPhases |
| Mixture * | m_mixture |
| Transport * | m_vecTransports |
| Flux * | m_cons |
| Transport * | m_consTransports |
| Element * | m_element |
| std::vector< CellInterface * > | m_cellInterfaces |
| std::vector< QuantitiesAddPhys * > | m_vecQuantitiesAddPhys |
| int | m_lvl |
| double | m_xi |
| double | m_consXi |
| bool | m_split |
| std::vector< Cell * > | m_childrenCells |
| std::vector< CellInterface * > | m_childrenInternalCellInterfaces |
Base class for a mesh cell.
| Cell::Cell | ( | ) |
| Cell::Cell | ( | int | lvl | ) |
Cell constructor for an AMR cell.
| lvl | level of current AMR cell |
|
virtual |
| void Cell::addCellInterface | ( | CellInterface * | cellInterface | ) |
Add a cell interface to current cell.
| cellInterface | pointer to added cell interface |
| void Cell::addFluxXi | ( | double | value | ) |
Add xi cell flux
|
virtual |
Memory allocation of cell attributes.
| addPhys | vector of additional physics |
Reimplemented in CellO2, CellO2GhostCartesian, and CellO2NS.
| void Cell::allocateEos | ( | ) |
Associate external variables.
| mod | pointer to model |
| grad | pointer to gradient method |
| void Cell::averageChildrenInParent | ( | ) |
Average variables of children cells in the parent cell, needed for computation of xi.
| void Cell::buildCons | ( | ) |
| void Cell::buildLvlCellsAndLvlInternalCellInterfacesArrays | ( | std::vector< Cell * > * | cellsLvl, |
| std::vector< CellInterface * > * | cellInterfacesLvl ) |
Build new arrays of cells and cell interfaces for level (lvl+1), only internal cell interfaces are added here
| void Cell::buildPrim | ( | ) |
| void Cell::chooseRefine | ( | const double & | xiSplit, |
| const int & | nbCellsY, | ||
| const int & | nbCellsZ, | ||
| const std::vector< AddPhys * > & | addPhys, | ||
| int & | nbCellsTotalAMR ) |
Choice for refinement of parent cell
| void Cell::chooseRefineDeraffineGhost | ( | const int & | nbCellsY, |
| const int & | nbCellsZ, | ||
| const std::vector< AddPhys * > & | addPhys, | ||
| std::vector< Cell * > * | cellsLvlGhost ) |
Choice for refinement, unrefinement of the ghost parent cell + Update of ghost cell vector for lvl+1
| void Cell::chooseUnrefine | ( | const double & | xiJoin, |
| int & | nbCellsTotalAMR ) |
Choice for unrefinement of parent cell
| void Cell::clearExternalCellInterfaces | ( | const int & | nbCellsY, |
| const int & | nbCellsZ ) |
|
virtual |
| void Cell::computeGradients | ( | std::vector< Coord > & | grads, |
| std::vector< Variable > & | nameVariables, | ||
| std::vector< int > & | numPhases ) |
Compute gradients (temperature, velocity, density) of a cell.
| grads | Array of desired gradients, e.g. for temperature each component represents phase temperature and for velocity each component represents the gradient of a velocity component (grad(u), grad(v), grad(w)) |
| nameVariables | Name of the variable for which the gradient is calculated |
| numPhases | Phases number's |
|
inlinevirtual |
| void Cell::computeLoad | ( | double & | load, |
| int | lvl ) const |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CellO2, CellO2Cartesian, and CellO2GhostCartesian.
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2, and CellO2Cartesian.
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2Cartesian.
| void Cell::computeLvlMax | ( | int & | lvlMax | ) | const |
| void Cell::computeMass | ( | double & | mass, |
| double & | alphaRef ) |
| void Cell::computeTotalEnergy | ( | double & | totalEnergy | ) |
| void Cell::computeTotalMass | ( | double & | mass | ) |
| void Cell::computeVolumePhaseK | ( | double & | integration, |
| const int & | numPhase ) |
|
inlinevirtual |
| void Cell::copyMixture | ( | Mixture * | mixture | ) |
|
virtual |
|
virtual |
Create a child cell (not initialized)
Reimplemented in CellGhost, CellO2, CellO2Cartesian, and CellO2GhostCartesian.
| void Cell::deleteCellInterface | ( | CellInterface * | cellInterface | ) |
Delete the cell interface of current cell.
| cellInterface | pointer to deleted cell interface |
| void Cell::deleteInterface | ( | const int & | b | ) |
| double Cell::distance | ( | Cell * | c | ) |
Does nothing for first order cells Distance totale
| double Cell::distance | ( | CellInterface * | b | ) |
Distance totale
| double Cell::distanceX | ( | Cell * | c | ) |
Distance selon x
| double Cell::distanceX | ( | CellInterface * | b | ) |
Distance selon x
| double Cell::distanceY | ( | Cell * | c | ) |
Distance selon y
| double Cell::distanceY | ( | CellInterface * | b | ) |
Distance selon y
| double Cell::distanceZ | ( | Cell * | c | ) |
Distance selon z
| double Cell::distanceZ | ( | CellInterface * | b | ) |
Distance selon z
| void Cell::fill | ( | std::vector< GeometricalDomain * > & | domains, |
| const int & | ) |
Filling cell properties using a physical domain.
| domains | domain used for filling |
| void Cell::fillBufferPrimitives | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | neighbour, | ||
| Prim | type = vecPhases ) const |
Does nothing for non-ghost cells
|
inlinevirtual |
| void Cell::fillBufferSplit | ( | bool * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | neighbour ) const |
| void Cell::fillBufferTransports | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | neighbour ) const |
| void Cell::fillBufferVector | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | neighbour, | ||
| const int & | dim, | ||
| Variable | nameVector, | ||
| int | num = 0, | ||
| int | index = -1 ) const |
| void Cell::fillBufferXi | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | neighbour ) const |
| void Cell::fillDataToSend | ( | std::vector< double > & | dataToSend, |
| std::vector< int > & | dataSplitToSend, | ||
| const int & | lvl ) const |
| void Cell::fillNumberElementsToSendToNeighbour | ( | int & | numberElementsToSendToNeighbor, |
| int & | numberSlopesToSendToNeighbor, | ||
| const int & | lvl, | ||
| const int & | neighbour, | ||
| int | numberNeighboursOfCPUneighbour ) |
| void Cell::fulfillStateResume | ( | ) |
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2.
| void Cell::getBufferPrimitives | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| Eos ** | eos, | ||
| Prim | type = vecPhases ) |
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2, CellO2Cartesian, CellO2GhostCartesian, CellO2GhostNS, and CellO2NS.
| void Cell::getBufferSplit | ( | bool * | buffer, |
| int & | counter, | ||
| const int & | lvl ) |
| void Cell::getBufferTransports | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl ) |
| void Cell::getBufferVector | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl, | ||
| const int & | dim, | ||
| Variable | nameVector, | ||
| int | num = 0, | ||
| int | index = -1 ) |
| void Cell::getBufferXi | ( | double * | buffer, |
| int & | counter, | ||
| const int & | lvl ) |
| Cell * Cell::getCellChild | ( | const int & | num | ) |
Return pointer to the corresponding child cell number
| CellInterface * Cell::getCellInterface | ( | const int & | b | ) |
| int Cell::getCellInterfacesSize | ( | ) | const |
| std::vector< Cell * > * Cell::getChildVector | ( | ) |
Return pointer to child vector
| Flux * Cell::getCons | ( | ) | const |
| Transport * Cell::getConsTransport | ( | const int & | numTransport | ) | const |
| void Cell::getDataToReceiveAndRefine | ( | std::vector< double > & | dataToReceive, |
| std::vector< int > & | dataSplitToReceive, | ||
| const int & | lvl, | ||
| Eos ** | eos, | ||
| int & | counter, | ||
| int & | counterSplit, | ||
| const int & | nbCellsY, | ||
| const int & | nbCellsZ, | ||
| const std::vector< AddPhys * > & | addPhys ) |
| double Cell::getDensityGradient | ( | ) |
| Element * Cell::getElement | ( | ) | const |
|
inlinevirtual |
|
inlinevirtual |
| const Coord & Cell::getGradTk | ( | int & | numPhase, |
| int & | numAddPhys ) const |
Allow to recover an additional physical quantity.
|
inlinevirtual |
|
inline |
| Model * Cell::getModel | ( | ) |
| int Cell::getNumberCellsChildren | ( | ) |
Return the number of children cells
| const int & Cell::getNumberPhases | ( | ) | const |
| const int & Cell::getNumberTransports | ( | ) | const |
|
inline |
| double Cell::getPsat | ( | ) |
Compute saturation pressure for a liquid/vapor fluid mixture (first phase is considered predominant -> not generalized be careful).
|
inline |
Allow to recover an additional physical quantity.
|
inline |
|
inlinevirtual |
Does nothing for non-ghost O2 cells
Reimplemented in CellGhost, CellO2GhostCartesian, and CellO2GhostNS.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Does nothing for first order cells
|
inlinevirtual |
Does nothing for first order cells
|
inline |
Get the cell AMR level in the AMR tree
| std::vector< QuantitiesAddPhys * > & Cell::getVecQuantitiesAddPhys | ( | ) |
| Coord & Cell::getVelocity | ( | ) |
| const Coord & Cell::getVelocity | ( | ) | const |
|
inline |
|
inline |
Return true if the cells is plit, false otherwise
| bool Cell::hasNeighboringGhostCellOfCPUneighbour | ( | const int & | neighbour | ) | const |
Return a bool that is true if the cell has a neighboring ghost cell corresponding to CPU "neighbour"
| double Cell::hatFilterScalar | ( | Variable | nameVariable, |
| int | num = 0 ) |
Select a specific scalar variable.
| nameVariables | Name of the scalar variable to filter |
| num | Phases number's needed by selectScalar |
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellGhost, and CellO2GhostCartesian.
|
inlinevirtual |
| void Cell::localProjection | ( | const Coord & | normal, |
| const Coord & | tangent, | ||
| const Coord & | binormal, | ||
| Prim | = vecPhases ) |
| void Cell::lookForPmax | ( | double * | pMax, |
| double * | pMaxWall ) |
| bool Cell::lvlNeighborTooHigh | ( | ) |
Look for AMR level of neighboring cells if too high to unrefine
| bool Cell::lvlNeighborTooLow | ( | ) |
Look for AMR level of neighboring cells if too low to refine
| int Cell::numberOfNeighboringGhostCellsOfCPUneighbour | ( | const int & | neighbour | ) | const |
Return the number of neighboring ghost cells corresponding to CPU "neighbour" this cell has
|
inlinevirtual |
Does nothing for non-ghost O2 cells
Reimplemented in CellO2GhostCartesian.
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2.
| void Cell::prepareAddPhys | ( | ) |
| bool Cell::printGnuplotAMR | ( | std::ofstream & | fileStream, |
| const int & | dim, | ||
| GeometricObject * | objet = 0, | ||
| bool | recordPsat = false ) |
| void Cell::printInfo | ( | ) | const |
| void Cell::printPhasesMixture | ( | std::ofstream & | fileStream | ) | const |
|
inlinevirtual |
| void Cell::refineCellAndCellInterfaces | ( | const int & | nbCellsY, |
| const int & | nbCellsZ, | ||
| const std::vector< AddPhys * > & | addPhys, | ||
| const bool & | refineExternalCellInterfaces ) |
Refine parent cell by creation of children cells
| void Cell::refineCellAndCellInterfacesGhost | ( | const int & | nbCellsY, |
| const int & | nbCellsZ, | ||
| const std::vector< AddPhys * > & | addPhys ) |
Refinement of parent ghost cell by creation of children ghost cells
| void Cell::reinitializeColorFunction | ( | const int & | numTransport, |
| const int & | numPhase ) |
Re-initialize the color function (transport) with alpha.
|
virtual |
|
inlinevirtual |
Does nothing for first order cells
Reimplemented in CellO2.
| double Cell::selectScalar | ( | Variable | nameVariable, |
| int | num = 0 ) const |
Select a specific scalar variable.
| nameVariables | Name of the variable to select |
| numPhases | Phases number's |
| void Cell::setCellInterface | ( | const int & | b, |
| CellInterface * | cellInterface ) |
| void Cell::setCons | ( | Flux * | cons | ) |
| void Cell::setConsTransport | ( | double | value, |
| const int & | numTransport ) |
| void Cell::setElement | ( | Element * | element, |
| const int & | numCell ) |
| void Cell::setGradTk | ( | int & | numPhase, |
| int & | numAddPhys, | ||
| double * | buffer, | ||
| int & | counter ) |
|
inlinevirtual |
Reimplemented in CellGhost, CellO2GhostCartesian, and CellO2GhostNS.
| void Cell::setToZeroCons | ( | ) |
| void Cell::setToZeroConsGlobal | ( | ) |
| void Cell::setToZeroConsXi | ( | ) |
set m_consXi to zero
| void Cell::setToZeroXi | ( | ) |
set m_xi to zero
| void Cell::setWall | ( | bool | wall | ) |
| void Cell::setXi | ( | double | value | ) |
Return Xi cell value Set the Xi cell value
|
inline |
| void Cell::timeEvolution | ( | const double & | dt, |
| Symmetry * | symmetry ) |
| void Cell::timeEvolutionAddPhys | ( | const double & | dt | ) |
| void Cell::timeEvolutionXi | ( | ) |
time evolution of Xi for smoothing
| bool Cell::traverseObjet | ( | const GeometricObject & | objet | ) | const |
| void Cell::unrefineCellAndCellInterfaces | ( | ) |
Unrefine parent cell by destruction of children cells
| void Cell::unrefineCellAndCellInterfacesGhost | ( | ) |
Unrefinement of parent ghost cell by destruction of children ghost cells
| void Cell::updateNbCellsTotalAMR | ( | int & | nbCellsTotalAMR | ) |
| void Cell::updatePointersInternalCellInterfaces | ( | ) |
|
protected |
Vector of cell-interface pointers
|
protected |
Vector of Internal children cell-interface pointers of the cell
|
protected |
Conservative variables
|
protected |
Array of fluxes for advected variables
|
protected |
Buffer variable for Xi fluxes
|
protected |
Pointer to corresponding geometrical mesh element
|
protected |
Cell AMR level in the AMR tree
|
protected |
Indicator for splitted cell (Do I possess children ?)
|
protected |
Array of phases
|
protected |
Vector of pointers to the Quantities of Additional Physics of the cell
|
protected |
Array of passive variables advected in the flow
|
protected |
Bool indicating if the cell is a solid boundary (for immersed boundaries)
|
protected |
Criteria for refine/unrefine cell