Skip to content

Commit 217d924

Browse files
committed
update
1 parent 1331728 commit 217d924

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ create_cube_mesh(MPI_Comm comm, std::size_t target_dofs, bool target_dofs_total,
180180
MPI_Comm_dup(comm, &sub_comm);
181181

182182
auto cell_part = dolfinx::mesh::create_cell_partitioner(
183-
dolfinx::mesh::GhostMode::none, graph_part);
183+
dolfinx::mesh::GhostMode::none, graph_part, 2);
184184
auto mesh = dolfinx::mesh::create_box(
185185
comm, sub_comm, {{{0.0, 0.0, 0.0}, {1.0, 1.0, 1.0}}}, {Nx, Ny, Nz},
186186
dolfinx::mesh::CellType::tetrahedron, cell_part);

0 commit comments

Comments
 (0)