Skip to content

Commit

Permalink
rename relperm from van Genuchten to water retention model
Browse files Browse the repository at this point in the history
  • Loading branch information
gaobhub authored and ecoon committed Apr 3, 2024
1 parent f92229d commit 4480a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/input_converters/xml-1.4-master.py
Expand Up @@ -321,7 +321,7 @@ def del_lc_params(xml):



def add_rel_perm(xml, relp_option="relative permeability, van Genuchten"):
def add_rel_perm(xml, relp_option="relative permeability, water retention model"):
"""Ensures there is an evaluator for "relative_permeability"
"""
eval_list = asearch.find_path(xml, ["state", "evaluators"], no_skip=True)
Expand All @@ -344,7 +344,7 @@ def add_rel_perm(xml, relp_option="relative permeability, van Genuchten"):
except aerrors.MissingXMLError:
relp_list = eval_list.sublist(relp_name)
relp_list.append(parameter.StringParameter("evaluator type", relp_option))
if relp_option == "relative permeability, van Genuchten":
if relp_option == "relative permeability, water retention model":
relp_list.append(parameter.StringParameter("model parameters", "WRM parameters"))
else:
assert(relp_option == "relative permeability, freezing Brooks-Corey")
Expand Down

0 comments on commit 4480a9e

Please sign in to comment.