flux_calculator_2d.hpp
Go to the documentation of this file.
1 
6 #ifndef FLUX_CALCULATOR_HPP
7 #define FLUX_CALCULATOR_HPP 1
8 
9 #include <vector>
10 #include "extensive.hpp"
11 #include "../../tessellation/tessellation.hpp"
12 #include "computational_cell_2d.hpp"
13 #include "../common/equation_of_state.hpp"
14 #include "cache_data.hpp"
15 
16 using std::vector;
17 
20 {
21 public:
22 
35  virtual vector<Extensive> operator()
36  (const Tessellation& tess,
37  const vector<Vector2D>& edge_velocities,
38  const vector<ComputationalCell>& cells,
39  const vector<Extensive>& extensives,
40  const CacheData& cd,
41  const EquationOfState& eos,
42  const double time,
43  const double dt,
44  const TracerStickerNames& tracerstickernames) const = 0;
45 
47  virtual ~FluxCalculator(void);
48 };
49 
50 #endif // FLUX_CALCULATOR_HPP
Abstract class for tessellation.
Extensive variables.
Base class for flux calculator.
Base class for equation of state.
Container for cache data.
Definition: cache_data.hpp:14
Class for keeping the names of the tracers and stickers.
virtual ~FluxCalculator(void)
Class destructor.
Geometrical cache data for optimisation.