GEOSX
|
#include <TimeHistHDF.hpp>
Public Member Functions | |
HDFFile (string const &fnm, bool deleteExisting, bool parallelAccess, MPI_Comm comm) | |
Constructor – this creates/opens the target file for read/write. More... | |
~HDFFile () | |
virtual | operator hid_t () final |
Get the HDF hid_t file identifier. More... | |
Public Member Functions inherited from geosx::HDFTarget | |
virtual bool | CheckInTarget (const string &name) |
Whether a dataset/group with the specified name exists in the target. More... | |
A class used to control access to an HDF file target.
Definition at line 68 of file TimeHistHDF.hpp.
geosx::HDFFile::HDFFile | ( | string const & | fnm, |
bool | deleteExisting, | ||
bool | parallelAccess, | ||
MPI_Comm | comm | ||
) |
Constructor – this creates/opens the target file for read/write.
fnm | The filename. |
deleteExisting | Whether to remove/recreate if a file with the same name exists. |
parallelAccess | Whether to access one file in parallel or one file per rank in the comm. |
comm | An MPI communicator where each rank in the communicator will be accesing the target file. |
geosx::HDFFile::~HDFFile | ( | ) |
Destructor – Close the file and acccessors.
|
inlinefinalvirtual |
Get the HDF hid_t file identifier.
Reimplemented from geosx::HDFTarget.
Definition at line 89 of file TimeHistHDF.hpp.