feat: implement consistent-mass HHT shell dynamics
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef FESA_RESULTS_DYNAMIC_RESULTS_WRITER_H_
|
||||
#define FESA_RESULTS_DYNAMIC_RESULTS_WRITER_H_
|
||||
|
||||
#include <filesystem>
|
||||
#include <vector>
|
||||
|
||||
#include "fesa/analysis/dynamic_analysis_state.h"
|
||||
#include "fesa/core/diagnostic.h"
|
||||
#include "fesa/core/status.h"
|
||||
|
||||
namespace fesa {
|
||||
|
||||
class Domain;
|
||||
|
||||
/// @brief Writes complete HHT dynamic results to their official output file.
|
||||
class DynamicResultsWriter {
|
||||
public:
|
||||
virtual ~DynamicResultsWriter() = default;
|
||||
|
||||
/// @brief Persists every accepted dynamic frame and diagnostic atomically.
|
||||
virtual Status Write(const std::filesystem::path& output_path,
|
||||
const Domain& domain, const DynamicAnalysisState& state,
|
||||
const std::vector<Diagnostic>& diagnostics) = 0;
|
||||
};
|
||||
|
||||
} // namespace fesa
|
||||
|
||||
#endif // FESA_RESULTS_DYNAMIC_RESULTS_WRITER_H_
|
||||
Reference in New Issue
Block a user