#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