22 #ifndef VTKFORCEREPORTER_HPP
23 #define VTKFORCEREPORTER_HPP
25 #include <LbmLib/include/reportHandler/AbstractReportFunctor.hpp>
26 #include <LbmLib/include/nodes/GeometryNode.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;
47 namespace reportHandler {
61 const std::map<
unsigned int, std::shared_ptr<LbmLib::nodes::GeometryNode> >& geometryNodes,
63 const std::string& filename)
64 : geometryNodes_(geometryNodes),
65 forcesolver_(forcesolver),
72 virtual void operator()(
unsigned int time)
const;
82 const std::map<unsigned int, std::shared_ptr<LbmLib::nodes::GeometryNode> >& geometryNodes_;
86 #endif // VTKFORCEREPORTER_HPP
The vtkForceReporter class This class dumps the cell forces in .vtm vtk format.
vtkForceReporter(const std::map< unsigned int, std::shared_ptr< LbmLib::nodes::GeometryNode > > &geometryNodes, const solver::ForceSolver &forcesolver, const std::string &filename)
vtkForceReporter The constructor.
virtual void operator()(unsigned int time) const
operator() Writes the report
the abstract reporter functor inherit from this for your reporters