LBIBCell
 All Classes Functions Variables Friends Pages
LbmLib::reportHandler::DensityReporter Class Reference

The DensityReporter class This class reports the density of a solver. The dump look as if: xPos yPos Density. More...

#include <DensityReporter.hpp>

Inheritance diagram for LbmLib::reportHandler::DensityReporter:
LbmLib::reportHandler::AbstractReportFunctor

Public Member Functions

 DensityReporter (const std::vector< std::vector< nodes::PhysicalNode * > > &physicalNodes, const std::string &filename, const std::string &solverName="")
 DensityReporter The constructor. More...
 
virtual void operator() (unsigned int time) const
 operator() Writes the report More...
 
- Public Member Functions inherited from LbmLib::reportHandler::AbstractReportFunctor
 AbstractReportFunctor (const std::string &filename)
 ReportFunctor The constructor of a reporter functor which takes a name. More...
 
virtual ~AbstractReportFunctor ()
 ~ReportFunctor virtual destructor
 

Additional Inherited Members

- Protected Attributes inherited from LbmLib::reportHandler::AbstractReportFunctor
const std::string filename_
 filename_ Stores the filename of this functor
 

Detailed Description

The DensityReporter class This class reports the density of a solver. The dump look as if: xPos yPos Density.

Definition at line 36 of file DensityReporter.hpp.

Constructor & Destructor Documentation

LbmLib::reportHandler::DensityReporter::DensityReporter ( const std::vector< std::vector< nodes::PhysicalNode * > > &  physicalNodes,
const std::string &  filename,
const std::string &  solverName = "" 
)
inline

DensityReporter The constructor.

Parameters
physicalNodesThe physical nodes
filenameThe filename where the dump is written to
solverNameThe name of the solver. If omitted, the mass density of the fluid solver is taken.

Definition at line 44 of file DensityReporter.hpp.

Member Function Documentation

void LbmLib::reportHandler::DensityReporter::operator() ( unsigned int  time) const
virtual

operator() Writes the report

Parameters
timeThe time step

Implements LbmLib::reportHandler::AbstractReportFunctor.

Definition at line 34 of file DensityReporter.cpp.


The documentation for this class was generated from the following files: