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
2f072df5
Commit
2f072df5
authored
Feb 24, 2021
by
Kirill Terekhov
Browse files
Fix Mesh::SynchronizeMarker function
parent
d3e285a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Mesh/parallel.cpp
View file @
2f072df5
...
@@ -708,6 +708,7 @@ namespace INMOST
...
@@ -708,6 +708,7 @@ namespace INMOST
break
;
break
;
case
SYNC_BIT_OR
:
case
SYNC_BIT_OR
:
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerOR
);
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerOR
);
ExchangeData
(
t
,
mask
,
0
);
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
{
{
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
)
)
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
)
)
...
@@ -718,6 +719,7 @@ namespace INMOST
...
@@ -718,6 +719,7 @@ namespace INMOST
break
;
break
;
case
SYNC_BIT_AND
:
case
SYNC_BIT_AND
:
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerAND
);
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerAND
);
ExchangeData
(
t
,
mask
,
0
);
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
{
{
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
))
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
))
...
@@ -728,6 +730,7 @@ namespace INMOST
...
@@ -728,6 +730,7 @@ namespace INMOST
break
;
break
;
case
SYNC_BIT_XOR
:
case
SYNC_BIT_XOR
:
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerXOR
);
ReduceData
(
t
,
mask
,
0
,
UnpackSyncMarkerXOR
);
ExchangeData
(
t
,
mask
,
0
);
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
for
(
Mesh
::
iteratorElement
it
=
BeginElement
(
mask
);
it
!=
EndElement
();
++
it
)
{
{
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
))
if
(
it
->
GetStatus
()
&
(
Element
::
Ghost
|
Element
::
Shared
))
...
...
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