[Richards] Update name for RT fluxes in ODE tests

parent 8738ecfd
......@@ -25,7 +25,7 @@ def evaluate(iniinfo,runtime):
do_flux_rt = iniinfo["richards.fluxReconstruction.enable"]
fe_order = int(iniinfo["richards.numerics.FEorder"])
if do_flux_rt:
flux_rt_key = "flux_RT" + str(fe_order-1)
flux_rt_key = "flux_RT" + str(max(0,fe_order-1))
# get parameter data
param_data = read_yml(iniinfo["richards.parameters.file"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment