#include <SourceNumGravity.h>
Inherits SourceNum.
|
| SourceNumGravity (tinyxml2::XMLElement *element, int order, int physicalEntity, std::string fileName="Unknown file") |
| SourceNumGravity constructor from a XML format reading.
|
|
virtual | ~SourceNumGravity () |
|
virtual void | prepSourceTerms (Cell *, const int &i=0) |
| Source terms preparation for integration.
|
|
| SourceNum (int order, int physicalEntity=0) |
| SourceNum constructor depending on integration order and physical entity to apply source.
|
|
virtual | ~SourceNum () |
|
virtual void | integrateSourceTerms (Cell *cell, const double &dt) |
| Source terms integration on conservative quantities.
|
|
void | integrationEuler (Cell *cell, const double &dt) |
| Euler explicite integration (order 1)
|
|
void | integrationRK2 (Cell *cell, const double &dt) |
| Runge-Kutta integration (order 2)
|
|
void | integrationRK4 (Cell *cell, const double &dt) |
| Runge-Kutta integration (order 4)
|
|
virtual void | sourceEvolution (const double &) |
| Allows to modifiy the source term along time.
|
|
virtual Coord | computeAbsVelocity (const Coord &, const Coord &) |
| Compute the absolute velocity in the fixed coordinate system.
|
|
| Source (int physicalEntity=0) |
| Source constructor depending on integration order and physical entity to apply source.
|
|
virtual | ~Source () |
|
virtual Coord | getOmega () |
|
virtual bool | getRiemannCoupling () |
|
virtual int | getPhysicalEntity () |
|
◆ SourceNumGravity()
SourceNumGravity::SourceNumGravity |
( |
tinyxml2::XMLElement * |
element, |
|
|
int |
order, |
|
|
int |
physicalEntity, |
|
|
std::string |
fileName = "Unknown file" |
|
) |
| |
SourceNumGravity constructor from a XML format reading.
Reading data from XML file under the following format: ex: <gravity x="0." y="-9.81" z="0." / >
- Parameters
-
element | XML element to read for source term |
fileName | string name of readed XML file |
◆ ~SourceNumGravity()
SourceNumGravity::~SourceNumGravity |
( |
| ) |
|
|
virtual |
◆ prepSourceTerms()
void SourceNumGravity::prepSourceTerms |
( |
Cell * |
, |
|
|
const int & |
= 0 |
|
) |
| |
|
virtual |
Source terms preparation for integration.
- Parameters
-
cell | cell for source term integration |
Reimplemented from SourceNum.
◆ m_g
Coord SourceNumGravity::m_g |
|
private |
The documentation for this class was generated from the following files: