BC, Geometry: Add safety condition to value computation.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-10-07 14:08:28 +02:00
1 parent 1c89b7fb1b
commit e842fef434
4 files changed
+39 -1

No files matched your search

@@ -44,3 +44,12 @@ class BCETranslate(BCTranslate):
"z": self._dict["unit_elevation"],
"solid": _translate("BoundaryCondition", "Solid (kg/s)"),
}
self._dict["title_need_geometry"] = _translate(
"Geometry", "No geometry"
)
self._dict["msg_need_geometry"] = _translate(
"Geometry",
"There is not geometry found for this reach, "
"a geometry is needed to this features"
)