22 #ifndef VTKCELLREPORTER_HPP
23 #define VTKCELLREPORTER_HPP
25 #include <LbmLib/include/reportHandler/AbstractReportFunctor.hpp>
26 #include <LbmLib/include/nodes/GeometryNode.hpp>
42 class AbstractForceStruct;
43 typedef std::shared_ptr< AbstractForceStruct> shptr_forcestruct;
44 typedef std::vector< shptr_forcestruct > vec_shptr_forcestruct;
45 typedef std::map< unsigned int, vec_shptr_forcestruct > map_forcestruct;
48 namespace reportHandler {
61 const std::vector<std::shared_ptr<geometry::Connection> >& connections,
62 const std::map<unsigned int,unsigned int>& celltypetrackermap,
63 const std::string& filename)
64 : connections_(connections),
65 cellTypeTrackerMap_(celltypetrackermap),
72 virtual void operator()(
unsigned int time)
const;
78 const std::vector<std::shared_ptr<geometry::Connection> >& connections_;
83 const std::map<unsigned int,unsigned int>& cellTypeTrackerMap_;
87 #endif // VTKCELLREPORTER_HPP
The vtkCellReporter class This class dumps the cell boundaries, cell attributes and cell forces in ...
virtual void operator()(unsigned int time) const
operator() Writes the report
the abstract reporter functor inherit from this for your reporters
vtkCellReporter(const std::vector< std::shared_ptr< geometry::Connection > > &connections, const std::map< unsigned int, unsigned int > &celltypetrackermap, const std::string &filename)
vtkCellReporter The constructor.