20 #include <boost/property_tree/ptree.hpp> 57 const boost::property_tree::ptree& attributes);
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
std::map< std::string, boost::property_tree::ptree > attributesMap
Definition: Writer.hpp:60
virtual void finalize(const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation)
This method should be called at the end of the simulation.
Definition: Writer.hpp:49
virtual void write(const volume::Volume &conservedVariables, const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation)=0
write writes the data to disk
const grid::Grid & grid
Definition: NumericalFluxFactory.cpp:104
The Writer class is an abstract interface to represent output writers.
Definition: Writer.hpp:28
static std::string getClassName()
Definition: Writer.hpp:30
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
virtual ~Writer()
Definition: Writer.hpp:34
alsfvm::shared_ptr< Writer > WriterPointer
Definition: Writer.hpp:64
void addAttributes(const std::string &nameOfAttributes, const boost::property_tree::ptree &attributes)
Definition: Writer.cpp:22