From 7d823e048c85491b5259b45af458863eeac1db54 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 7 Dec 2023 09:16:23 -0500 Subject: [PATCH] feat(Mf6Splitter): preserve MFSimulation version & exe_name --- flopy/mf6/utils/model_splitter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flopy/mf6/utils/model_splitter.py b/flopy/mf6/utils/model_splitter.py index c5eafd46ae..fc8f8c0e5a 100644 --- a/flopy/mf6/utils/model_splitter.py +++ b/flopy/mf6/utils/model_splitter.py @@ -3262,7 +3262,9 @@ def split_model(self, array): self._remap_nodes(array) if self._new_sim is None: - self._new_sim = modflow.MFSimulation() + self._new_sim = modflow.MFSimulation( + version=self._sim.version, exe_name=self._sim.exe_name + ) self._create_sln_tdis() nam_options = {}