fix: enforce thermal boundary dof endpoints

This commit is contained in:
KOKO\Mimi
2026-09-29 18:47:23 +09:00
parent 254247efc1
commit 283628ecda
6 changed files with 188 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ Status InvalidThermalDefinition(const SourceLocation& location,
"THERMAL", identity, message}});
}
bool IsThermalDof(const int dof) { return dof >= 11 && dof <= 15; }
bool IsThermalDof(const int dof) { return dof == 11 || dof == 15; }
Status ValidateThermalTargets(
const std::vector<ThermalBoundaryConditionDefinition>& boundaries,