Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
c780510a
Commit
c780510a
authored
Jan 21, 2015
by
Alexander Danilov
Browse files
FVDiscr: explicitly exchange tensor_K data
Workaround for issue #9
parent
12311436
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/FVDiscr/main.cpp
View file @
c780510a
...
...
@@ -121,7 +121,8 @@ int main(int argc,char ** argv)
cell
->
Real
(
tensor_K
)
=
1.0
;
// Store the tensor K value into the tag
ttt
=
Timer
();
m
->
ExchangeGhost
(
1
,
FACE
);
// Exchange the date (phi and tensor_K) over processes
m
->
ExchangeGhost
(
1
,
FACE
);
m
->
ExchangeData
(
tensor_K
,
CELL
,
0
);
// Exchange the tensor_K data over processors
BARRIER
if
(
m
->
GetProcessorRank
()
==
0
)
std
::
cout
<<
"Exchange ghost: "
<<
Timer
()
-
ttt
<<
std
::
endl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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