Skip to content

Commit

Permalink
feat(gwtgwt-mvt): add support for gwt-gwt with mover transport (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
langevin-usgs committed Feb 18, 2022
1 parent e3d15ee commit 8663a34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flopy/mf6/data/mfstructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class DfnType(Enum):
gnc_file = 8
mvr_file = 9
utl = 10
mvt_file = 11
unknown = 999


Expand Down Expand Up @@ -148,6 +149,8 @@ def _file_type(self, file_name):
return DfnType.gnc_file, model_type
elif file_name[3:6] == "mvr":
return DfnType.mvr_file, model_type
elif file_name[3:6] == "mvt":
return DfnType.mvt_file, model_type
else:
return DfnType.model_file, model_type

Expand Down Expand Up @@ -2292,6 +2295,7 @@ def process_dfn(self, dfn_file):
or dfn_file.dfn_type == DfnType.model_name_file
or dfn_file.dfn_type == DfnType.gnc_file
or dfn_file.dfn_type == DfnType.mvr_file
or dfn_file.dfn_type == DfnType.mvt_file
):
model_ver = f"{dfn_file.model_type}{MFStructure(True).get_version_string()}"
if model_ver not in self.model_struct_objs:
Expand All @@ -2303,6 +2307,7 @@ def process_dfn(self, dfn_file):
elif (
dfn_file.dfn_type == DfnType.gnc_file
or dfn_file.dfn_type == DfnType.mvr_file
or dfn_file.dfn_type == DfnType.mvt_file
):
# gnc and mvr files belong both on the simulation and model
# level
Expand Down

0 comments on commit 8663a34

Please sign in to comment.