Public Member Functions | List of all members
ConditionActionSequence2::Action2 Class Referenceabstract

Action taken to calculate flux. More...

#include <condition_action_sequence_2.hpp>

Inheritance diagram for ConditionActionSequence2::Action2:
Inheritance graph
[legend]

Public Member Functions

virtual 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 =0
 Calculates flux. More...
 
virtual void Reset (void) const
 Return instance to initial state.
 

Detailed Description

Action taken to calculate flux.

Definition at line 14 of file condition_action_sequence_2.hpp.

Member Function Documentation

◆ operator()()

virtual void ConditionActionSequence2::Action2::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
pure 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

Implemented in LagrangianFlux, Ratchet, RigidWallFlux2, and RegularFlux2.


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