feat: add analysis model objects

This commit is contained in:
김경종
2026-06-09 09:04:21 +09:00
parent fdeac602f4
commit 8f24213ab7
44 changed files with 1893 additions and 0 deletions
@@ -0,0 +1,16 @@
#pragma once
namespace fesa::boundary {
enum class BoundaryConditionKind {
SinglePointConstraint
};
class BoundaryCondition {
public:
virtual ~BoundaryCondition() = default;
virtual BoundaryConditionKind kind() const noexcept = 0;
};
} // namespace fesa::boundary
@@ -0,0 +1,26 @@
#pragma once
#include "fesa/boundary/BoundaryCondition.hpp"
#include "fesa/core/ModelTypes.hpp"
namespace fesa::boundary {
using fesa::core::Dof;
using fesa::core::NodeId;
class SinglePointConstraint final : public BoundaryCondition {
public:
SinglePointConstraint(NodeId node_id, Dof dof, double value);
BoundaryConditionKind kind() const noexcept override;
NodeId nodeId() const noexcept;
Dof dof() const noexcept;
double value() const noexcept;
private:
NodeId node_id_;
Dof dof_;
double value_;
};
} // namespace fesa::boundary