A flux scheme that minimises mass transfer between cells. More...
#include <condition_action_sequence_2.hpp>
Classes | |
class | LagrangianCriteria |
Condition on when to apply mass transfer fix. More... | |
Public Member Functions | |
LagrangianFlux (const LagrangianHLLC &rs, const LagrangianHLLC &rs2, LagrangianCriteria const &criteria) | |
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... | |
void | Reset (void) const |
Resets the internal variables. | |
Public Attributes | |
vector< double > | ws_ |
Velocity of the interfaces. | |
vector< double > | edge_vel_ |
Velocity of the edges. | |
vector< bool > | Lag_calc_ |
Was this edge calculated Lagrangialy. | |
A flux scheme that minimises mass transfer between cells.
Definition at line 167 of file condition_action_sequence_2.hpp.
LagrangianFlux::LagrangianFlux | ( | const LagrangianHLLC & | rs, |
const LagrangianHLLC & | rs2, | ||
LagrangianCriteria const & | criteria | ||
) |
Class constructor.
rs | Riemann solver with no mass flux |
rs2 | Riemann solver with mass flux |
criteria | The criteria for calculating mass flux |
Definition at line 282 of file condition_action_sequence_2.cpp.
|
virtual |
Calculates flux.
edge | Interface between cells |
index | The index of the edge |
tess | Tessellation |
cells | Computational cells |
eos | Equation of state |
aux | Auxiliary variable for assymetric problems (true means the relevant cell is on the left side, false mean right) |
edge_values | The interpolated values at the edge |
edge_velocity | Velocity of the edges |
res | The flux given as output |
time | The time |
tracerstickernames | The names of the tracers and stickers |
Implements ConditionActionSequence2::Action2.
Definition at line 299 of file condition_action_sequence_2.cpp.