Skip to content

Commit

Permalink
fix 2D/3D vector recovery...
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall committed Jul 25, 2023
1 parent 8dac6c9 commit d50e646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gusto/recovery/recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit d50e646

Please sign in to comment.