Skip to content

Commit

Permalink
Fix boundary issue when running with mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaillefumier authored and dev-zero committed Jul 1, 2021
1 parent 2eaa699 commit ecd5050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grid/cpu/grid_collocate_dgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ void apply_sphere_cutoff_ortho(struct collocation_integration_ *const handler,
int upper_corner[3] = {k + 1, j + 1, x1 + 1};

compute_interval(map[2], handler->grid.full_size[2],
handler->grid.size[2], xmax - lb_cube[2], x1,
&x, lower_corner + 2, upper_corner + 2, xwindow);
handler->grid.size[2], xmax - lb_cube[2], x1, &x,
lower_corner + 2, upper_corner + 2, xwindow);

if (upper_corner[2] - lower_corner[2]) {
const int position1[3] = {kg, jg - lb_cube[1], x};
Expand Down

0 comments on commit ecd5050

Please sign in to comment.