|
criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
|
A class to describe a uniform background gas. More...
#include <UniformGas.H>
Public Member Functions | |
| UniformGas (const ParmParser &pp) | |
| Construct a uniform gas by reading from input deck. | |
| virtual | ~UniformGas () |
| Virtual destructor – does nothing. | |
| virtual void | frame (const RealVec &x, const Real t, RealVec &v, TNBBasis &tnb) const override |
| Compute the comoving TNB frame for the gas. | |
| virtual GasData | gasData (const RealVec &x, const Real t) const override |
| Return background gas state. | |
Public Member Functions inherited from criptic::gas::Gas | |
| virtual | ~Gas () |
| Empty virtual destructor. | |
| virtual Real | dxGhost () const |
| Size of the ghost region in the gas data. | |
| virtual void | updateState (const Real t, Real &tNext) |
| Update the gas data. | |
Private Attributes | |
| TNBBasis | b |
| GasData | gd |
A class to describe a uniform background gas.
This class represents a uniform background gas. The properties of the gas are read from the input deck.
|
inline |
Construct a uniform gas by reading from input deck.
| pp | criptic::ParmParser containing the input deck |
|
inlinevirtual |
Virtual destructor – does nothing.
|
inlineoverridevirtual |
Compute the comoving TNB frame for the gas.
| x | Position |
| t | Time |
| v | Comoving velocity at specified position and time |
| tnb | The TNBBasis at the specified position and time |
This function computes the comoving TNB frame for the gas at a specified position and time.
Reimplemented from criptic::gas::Gas.
|
inlineoverridevirtual |
Return background gas state.
| x | Position |
| t | Time |
Implements criptic::gas::Gas.
|
private |
TNB basis information
|
private |
Description of the uniform gas state