22 #ifndef VTKCDEREPORTER_HPP
23 #define VTKCDEREPORTER_HPP
24 #include <LbmLib/include/reportHandler/AbstractReportFunctor.hpp>
25 #include <LbmLib/include/solver/AbstractForceStruct.hpp>
40 class AbstractForceStruct;
41 typedef std::shared_ptr< AbstractForceStruct> shptr_forcestruct;
42 typedef std::vector< shptr_forcestruct > vec_shptr_forcestruct;
43 typedef std::map< unsigned int, vec_shptr_forcestruct > map_forcestruct;
46 namespace reportHandler {
60 const std::vector<std::vector<nodes::PhysicalNode*> >& physicalNodes,
61 const unsigned int cdecoarseningfactor,
62 const std::string& filename
64 : physicalNodes_(physicalNodes),
65 cdecoarseningfactor_(cdecoarseningfactor),
72 virtual void operator()(
unsigned int time)
const;
78 const std::vector<std::vector<nodes::PhysicalNode*> >& physicalNodes_;
82 const unsigned int cdecoarseningfactor_;
86 #endif // VTKCDEREPORTER_HPP
virtual void operator()(unsigned int time) const
operator() Writes the report
vtkCDEReporter(const std::vector< std::vector< nodes::PhysicalNode * > > &physicalNodes, const unsigned int cdecoarseningfactor, const std::string &filename)
vtkCDEReporter The constructor.
The vtkCDEReporter class This class dumps the CDE fields in .vtm vtk format.
the abstract reporter functor inherit from this for your reporters