#ifndef FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_ #define FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_ #include #include #include #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& diagnostics, herr_t (*close_reader)(hid_t) = H5Fclose); } // namespace fesa::hdf5_internal #endif // FESA_IO_HDF5_EIGEN_HDF5_SELF_CHECK_H_