ConstantPrimitiveGenerator.hpp
Go to the documentation of this file.
1 
6 #ifndef CONSTANT_PRIMITIVE_GENERATOR_HPP
7 #define CONSTANT_PRIMITIVE_GENERATOR_HPP 1
8 
9 #include "../GhostPointGenerator.hpp"
10 
15 {
16 private:
17  ComputationalCell cell_;
18 public:
23  explicit ConstantPrimitiveGenerator(ComputationalCell const& cell);
24 
25  boost::container::flat_map<size_t, ComputationalCell> operator() (const Tessellation& tess,
26  const vector<ComputationalCell>& cells, double time,TracerStickerNames const&
27  tracerstickernames) const;
28 
29  Slope GetGhostGradient(const Tessellation& tess,const vector<ComputationalCell>& cells,const vector<Slope>& gradients,
30  size_t ghost_index, double time, const Edge& edge,TracerStickerNames const& tracerstickernames)const;
31 };
32 
33 #endif // CONSTANT_PRIMITIVE__GENERATOR_HPP
Class for creating computational cells of ghost points for free flow.
Abstract class for tessellation.
Interface between two cells.
Definition: Edge.hpp:13
Class for spatial interpolations.
Slope GetGhostGradient(const Tessellation &tess, const vector< ComputationalCell > &cells, const vector< Slope > &gradients, size_t ghost_index, double time, const Edge &edge, TracerStickerNames const &tracerstickernames) const
Calculates the gradients for the ghost cells.
Abstract class for creating ghost points.
Class for keeping the names of the tracers and stickers.
ConstantPrimitiveGenerator(ComputationalCell const &cell)
Class constructor.
boost::container::flat_map< size_t, ComputationalCell > operator()(const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const
Calculates the ghost points.
Computational cell.