37#include "../Order1/Cell.h"
38#include "../Order1/CellInterface.h"
40#include "../Parallel/Parallel.h"
General class for additional physics.
Definition AddPhys.h:46
virtual void solveFluxAddPhys(CellInterface *)
Solve the additional physic flux between two cells.
Definition AddPhys.h:71
virtual std::string whoAmI() const
Definition AddPhys.h:55
virtual void addNonCons(Cell *)
Add the non-conservative terms of the corresponding additional physic in a cell.
Definition AddPhys.h:85
virtual double computeEnergyAddPhys(QuantitiesAddPhys *)
Compute and send back mass energy linked to the physic (0 if no linked energy)
Definition AddPhys.h:59
virtual void addSymmetricTermsRadialAxisOnY(Cell *)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on Y)
Definition AddPhys.h:91
virtual void addQuantityAddPhys(Cell *)
Add the quantities for the additional physic.
Definition AddPhys.h:53
virtual void solveFluxAddPhysBoundary(CellInterface *)
Solve the additional physic flux at a domain boundary.
Definition AddPhys.h:74
void addNonConsAddPhys(Cell *cell)
Add the non-conservative terms of the additional physic in a cell.
Definition AddPhys.cpp:89
virtual void communicationsAddPhys(const int &, const int &)
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition AddPhys.h:104
AddPhys()
Definition AddPhys.cpp:35
virtual const int & getNumTransportAssociated() const
Return the associated number of the transport equation (only used for surface tension)
Definition AddPhys.h:107
virtual void addSymmetricTermsRadialAxisOnX(Cell *)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on X)
Definition AddPhys.h:88
virtual bool reinitializationActivated()
Send back true if the reinitialization of the color function is activated.
Definition AddPhys.h:99
virtual void addFluxAddPhys(CellInterface *cellInterface, const double &coefAMR)
Add the additional physic flux between two cells at the corresponding cell.
Definition AddPhys.cpp:71
virtual void reinitializeColorFunction(std::vector< Cell * > *, const int &)
Reinitialize the color function for the surface-tension terms with the volume fraction equation.
Definition AddPhys.h:96
virtual ~AddPhys()
Definition AddPhys.cpp:39
virtual void subtractFluxAddPhys(CellInterface *cellInterface, const double &coefAMR)
Subtract the additional physic flux between two cells at the corresponding cell.
Definition AddPhys.cpp:80
void computeFluxAddPhys(CellInterface *cellInterface)
Compute the additional physic flux between two cells.
Definition AddPhys.cpp:43
void computeFluxAddPhysBoundary(CellInterface *cellInterface)
Compute the additional physic flux at a domain boundary.
Definition AddPhys.cpp:63
Definition CellInterface.h:52
Base class for a mesh cell.
Definition Cell.h:59
static constexpr int defaultInt
Definition Errors.h:91
static void errorMessage(const std::string &message)
Definition Errors.cpp:56
General class for additional-physics quantities.
Definition QuantitiesAddPhys.h:42