#include <deal.II/base/hdf5.h>
This class implements an HDF5 File
- Author
- Daniel Garcia-Sanchez, 2018, 2019.
Definition at line 1037 of file hdf5.h.
◆ FileAccessMode
File access mode
Enumerator |
---|
open | Read/write, file must exist
|
create | Create file, truncate if exists
|
Definition at line 1043 of file hdf5.h.
◆ File() [1/3]
HDF5::File::File |
( |
const std::string & |
name, |
|
|
const FileAccessMode |
mode |
|
) |
| |
Creates or opens an HDF5 file for serial operations. This call does not require MPI support. It creates or opens an HDF5 file depending on the value of mode
.
Definition at line 1391 of file hdf5.cc.
◆ File() [2/3]
HDF5::File::File |
( |
const std::string & |
name, |
|
|
const FileAccessMode |
mode, |
|
|
const MPI_Comm |
mpi_communicator |
|
) |
| |
Creates or opens an HDF5 file in parallel using MPI. This requires that deal.II and HDF5 were compiled with MPI support. It creates or opens a HDF5 file depending on the value of mode
. mpi_communicator
defines the processes that participate in this call; MPI_COMM_WORLD
is a common value for the MPI communicator.
Definition at line 1405 of file hdf5.cc.
◆ File() [3/3]
HDF5::File::File |
( |
const std::string & |
name, |
|
|
const FileAccessMode |
mode, |
|
|
const bool |
mpi, |
|
|
const MPI_Comm |
mpi_communicator |
|
) |
| |
|
private |
Delegation internal constructor. File(const std::string &, const MPI_Comm, const Mode); and File(const std::string &, const Mode) should be used to open or create HDF5 files.
Definition at line 1413 of file hdf5.cc.
The documentation for this class was generated from the following files: