ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
Relaxation Class Reference

Abstract class for Relaxations. More...

#include <Relaxation.h>

Inherited by RelaxationP, RelaxationPT, and RelaxationPTMu.

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)
 

Detailed Description

Abstract class for Relaxations.

Constructor & Destructor Documentation

◆ Relaxation()

Relaxation::Relaxation ( )

◆ ~Relaxation()

Relaxation::~Relaxation ( )
virtual

Member Function Documentation

◆ getType()

virtual int Relaxation::getType ( ) const
inlinevirtual

Return the type of the corresponding relaxation method.

Reimplemented in RelaxationP, RelaxationPT, and RelaxationPTMu.

◆ initializeCriticalPressure()

virtual void Relaxation::initializeCriticalPressure ( Cell )
inlinevirtual

Initialize the theoritical critical pressure of the fluid (only required for PTMu relax)

Parameters
cellcell to get the eos
numberPhasesnumber of phases

Reimplemented in RelaxationPTMu.

◆ relaxation()

virtual void Relaxation::relaxation ( Cell ,
const double &  ,
Prim  = vecPhases 
)
inlinevirtual

Stiff relaxation methods.

Call for this method computes the one of the stiff relaxation methods.

Parameters
cellcell to relax
dttime step
typeenumeration allowing to relax either state in the cell or second order half time step state

Reimplemented in RelaxationPInfinite, RelaxationPT, RelaxationPTMu, and RelaxationPFinite.


The documentation for this class was generated from the following files: