feat: add thermal dof mapping

This commit is contained in:
KOKO\Mimi
2026-09-29 18:59:04 +09:00
parent 878a71bd96
commit e71f3ad9ac
4 changed files with 313 additions and 0 deletions
@@ -0,0 +1,22 @@
#ifndef FESA_ELEMENTS_THERMAL_ELEMENT_LAYOUT_H_
#define FESA_ELEMENTS_THERMAL_ELEMENT_LAYOUT_H_
#include <array>
#include "fesa/model/model_types.h"
namespace fesa {
/// @brief Declares the fixed node-major DS4 thermal scatter identity.
struct ThermalElementDofLayout {
SourceEntityId source_id;
std::array<EntityIndex, 4> node_indices;
std::array<ThermalDofComponent, 5> components{
{ThermalDofComponent::kBottom, ThermalDofComponent::kLower,
ThermalDofComponent::kMiddle, ThermalDofComponent::kUpper,
ThermalDofComponent::kTop}};
};
} // namespace fesa
#endif // FESA_ELEMENTS_THERMAL_ELEMENT_LAYOUT_H_