cell_updater_2d.hpp
Go to the documentation of this file.
1 
6 #ifndef CELL_UPDATER_HPP
7 #define CELL_UPDATER_HPP 1
8 
9 #include <vector>
10 #include "computational_cell_2d.hpp"
11 #include "../../tessellation/tessellation.hpp"
12 #include "physical_geometry.hpp"
13 #include "../common/equation_of_state.hpp"
14 #include "extensive.hpp"
15 #include "cache_data.hpp"
16 
17 using std::vector;
18 
21 {
22 public:
23 
34  virtual vector<ComputationalCell> operator()
35  (const Tessellation& tess,
36  const PhysicalGeometry& pg,
37  const EquationOfState& eos,
38  vector<Extensive>& extensives,
39  const vector<ComputationalCell>& old,
40  const CacheData& cd,
41  const TracerStickerNames& tracerstickername,
42  double time) const = 0;
43 
45  virtual ~CellUpdater(void);
46 };
47 
54 double GetVelocity(Extensive const& cell, double G);
55 
56 #endif // CELL_UPDATER_HPP
Extensive variables.
Definition: extensive.hpp:18
Abstract class for tessellation.
Extensive variables.
double GetVelocity(Extensive const &cell, double G)
Calculates velocity from extensive in SR.
Base class for equation of state.
Container for cache data.
Definition: cache_data.hpp:14
virtual ~CellUpdater(void)
Class destructor.
Base class for cell update scheme.
Class for keeping the names of the tracers and stickers.
Physical geometry of the grid.
Geometrical cache data for optimisation.
Base class for physical geometry.