Apply boundary sink free-outflow on ghost cells

This commit is contained in:
2026-02-11 00:00:33 +01:00
parent 9aa9daee79
commit 736f310118
4 changed files with 170 additions and 8 deletions

View File

@@ -253,6 +253,7 @@ namespace FloodSWE.Networking
public SweBoundaryTileIdRef[] boundary_inflow_ids;
public SweBoundaryTileIdRef[] source_area_ids;
public SweBoundaryTileCellGroup[] boundary_cells;
public SweBoundaryTileCellGroup[] boundary_sink_cells;
public SweBoundaryTileCellGroup[] source_area_cells;
public SweBoundaryTileCellGroup[] sink_cells;
public string source_id_path;
@@ -265,6 +266,7 @@ namespace FloodSWE.Networking
get
{
return (boundary_cells != null && boundary_cells.Length > 0) ||
(boundary_sink_cells != null && boundary_sink_cells.Length > 0) ||
(source_area_cells != null && source_area_cells.Length > 0) ||
(sink_cells != null && sink_cells.Length > 0);
}