Skip to content

Commit

Permalink
Merge pull request #2772 from firedrakeproject/JDBetteridge/extrusion…
Browse files Browse the repository at this point in the history
…_utils_fix

Add comm to Global for extruded mesh
  • Loading branch information
connorjward authored Feb 24, 2023
2 parents ad9e45c + c11a35b commit b195b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/extrusion_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def make_extruded_coords(extruded_topology, base_coords, ext_coords,
layer_height = numpy.cumsum(numpy.concatenate(([0], layer_height)))

layer_heights = layer_height.size
layer_height = op2.Global(layer_heights, layer_height, dtype=RealType)
layer_height = op2.Global(layer_heights, layer_height, dtype=RealType, comm=extruded_topology._comm)

if kernel is not None:
op2.ParLoop(kernel,
Expand Down

0 comments on commit b195b5c

Please sign in to comment.