22 #ifndef VTKFLUIDREPORTER_HPP
23 #define VTKFLUIDREPORTER_HPP
25 #include <LbmLib/include/reportHandler/AbstractReportFunctor.hpp>
26 #include <LbmLib/include/solver/AbstractForceStruct.hpp>
41 class AbstractForceStruct;
42 typedef std::shared_ptr< AbstractForceStruct> shptr_forcestruct;
43 typedef std::vector< shptr_forcestruct > vec_shptr_forcestruct;
44 typedef std::map< unsigned int, vec_shptr_forcestruct > map_forcestruct;
49 namespace reportHandler {
64 const std::vector<std::vector<nodes::PhysicalNode*> >& physicalNodes,
65 const unsigned int cdecoarseningfactor,
66 const std::string& filename)
67 : physicalNodes_(physicalNodes),
68 cdecoarseningfactor_(cdecoarseningfactor),
75 virtual void operator()(
unsigned int time)
const;
81 const std::vector<std::vector<nodes::PhysicalNode*> >& physicalNodes_;
85 const unsigned int cdecoarseningfactor_;
89 #endif // VTKFLUIDREPORTER_HPP
vtkFluidReporter(const std::vector< std::vector< nodes::PhysicalNode * > > &physicalNodes, const unsigned int cdecoarseningfactor, const std::string &filename)
vtkCDEReporter The constructor.
The vtkFluidReporter class This class dumps the fluid field in .vtm vtk format.
virtual void operator()(unsigned int time) const
operator() Writes the report
the abstract reporter functor inherit from this for your reporters