feat: add analysis model objects
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user