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

Velocity relaxation. More...

#include <RelaxationU.h>

Inherits Relaxation.

Collaboration diagram for RelaxationU:
[legend]

Public Member Functions

 RelaxationU ()
 ~RelaxationU () override
int getType () const override
 Return the velocity-relaxation type.
void relaxation (Cell *cell, const double &, Prim type=vecPhases) override
 Stiff velocity relaxation methods.
Coord computeInterfaceVelocity (Cell *cell, Prim type=vecPhases)
 Compute interface velocity.
Public Member Functions inherited from Relaxation
 Relaxation ()
virtual ~Relaxation ()
virtual void initializeCriticalPressure (Cell *)
 Initialize the theoritical critical pressure of the fluid (only required for PTMu relax).

Detailed Description

Velocity relaxation.

Constructor & Destructor Documentation

◆ RelaxationU()

RelaxationU::RelaxationU ( )

◆ ~RelaxationU()

RelaxationU::~RelaxationU ( )
override

Member Function Documentation

◆ computeInterfaceVelocity()

Coord RelaxationU::computeInterfaceVelocity ( Cell * cell,
Prim type = vecPhases )

Compute interface velocity.

Call for this method computes the interface velocity in a cell.

Parameters
cellcell
typeenumeration allowing to relax either state in the cell or second order half time step state
Returns
interface velocity
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getType()

int RelaxationU::getType ( ) const
inlineoverridevirtual

Return the velocity-relaxation type.

Reimplemented from Relaxation.

◆ relaxation()

void RelaxationU::relaxation ( Cell * cell,
const double & ,
Prim type = vecPhases )
overridevirtual

Stiff velocity relaxation methods.

Call for this method computes the relaxed velocity state in a given cell.

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

Reimplemented from Relaxation.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Relaxations/RelaxationU.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Relaxations/RelaxationU.cpp