Public Member Functions | List of all members
RegularFlux2 Class Reference

Calculates flux between two regular bulk cells. More...

#include <condition_action_sequence_2.hpp>

Inheritance diagram for RegularFlux2:
Inheritance graph
[legend]
Collaboration diagram for RegularFlux2:
Collaboration graph
[legend]

Public Member Functions

 RegularFlux2 (const RiemannSolver &rs)
 Class constructor. More...
 
void operator() (const Edge &edge, const size_t index, const Tessellation &tess, const Vector2D &edge_velocity, const vector< ComputationalCell > &cells, const EquationOfState &eos, const bool aux, const pair< ComputationalCell, ComputationalCell > &edge_values, Extensive &res, double time, TracerStickerNames const &tracerstickernames) const
 Calculates flux. More...
 
- Public Member Functions inherited from ConditionActionSequence2::Action2
virtual void Reset (void) const
 Return instance to initial state.
 

Detailed Description

Calculates flux between two regular bulk cells.

Definition at line 84 of file condition_action_sequence_2.hpp.

Constructor & Destructor Documentation

◆ RegularFlux2()

RegularFlux2::RegularFlux2 ( const RiemannSolver rs)
explicit

Class constructor.

Parameters
rsRiemann solver

Definition at line 142 of file condition_action_sequence_2.cpp.

Member Function Documentation

◆ operator()()

void RegularFlux2::operator() ( const Edge edge,
const size_t  index,
const Tessellation tess,
const Vector2D edge_velocity,
const vector< ComputationalCell > &  cells,
const EquationOfState eos,
const bool  aux,
const pair< ComputationalCell, ComputationalCell > &  edge_values,
Extensive res,
double  time,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Calculates flux.

Parameters
edgeInterface between cells
indexThe index of the edge
tessTessellation
cellsComputational cells
eosEquation of state
auxAuxiliary variable for assymetric problems (true means the relevant cell is on the left side, false mean right)
edge_valuesThe interpolated values at the edge
edge_velocityVelocity of the edges
resThe flux given as output
timeThe time
tracerstickernamesThe names of the tracers and stickers

Implements ConditionActionSequence2::Action2.

Definition at line 161 of file condition_action_sequence_2.cpp.

Here is the call graph for this function:

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