spatial_reconstruction.hpp
Go to the documentation of this file.
1 
6 #ifndef SPATIAL_RECONSTRUCTION_HPP
7 #define SPATIAL_RECONSTRUCTION_HPP 1
8 
9 #include "../common/hydrodynamic_variables.hpp"
10 #include "../../tessellation/tessellation.hpp"
11 #include "computational_cell_2d.hpp"
12 #include "cache_data.hpp"
13 
14 using std::pair;
15 
20 Vector2D CalcCentroid(Edge const& edge);
21 
26 {
27 public:
28 
37  virtual void
38  operator()
39  (const Tessellation& tess,
40  const vector<ComputationalCell>& cells,
41  double time, vector<pair<ComputationalCell, ComputationalCell> > &res,
42  TracerStickerNames const& tracerstickersnames,CacheData const& cd) const = 0;
43 
44  virtual ~SpatialReconstruction(void);
45 };
46 
47 #endif // SPATIAL_RECONSTRUCTION_HPP
Spatial reconstruction of the primitive functions.
Abstract class for tessellation.
Interface between two cells.
Definition: Edge.hpp:13
Container for cache data.
Definition: cache_data.hpp:14
Class for keeping the names of the tracers and stickers.
Geometrical cache data for optimisation.
2D Mathematical vector
Definition: geometry.hpp:15
Vector2D CalcCentroid(Edge const &edge)
Calculates the central point of the edge.