#ifndef FESA_IO_HDF5_EIGEN_HDF5_RESULTS_WRITER_H_ #define FESA_IO_HDF5_EIGEN_HDF5_RESULTS_WRITER_H_ #include #include #include "fesa/results/eigen_results_writer.h" namespace fesa { /// @brief Atomically writes validated linear-frequency HDF5 results. class EigenHdf5ResultsWriter final : public EigenResultsWriter { public: /// @brief Serializes an accepted modal state after closed-file self-check. /// @return An output failure when the candidate cannot be validated or /// finalized; an existing final file is then preserved. Status Write(const std::filesystem::path& output_path, const Domain& domain, const EigenAnalysisState& state, const std::vector& diagnostics) override; }; } // namespace fesa #endif // FESA_IO_HDF5_EIGEN_HDF5_RESULTS_WRITER_H_