28 lines
781 B
C++
28 lines
781 B
C++
#ifndef FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_
|
|
#define FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_
|
|
|
|
#include <hdf5.h>
|
|
|
|
#include <filesystem>
|
|
#include <vector>
|
|
|
|
#include "fesa/analysis/eigen_analysis_state.h"
|
|
#include "fesa/core/status.h"
|
|
#include "fesa/model/domain.h"
|
|
|
|
namespace fesa {
|
|
struct Diagnostic;
|
|
}
|
|
|
|
namespace fesa::hdf5_internal {
|
|
|
|
/// @brief Reopens and validates a closed authoritative eigen HDF5 candidate.
|
|
Status SelfCheckEigenFile(const std::filesystem::path& path,
|
|
const Domain& domain, const EigenAnalysisState& state,
|
|
const std::vector<Diagnostic>& diagnostics,
|
|
herr_t (*close_reader)(hid_t) = H5Fclose);
|
|
|
|
} // namespace fesa::hdf5_internal
|
|
|
|
#endif // FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_
|