#ifndef FESA_IO_HDF5_HDF5_SELF_CHECK_H_ #define FESA_IO_HDF5_HDF5_SELF_CHECK_H_ #include #include #include "fesa/analysis/analysis_state.h" #include "fesa/analysis/nonlinear_analysis_state.h" #include "fesa/core/status.h" #include "fesa/model/domain.h" #include "io/hdf5/hdf5_primitives.h" namespace fesa::hdf5_internal { /// @brief Reopens and validates the complete closed schema-v0 candidate. Status SelfCheck(const std::filesystem::path& path, const Domain& domain, const AnalysisState& state, std::size_t diagnostic_count, const WriterModelData& model_data, herr_t (*close_reader)(hid_t) = H5Fclose); /// @brief Reopens and validates the complete closed schema-v1 candidate. Status NonlinearSelfCheck(const std::filesystem::path& path, const Domain& domain, const NonlinearAnalysisState& state, std::size_t diagnostic_count, herr_t (*close_reader)(hid_t) = H5Fclose); } // namespace fesa::hdf5_internal #endif // FESA_IO_HDF5_HDF5_SELF_CHECK_H_