feat(domain-and-input-skeleton): step 0 — semantic-domain-and-origin-types
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <fesa/model/ids.hpp>
|
||||
|
||||
namespace fesa {
|
||||
|
||||
struct PrescribedDof final {
|
||||
NodeId node;
|
||||
std::uint8_t dof;
|
||||
double value;
|
||||
};
|
||||
|
||||
struct NodalLoad final {
|
||||
NodeId node;
|
||||
std::array<double, 6> values;
|
||||
};
|
||||
|
||||
struct StepDefinition final {
|
||||
std::string name;
|
||||
std::vector<PrescribedDof> prescribed_dofs;
|
||||
std::vector<NodalLoad> nodal_loads;
|
||||
};
|
||||
|
||||
} // namespace fesa
|
||||
Reference in New Issue
Block a user