Commit cae5d965 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos 🇨🇴

update reference compare in python to use policy keyword for adaptivity

Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <>
parent d94ae397
......@@ -36,7 +36,7 @@ def evaluate(iniinfo,runtime):
print("Operating on files: {}, {}".format(vtks[-1].path,reference))
# demand equal grids when not using adaptivity
strict_compare = iniinfo["adaptivity.useAdaptivity"] == "none"
strict_compare = iniinfo["adaptivity.policy"] == "none"
abstol = float(iniinfo["_abstol"]) if "_abstol" in iniinfo else None
reltol = float(iniinfo["_reltol"]) if "_reltol" in iniinfo else None
ret =, vtkfile_ref.grid,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment