22 #ifndef DENSITYREPORTER_HPP
23 #define DENSITYREPORTER_HPP
24 #include <LbmLib/include/reportHandler/AbstractReportFunctor.hpp>
31 namespace reportHandler {
45 const std::vector<std::vector<nodes::PhysicalNode*> >&
47 const std::string& filename,
48 const std::string& solverName =
"")
50 physicalNodes_(physicalNodes),
51 solverName_(solverName) {}
57 virtual void operator()(
unsigned int time)
const;
63 const std::vector<std::vector<nodes::PhysicalNode*> >& physicalNodes_;
67 const std::string solverName_;
71 #endif // DENSITYREPORTER_HPP
virtual void operator()(unsigned int time) const
operator() Writes the report
The DensityReporter class This class reports the density of a solver. The dump look as if: xPos yPos ...
DensityReporter(const std::vector< std::vector< nodes::PhysicalNode * > > &physicalNodes, const std::string &filename, const std::string &solverName="")
DensityReporter The constructor.
the abstract reporter functor inherit from this for your reporters