Allows matter to flow in only one direction. More...
#include <condition_action_sequence_2.hpp>


Public Member Functions | |
| Ratchet (const RiemannSolver &rs, const bool in) | |
| 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. | |
Allows matter to flow in only one direction.
Definition at line 138 of file condition_action_sequence_2.hpp.
| Ratchet::Ratchet | ( | const RiemannSolver & | rs, |
| const bool | in | ||
| ) |
Class constructor.
| rs | Riemann solver |
| in | If the ratchet allows inflow or outflow |
Definition at line 253 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 262 of file condition_action_sequence_2.cpp.

1.8.13