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
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
5a884b91
Commit
5a884b91
authored
Jan 24, 2022
by
incardon
Browse files
Adding operator==
parent
687bd49e
Pipeline
#4189
passed with stages
in 9 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/util/GBoxes.hpp
View file @
5a884b91
...
...
@@ -58,6 +58,15 @@ struct GBoxes
{
return
true
;
}
bool
operator
==
(
const
GBoxes
&
tmp
)
{
bool
is_equal
=
GDbox
==
tmp
.
GDbox
;
is_equal
&=
Dbox
==
tmp
.
Dbox
;
is_equal
&=
origin
==
tmp
.
origin
;
return
is_equal
;
}
};
...
...
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