Files
FESADev/include/fesa/boundary/SinglePointConstraint.hpp
T
2026-06-09 09:04:21 +09:00

27 lines
571 B
C++

#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