19 lines
369 B
C++
19 lines
369 B
C++
#pragma once
|
|
|
|
#include <fesa/core/ids.hpp>
|
|
#include <fesa/model/boundary_condition.hpp>
|
|
|
|
namespace fesa::fem {
|
|
|
|
struct DofKey {
|
|
core::NodeId node_id;
|
|
model::DofComponent component;
|
|
};
|
|
|
|
inline bool operator==(const DofKey& lhs, const DofKey& rhs)
|
|
{
|
|
return lhs.node_id.value == rhs.node_id.value && lhs.component == rhs.component;
|
|
}
|
|
|
|
} // namespace fesa::fem
|