From d50e646d391e660a8158b91f83b8122c08e34e1d Mon Sep 17 00:00:00 2001 From: Tom Bendall Date: Tue, 25 Jul 2023 11:57:31 +0100 Subject: [PATCH] fix 2D/3D vector recovery... --- gusto/recovery/recovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gusto/recovery/recovery.py b/gusto/recovery/recovery.py index 1ac09884f..122221017 100644 --- a/gusto/recovery/recovery.py +++ b/gusto/recovery/recovery.py @@ -332,7 +332,7 @@ def find_eff_coords(V0): vec_DG1 = VectorFunctionSpace(mesh, DG1_element) x = SpatialCoordinate(mesh) - if isinstance(V0.ufl_element(), VectorElement): + if isinstance(V0.ufl_element(), VectorElement) or V0.ufl_element().value_size() > 1: eff_coords_list = [] V0_coords_list = []