OGS
|
Definition at line 94 of file OutputFormat.h.
#include <OutputFormat.h>
Public Member Functions | |
OutputXDMFHDF5Format (std::string const &directory, std::string prefix, std::string suffix, bool const compression, unsigned int const n_files, unsigned int const chunk_size_bytes) | |
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 override |
std::string | constructFilename (std::string const &mesh_name, int const timestep, double const t, int const iteration) const override |
void | outputMeshXdmf (std::set< std::string > const &output_variables, std::vector< std::reference_wrapper< const MeshLib::Mesh > > const &meshes, int const timestep, double const t, int const iteration) const |
Public Member Functions inherited from ProcessLib::OutputFormat | |
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 | |
OutputFormat & | operator= (OutputFormat &other)=delete |
OutputFormat & | operator= (OutputFormat &&other)=default |
Public Attributes | |
std::unique_ptr< MeshLib::IO::XdmfHdfWriter > | mesh_xdmf_hdf_writer |
unsigned int | n_files |
Specifies the number of hdf5 output files. | |
unsigned int const | chunk_size_bytes |
Specifies the chunks size in bytes per hdf5 output file. | |
Public Attributes inherited from ProcessLib::OutputFormat | |
std::string | directory |
std::string | prefix |
std::string | suffix |
bool | compression |
Enables or disables zlib-compression of the output files. | |
|
inline |
Definition at line 96 of file OutputFormat.h.
|
overridevirtual |
Implements ProcessLib::OutputFormat.
Definition at line 104 of file OutputFormat.cpp.
References BaseLib::constructFormattedFileName(), and ProcessLib::OutputFormat::prefix.
Referenced by outputMeshXdmf().
|
inlineoverridevirtual |
Implements ProcessLib::OutputFormat.
Definition at line 107 of file OutputFormat.h.
References outputMeshXdmf().
void ProcessLib::OutputXDMFHDF5Format::outputMeshXdmf | ( | std::set< std::string > const & | output_variables, |
std::vector< std::reference_wrapper< const MeshLib::Mesh > > const & | meshes, | ||
int const | timestep, | ||
double const | t, | ||
int const | iteration ) const |
Definition at line 113 of file OutputFormat.cpp.
References chunk_size_bytes, ProcessLib::OutputFormat::compression, constructFilename(), ProcessLib::OutputFormat::directory, getName(), BaseLib::joinPaths(), mesh_xdmf_hdf_writer, and n_files.
Referenced by outputMeshes().
unsigned int const ProcessLib::OutputXDMFHDF5Format::chunk_size_bytes |
Specifies the chunks size in bytes per hdf5 output file.
Definition at line 123 of file OutputFormat.h.
Referenced by outputMeshXdmf().
|
mutable |
Definition at line 119 of file OutputFormat.h.
Referenced by outputMeshXdmf().
unsigned int ProcessLib::OutputXDMFHDF5Format::n_files |
Specifies the number of hdf5 output files.
Definition at line 121 of file OutputFormat.h.
Referenced by outputMeshXdmf().