34 lines
649 B
C++
34 lines
649 B
C++
#pragma once
|
|
|
|
#include "fesa/core/ModelTypes.hpp"
|
|
|
|
#include <array>
|
|
|
|
namespace fesa::core {
|
|
|
|
enum class ElementType {
|
|
Mitc4
|
|
};
|
|
|
|
class ElementDefinition {
|
|
public:
|
|
ElementDefinition(
|
|
ElementId id,
|
|
ElementType type,
|
|
std::array<NodeId, 4> connectivity,
|
|
PropertyId property_id);
|
|
|
|
ElementId id() const noexcept;
|
|
ElementType type() const noexcept;
|
|
const std::array<NodeId, 4>& connectivity() const noexcept;
|
|
PropertyId propertyId() const noexcept;
|
|
|
|
private:
|
|
ElementId id_;
|
|
ElementType type_;
|
|
std::array<NodeId, 4> connectivity_;
|
|
PropertyId property_id_;
|
|
};
|
|
|
|
} // namespace fesa::core
|