![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Abstract class for Relaxations. More...
#include <Relaxation.h>
Inherited by RelaxationP, RelaxationPT, RelaxationPTMu, and RelaxationU.
Public Member Functions | |
| Relaxation () | |
| virtual | ~Relaxation () |
| virtual int | getType () const |
| Return the type of the corresponding relaxation method. | |
| virtual void | relaxation (Cell *, const double &, Prim=vecPhases) |
| Stiff relaxation methods. | |
| virtual void | initializeCriticalPressure (Cell *) |
| Initialize the theoritical critical pressure of the fluid (only required for PTMu relax). | |
Abstract class for Relaxations.
| Relaxation::Relaxation | ( | ) |
|
virtual |
|
inlinevirtual |
Return the type of the corresponding relaxation method.
Reimplemented in RelaxationP, RelaxationPT, RelaxationPTMu, and RelaxationU.
|
inlinevirtual |
Initialize the theoritical critical pressure of the fluid (only required for PTMu relax).
| cell | cell to get the eos |
| numberPhases | number of phases |
Reimplemented in RelaxationPTMu.
Stiff relaxation methods.
Call for this method computes the one of the stiff relaxation methods.
| cell | cell to relax |
| dt | time step |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
Reimplemented in RelaxationPFinite, RelaxationPInfinite, RelaxationPT, RelaxationPTMu, and RelaxationU.