feat(abaqus-subset-completion): step 2 — single-instance-semantic-validation
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <fesa/core/diagnostic.hpp>
|
||||
#include <fesa/io/abaqus/deck_record.hpp>
|
||||
|
||||
namespace fesa {
|
||||
|
||||
struct ActiveInputView final {
|
||||
bool flat = true;
|
||||
std::string part_name;
|
||||
std::string instance_name;
|
||||
std::span<const DeckRecord> part_records;
|
||||
std::span<const DeckRecord> assembly_records;
|
||||
};
|
||||
|
||||
struct ActiveInputResult final {
|
||||
std::optional<ActiveInputView> input;
|
||||
std::vector<Diagnostic> diagnostics;
|
||||
};
|
||||
|
||||
[[nodiscard]] ActiveInputResult select_active_input(const ParsedDeck& deck);
|
||||
|
||||
} // namespace fesa
|
||||
Reference in New Issue
Block a user