Wildmeshing Toolkit
|
#include <HDF5Writer.hpp>
Public Member Functions | |
HDF5Writer (const std::filesystem::path &filename) | |
void | write_top_simplex_type (const PrimitiveType type) override |
void | write_absolute_id (const std::vector< int64_t > &id) override |
bool | write (const int) override |
void | write_capacities (const std::vector< int64_t > &capacities) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< char > &val, const char default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< int64_t > &val, const int64_t default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< double > &val, const double default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< Rational > &val, const Rational &default_val) override |
Public Member Functions inherited from wmtk::MeshWriter | |
virtual | ~MeshWriter () |
Private Member Functions | |
std::string | dataset_path () const |
template<typename Data , typename T > | |
void | write_internal (const std::string &name, const int64_t type, const int64_t stride, const Data &val, const T &default_val) |
Private Attributes | |
std::shared_ptr< h5pp::File > | m_hdf5_file |
std::string | m_name |
Additional Inherited Members | |
Protected Attributes inherited from wmtk::MeshWriter | |
int64_t | m_mm_level = 0 |
Definition at line 12 of file HDF5Writer.hpp.
wmtk::HDF5Writer::HDF5Writer | ( | const std::filesystem::path & | filename | ) |
Definition at line 52 of file HDF5Writer.cpp.
References m_hdf5_file.
|
private |
Definition at line 161 of file HDF5Writer.cpp.
References m_name.
Referenced by write_absolute_id(), write_capacities(), write_internal(), and write_top_simplex_type().
|
inlineoverridevirtual |
Implements wmtk::MeshWriter.
Definition at line 20 of file HDF5Writer.hpp.
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 77 of file HDF5Writer.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 67 of file HDF5Writer.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 57 of file HDF5Writer.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 92 of file HDF5Writer.cpp.
References wmtk::Rational::to_binary(), and write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 146 of file HDF5Writer.cpp.
References dataset_path(), m_hdf5_file, wmtk::MeshWriter::m_mm_level, and m_name.
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 118 of file HDF5Writer.cpp.
References dataset_path(), and m_hdf5_file.
|
private |
Definition at line 124 of file HDF5Writer.cpp.
References dataset_path(), and m_hdf5_file.
Referenced by write().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 141 of file HDF5Writer.cpp.
References dataset_path(), and m_hdf5_file.
|
private |
Definition at line 53 of file HDF5Writer.hpp.
Referenced by HDF5Writer(), write_absolute_id(), write_capacities(), write_internal(), and write_top_simplex_type().
|
private |
Definition at line 54 of file HDF5Writer.hpp.
Referenced by dataset_path(), and write_absolute_id().