Commit 5254dd23 authored by Jussi Enkovaara's avatar Jussi Enkovaara
Browse files

Small clean up of the code

parent 5ed9bb3f
......@@ -273,10 +273,10 @@ void parallel_setup(parallel_data *parallel, int nx, int ny)
offsets[0] = 1;
offsets[1] = 1;
if (coords[0] == 0) {
offsets[0] -= 1;
offsets[0] = 0;
}
if (coords[1] == 0) {
offsets[1] -= 1;
offsets[1] = 0;
}
MPI_Type_create_subarray(2, sizes, subsizes, offsets, MPI_ORDER_C,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment