ProcessLib::OutputFormat Struct Referenceabstract

Detailed Description

Definition at line 23 of file OutputFormat.h.

#include <OutputFormat.h>

Inheritance diagram for ProcessLib::OutputFormat:

Public Member Functions

 OutputFormat (std::string const &directory, std::string prefix, std::string suffix, bool const compression)
virtual ~OutputFormat ()=default
 OutputFormat (OutputFormat const &other)=delete
 OutputFormat (OutputFormat &&other)=default
OutputFormatoperator= (OutputFormat &other)=delete
OutputFormatoperator= (OutputFormat &&other)=default
virtual void outputMeshes (const int timestep, const double t, const int iteration, std::vector< std::reference_wrapper< const MeshLib::Mesh > > const &meshes, std::set< std::string > const &output_variables) const =0
virtual std::string constructFilename (std::string const &mesh_name, int const timestep, double const t, int const iteration) const =0

Public Attributes

std::string directory
std::string prefix
std::string suffix
bool compression
 Enables or disables zlib-compression of the output files.

Constructor & Destructor Documentation

◆ OutputFormat() [1/3]

ProcessLib::OutputFormat::OutputFormat ( std::string const &  directory,
std::string  prefix,
std::string  suffix,
bool const  compression 

Definition at line 83 of file OutputFormat.cpp.

86 prefix(std::move(prefix)),
87 suffix(std::move(suffix)),
bool compression
Enables or disables zlib-compression of the output files.
Definition: OutputFormat.h:38

◆ ~OutputFormat()

virtual ProcessLib::OutputFormat::~OutputFormat ( )

◆ OutputFormat() [2/3]

ProcessLib::OutputFormat::OutputFormat ( OutputFormat const &  other)

◆ OutputFormat() [3/3]

ProcessLib::OutputFormat::OutputFormat ( OutputFormat &&  other)

Member Function Documentation

◆ constructFilename()

virtual std::string ProcessLib::OutputFormat::constructFilename ( std::string const &  mesh_name,
int const  timestep,
double const  t,
int const  iteration 
) const
pure virtual

◆ operator=() [1/2]

OutputFormat & ProcessLib::OutputFormat::operator= ( OutputFormat &&  other)

◆ operator=() [2/2]

OutputFormat & ProcessLib::OutputFormat::operator= ( OutputFormat other)

◆ outputMeshes()

virtual void ProcessLib::OutputFormat::outputMeshes ( const int  timestep,
const double  t,
const int  iteration,
std::vector< std::reference_wrapper< const MeshLib::Mesh > > const &  meshes,
std::set< std::string > const &  output_variables 
) const
pure virtual

Member Data Documentation

◆ compression

bool ProcessLib::OutputFormat::compression

Enables or disables zlib-compression of the output files.

Definition at line 38 of file OutputFormat.h.

Referenced by ProcessLib::operator<<(), ProcessLib::outputMeshVtk(), and ProcessLib::OutputXDMFHDF5Format::outputMeshXdmf().

◆ directory

◆ prefix

◆ suffix

std::string ProcessLib::OutputFormat::suffix

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