Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jussi Enkovaara
MPI
Commits
5254dd23
Commit
5254dd23
authored
Jun 30, 2018
by
Jussi Enkovaara
Browse files
Small clean up of the code
parent
5ed9bb3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
heat-equation/c/setup.c
View file @
5254dd23
...
@@ -273,10 +273,10 @@ void parallel_setup(parallel_data *parallel, int nx, int ny)
...
@@ -273,10 +273,10 @@ void parallel_setup(parallel_data *parallel, int nx, int ny)
offsets
[
0
]
=
1
;
offsets
[
0
]
=
1
;
offsets
[
1
]
=
1
;
offsets
[
1
]
=
1
;
if
(
coords
[
0
]
==
0
)
{
if
(
coords
[
0
]
==
0
)
{
offsets
[
0
]
-
=
1
;
offsets
[
0
]
=
0
;
}
}
if
(
coords
[
1
]
==
0
)
{
if
(
coords
[
1
]
==
0
)
{
offsets
[
1
]
-
=
1
;
offsets
[
1
]
=
0
;
}
}
MPI_Type_create_subarray
(
2
,
sizes
,
subsizes
,
offsets
,
MPI_ORDER_C
,
MPI_Type_create_subarray
(
2
,
sizes
,
subsizes
,
offsets
,
MPI_ORDER_C
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment