48 HdfWriter(std::vector<MeshHdfData>
const& meshes,
49 unsigned long long initial_step,
50 std::filesystem::path
const& filepath,
53 unsigned int n_files);
Collects and holds all metadata for writing HDF5 file.
bool const _use_compression
HdfWriter(std::vector< MeshHdfData > const &meshes, unsigned long long initial_step, std::filesystem::path const &filepath, bool use_compression, bool is_file_manager, unsigned int n_files)
Write file with geometry and topology data. The data itself is held by a structure outside of this cl...
std::filesystem::path const _hdf5_filepath
std::vector< std::unique_ptr< HdfMesh > > _hdf_meshes
bool const _is_file_manager
hid_t const _meshes_group
void writeStep(double time)
Writes attributes. The data itself is hold by a structure outside of this class. The writer assumes t...
std::vector< double > _step_times
std::vector< HdfData > HDFAttributes
HDFAttributes constant_attributes
HDFAttributes variable_attributes