OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
CheckpointHdf5.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 Caleb Buahin
11#pragma once
12#include <hdf5.h>
13
14namespace openswmm::io {
15// Calls serialize with the mesh writer through resultHdf5Mutex().
41hid_t createCheckpointHdf5(const char* path, unsigned flags);
54hid_t openCheckpointHdf5(const char* path, unsigned flags);
67int checkpointHdf5Descriptor(hid_t file);
68}
Definition AtomicOutputFile.hpp:25
hid_t checkpointHdf5Access()
Create access properties using the locked native-descriptor checkpoint VFD.
Definition CheckpointHdf5.cpp:477
hid_t openCheckpointHdf5(const char *path, unsigned flags)
Open a checkpoint-compatible HDF5 result file.
Definition CheckpointHdf5.cpp:502
hid_t createCheckpointHdf5(const char *path, unsigned flags)
Create a checkpoint-compatible HDF5 result file.
Definition CheckpointHdf5.cpp:489
int checkpointHdf5Descriptor(hid_t file)
Borrow the native descriptor of a sec2 or checkpoint-VFD file.
Definition CheckpointHdf5.cpp:515