Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/io/PythonScript.hpp>
Public Member Functions | |
PythonScript (const std::string &basename, const Parameters ¶meters, alsutils::mpi::ConfigurationPtr mpiConfigration=nullptr) | |
virtual void | write (const volume::Volume &conservedVariables, const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation) |
write writes the data to disk More... | |
virtual void | finalize (const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation) override |
This method should be called at the end of the simulation. More... | |
![]() | |
virtual | ~Writer () |
void | addAttributes (const std::string &nameOfAttributes, const boost::property_tree::ptree &attributes) |
Additional Inherited Members | |
![]() | |
static std::string | getClassName () |
![]() | |
std::map< std::string, boost::property_tree::ptree > | attributesMap |
Allows you to run a python script on the provided data
Parameters expected:
alsfvm::io::PythonScript::PythonScript | ( | const std::string & | basename, |
const Parameters & | parameters, | ||
alsutils::mpi::ConfigurationPtr | mpiConfigration = nullptr |
||
) |
|
overridevirtual |
This method should be called at the end of the simulation.
Reimplemented from alsfvm::io::Writer.
|
virtual |
write writes the data to disk
conservedVariables | the conservedVariables to write |
grid | the grid that is used (describes the whole domain) |
timestepInformation |
Implements alsfvm::io::Writer.