Skip to content

Commit 99ae8e8

Browse files
committed
Update mulgrid get_layermesh() for layermesh changes
1 parent 5f4cad6 commit 99ae8e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mulgrids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3544,9 +3544,9 @@ def get_layermesh(self):
35443544

35453545
for i, mul_col in enumerate(self.columnlist):
35463546
nodes = [node_dict[mul_node.name] for mul_node in mul_col.node]
3547-
lm_col = lm.column(node = nodes, index = i)
3547+
lm_col = lm.column(node = nodes, index = i, layer = m.layer)
35483548
m.add_column(lm_col)
3549-
lm_col.set_surface(m.layer, mul_col.surface)
3549+
lm_col.set_surface(mul_col.surface)
35503550

35513551
m.setup()
35523552
return m

0 commit comments

Comments
 (0)