Respect sink enabled flag for boundary ghost outflow
This commit is contained in:
@@ -800,6 +800,13 @@ namespace FloodSWE.Networking
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!TryResolveBoundaryProfile("sink", boundaryId, out SweBoundaryProfile sinkProfile) ||
|
||||
sinkProfile == null ||
|
||||
!sinkProfile.enabled)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
boundarySinkIdsWithGhostOutflow.Add(boundaryId);
|
||||
int[] cells = pair.Value;
|
||||
if (cells == null || cells.Length == 0)
|
||||
|
||||
Reference in New Issue
Block a user