27 lines
496 B
C++
27 lines
496 B
C++
#pragma once
|
|
|
|
#include "fesa/core/ModelTypes.hpp"
|
|
#include "fesa/load/Load.hpp"
|
|
|
|
namespace fesa::load {
|
|
|
|
using fesa::core::Dof;
|
|
using fesa::core::NodeId;
|
|
|
|
class NodalLoad final : public Load {
|
|
public:
|
|
NodalLoad(NodeId node_id, Dof dof, double value);
|
|
|
|
LoadKind 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::load
|