Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
c1c285ad
Commit
c1c285ad
authored
Jun 21, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Latest modules
parent
77da8be4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
openfpm_io
openfpm_io
+1
-1
openfpm_numerics
openfpm_numerics
+1
-1
src/Decomposition/CartDecomposition.hpp
src/Decomposition/CartDecomposition.hpp
+5
-1
src/Decomposition/common.hpp
src/Decomposition/common.hpp
+5
-0
src/Decomposition/tests/CartDecomposition_unit_test.cpp
src/Decomposition/tests/CartDecomposition_unit_test.cpp
+2
-2
No files found.
openfpm_io
@
43c5a58c
Subproject commit
c352e6770565537e0dfa16f1e74eb32db3b9e739
Subproject commit
43c5a58c750a98531b3a76e5740432f7795cfe0a
openfpm_numerics
@
0b425037
Subproject commit
cac8e24cc0d567f7408e64e9f60e40e5fd14829b
Subproject commit
0b425037b139f9c2dbe989da5468eebb215bc623
src/Decomposition/CartDecomposition.hpp
View file @
c1c285ad
...
...
@@ -670,7 +670,7 @@ public:
{
// Get the number of elements in the cell
size_t
e
;
size_t
e
=
-
1
;
size_t
cl
=
fine_s
.
getCell
(
p
);
size_t
n_ele
=
fine_s
.
getNelements
(
cl
);
...
...
@@ -953,6 +953,7 @@ public:
cart
.
commCostSet
=
commCostSet
;
cart
.
cd
=
cd
;
cart
.
domain
=
domain
;
cart
.
sub_domains_global
=
sub_domains_global
;
for
(
size_t
i
=
0
;
i
<
dim
;
i
++
)
{
cart
.
spacing
[
i
]
=
spacing
[
i
];};
...
...
@@ -988,6 +989,7 @@ public:
commCostSet
=
cart
.
commCostSet
;
cd
=
cart
.
cd
;
domain
=
cart
.
domain
;
sub_domains_global
=
cart
.
sub_domains_global
;
for
(
size_t
i
=
0
;
i
<
dim
;
i
++
)
{
...
...
@@ -1027,6 +1029,8 @@ public:
commCostSet
=
cart
.
commCostSet
;
cd
=
cart
.
cd
;
domain
=
cart
.
domain
;
sub_domains_global
.
swap
(
cart
.
sub_domains_global
);
for
(
size_t
i
=
0
;
i
<
dim
;
i
++
)
{
spacing
[
i
]
=
cart
.
spacing
[
i
];
...
...
src/Decomposition/common.hpp
View file @
c1c285ad
...
...
@@ -120,6 +120,11 @@ struct Box_map
Box
<
dim
,
T
>
box
;
long
int
prc
;
static
bool
noPointers
()
{
return
true
;
}
};
//! Case for local ghost box
...
...
src/Decomposition/tests/CartDecomposition_unit_test.cpp
View file @
c1c285ad
...
...
@@ -373,8 +373,8 @@ BOOST_AUTO_TEST_CASE( CartDecomposition_check_cross_consistency_between_proc_idb
const
openfpm
::
vector
<
std
::
pair
<
size_t
,
size_t
>>
&
vp_id1
=
dec
.
template
ghost_processorID_pair
<
typename
CartDecomposition
<
3
,
double
>
::
lc_processor_id
,
typename
CartDecomposition
<
3
,
double
>::
shift_id
>
(
p1
,
UNIQUE
);
const
openfpm
::
vector
<
std
::
pair
<
size_t
,
size_t
>>
&
vp_id2
=
dec
.
template
ghost_processorID_pair
<
typename
CartDecomposition
<
3
,
double
>
::
lc_processor_id
,
typename
CartDecomposition
<
3
,
double
>::
shift_id
>
(
p2
,
UNIQUE
);
BOOST_REQUIRE_EQUAL
(
proc1
,
1
);
BOOST_REQUIRE_EQUAL
(
proc2
,
2
);
BOOST_REQUIRE_EQUAL
(
proc1
,
1
ul
);
BOOST_REQUIRE_EQUAL
(
proc2
,
2
ul
);
if
(
vcl
.
rank
()
==
2
)
{
...
...
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