/*! \file FreeFlowGhostGenerator.hpp
\brief Class for creating computationalcells of ghost points for free flow that allows only outflow
\author Elad Steinberg
*/

#ifndef FREEFLOW_GENERATOR_HPP
#define FREEFLOW_GENERATOR_HPP 1

#include "../GhostPointGenerator.hpp"

/*! \brief Class for creating computational cells of ghost points for free flow
\author Elad Steinberg
*/
class FreeFlowGenerator : public GhostPointGenerator
{
public:
	boost::container::flat_map<size_t, ComputationalCell> operator() (const Tessellation& tess,
		const vector<ComputationalCell>& cells, double time) const override;

	Slope GetGhostGradient(const Tessellation& tess,const vector<ComputationalCell>& cells,
		const vector<Slope>& gradients,size_t ghost_index, double time, const Edge& edge) const override;
};

#endif // FREEFLOW_GENERATOR_HPP
