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_pdata
Commits
4d2f4e28
Commit
4d2f4e28
authored
Mar 02, 2016
by
Pietro Incardona
Browse files
Fixing tests
parent
23b7888c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/Decomposition/CartDecomposition.hpp
View file @
4d2f4e28
...
...
@@ -1610,7 +1610,7 @@ public:
* \return the distribution object
*
*/
Distribution
getDistribution
()
Distribution
&
getDistribution
()
{
return
dist
;
}
...
...
src/Decomposition/Distribution/parmetis_util.hpp
View file @
4d2f4e28
...
...
@@ -372,7 +372,6 @@ public:
template
<
unsigned
int
i
>
void
decompose
(
const
openfpm
::
vector
<
rid
>
&
vtxdist
)
{
// Decompose
ParMETIS_V3_PartKway
((
idx_t
*
)
vtxdist
.
getPointer
(),
Mg
.
xadj
,
Mg
.
adjncy
,
Mg
.
vwgt
,
Mg
.
adjwgt
,
Mg
.
wgtflag
,
...
...
src/SubdomainGraphNodes.hpp
View file @
4d2f4e28
...
...
@@ -34,7 +34,7 @@
struct
nm_v
{
//! The node contain 3 unsigned long integer for communication computation memory and id
typedef
boost
::
fusion
::
vector
<
float
[
3
],
size_t
,
size_t
,
size_t
,
size_t
,
size_t
,
size_t
,
size_t
>
type
;
typedef
boost
::
fusion
::
vector
<
float
[
3
],
size_t
,
size_t
,
size_t
,
size_t
,
size_t
,
size_t
>
type
;
//! type of the positional field
typedef
float
s_type
;
...
...
@@ -62,11 +62,9 @@ struct nm_v
static
const
unsigned
int
sub_id
=
5
;
//! proc_id property id in boost::fusion::vector
static
const
unsigned
int
proc_id
=
6
;
//! fake_v property id in boost::fusion::vector
static
const
unsigned
int
fake_v
=
7
;
//! total number of properties boost::fusion::vector
static
const
unsigned
int
max_prop
=
8
;
static
const
unsigned
int
max_prop
=
7
;
//! default constructor
nm_v
()
...
...
@@ -85,7 +83,6 @@ struct nm_v
boost
::
fusion
::
at_c
<
4
>
(
data
)
=
boost
::
fusion
::
at_c
<
4
>
(
p
.
data
);
boost
::
fusion
::
at_c
<
5
>
(
data
)
=
boost
::
fusion
::
at_c
<
5
>
(
p
.
data
);
boost
::
fusion
::
at_c
<
6
>
(
data
)
=
boost
::
fusion
::
at_c
<
6
>
(
p
.
data
);
boost
::
fusion
::
at_c
<
7
>
(
data
)
=
boost
::
fusion
::
at_c
<
7
>
(
p
.
data
);
}
template
<
unsigned
int
dim
,
typename
Mem
>
inline
nm_v
(
const
encapc
<
dim
,
nm_v
,
Mem
>
&
p
)
...
...
@@ -104,7 +101,6 @@ struct nm_v
boost
::
fusion
::
at_c
<
4
>
(
data
)
=
p
.
template
get
<
4
>();
boost
::
fusion
::
at_c
<
5
>
(
data
)
=
p
.
template
get
<
5
>();
boost
::
fusion
::
at_c
<
6
>
(
data
)
=
p
.
template
get
<
6
>();
boost
::
fusion
::
at_c
<
7
>
(
data
)
=
p
.
template
get
<
7
>();
return
*
this
;
}
...
...
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