Abstract class for source terms.
More...
#include <Source.h>
Inherited by SourceExact, and SourceNum.
Abstract class for source terms.
◆ Source()
Source::Source |
( |
int |
physicalEntity = 0 | ) |
|
Source constructor depending on integration order and physical entity to apply source.
- Parameters
-
physicalEntity | the entity to which the source term is applied (default whole domain) |
◆ ~Source()
◆ computeAbsVelocity()
Compute the absolute velocity in the fixed coordinate system.
- Parameters
-
relVelocity | velocity in the moving coordinate system |
position | position vector in the fixed coordinate system |
Reimplemented in SourceNum, and SourceNumMRF.
◆ getOmega()
virtual Coord Source::getOmega |
( |
| ) |
|
|
inlinevirtual |
◆ getPhysicalEntity()
virtual int Source::getPhysicalEntity |
( |
| ) |
|
|
inlinevirtual |
◆ getRiemannCoupling()
virtual bool Source::getRiemannCoupling |
( |
| ) |
|
|
inlinevirtual |
◆ integrateSourceTerms()
virtual void Source::integrateSourceTerms |
( |
Cell * |
, |
|
|
const double & |
|
|
) |
| |
|
inlinevirtual |
Source terms integration on conservative quantities.
- Parameters
-
cell | cell for source term integration |
dt | integration time step |
Reimplemented in SourceExact, and SourceNum.
◆ prepSourceTerms()
virtual void Source::prepSourceTerms |
( |
Cell * |
, |
|
|
const int & |
= 0 |
|
) |
| |
|
inlinevirtual |
◆ sourceEvolution()
virtual void Source::sourceEvolution |
( |
const double & |
| ) |
|
|
inlinevirtual |
Allows to modifiy the source term along time.
- Parameters
-
time | physical time of the computation |
Reimplemented in SourceNum, and SourceNumMRF.
◆ m_physicalEntity
int Source::m_physicalEntity |
|
protected |
The documentation for this class was generated from the following files:
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Sources/Source.h
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Sources/Source.cpp