Skip to content

Commit cf537a8

Browse files
committed
set boundary points when setting up nest
1 parent a06c568 commit cf537a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dnora/modelrun/modelrun.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# Import objects
1111
from dnora.grid import Grid, TriGrid
12+
from dnora.grid.mask import Edges
1213

1314
from dnora.file_module import FileNames
1415

@@ -752,6 +753,9 @@ def set_nested_grid(self, grid: Grid) -> None:
752753
self.nest(get_dict=True)[grid.name],
753754
f"Setting up a nested run {grid.name} inside {self.grid().name}...",
754755
)
756+
self.nest(get_dict=True)[grid.name].grid().set_boundary_points(
757+
Edges(edges=["N", "W", "S", "E"])
758+
)
755759
self.nest(get_dict=True)[grid.name]._parent = self
756760

757761
def nest(self, get_dict: bool = False) -> ModelRun:

0 commit comments

Comments
 (0)