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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
16b84354
Commit
16b84354
authored
Oct 19, 2015
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates with the last changes
parent
19143abb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
3 deletions
+44
-3
openfpm_data
openfpm_data
+1
-1
openfpm_io
openfpm_io
+1
-1
openfpm_numerics
openfpm_numerics
+1
-1
src/SubdomainGraphNodes.hpp
src/SubdomainGraphNodes.hpp
+41
-0
No files found.
openfpm_data
@
08dd51a9
Subproject commit
2e36a553e379e6712b62abeffce479b005774c91
Subproject commit
08dd51a9c1a9ecf4317d9f4d68f8d55ae81b70f3
openfpm_io
@
df344803
Subproject commit
935c25aaa275530ef1dafb86b7a9074e649a1d1f
Subproject commit
df3448039f9197b2df3d0415b218142b08e223fa
openfpm_numerics
@
b4d8373a
Subproject commit
8940976df9020348e7c40b0c622bd1b0b9a23827
Subproject commit
b4d8373acf148fcfb868fc3edff3eb2aed78c881
src/SubdomainGraphNodes.hpp
View file @
16b84354
...
...
@@ -66,6 +66,25 @@ struct nm_v
//! total number of properties boost::fusion::vector
static
const
unsigned
int
max_prop
=
8
;
//! default constructor
nm_v
(){
}
template
<
unsigned
int
dim
,
typename
Mem
>
inline
nm_v
(
const
encapc
<
dim
,
nm_v
,
Mem
>
&
p
)
{
boost
::
fusion
::
at_c
<
0
>
(
data
)
=
p
.
template
get
<
0
>();
boost
::
fusion
::
at_c
<
1
>
(
data
)
=
p
.
template
get
<
1
>();
boost
::
fusion
::
at_c
<
2
>
(
data
)
=
p
.
template
get
<
2
>();
boost
::
fusion
::
at_c
<
3
>
(
data
)
=
p
.
template
get
<
3
>();
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
>();
}
};
const
std
::
string
nm_v
::
attributes
::
name
[]
=
{
"x"
,
"y"
,
"z"
,
"communication"
,
"computation"
,
"memory"
,
"id"
,
"sub_id"
};
...
...
@@ -132,8 +151,22 @@ struct nm_part_v
//! total number of properties
static
const
unsigned
int
max_prop
=
2
;
//! default constructor
nm_part_v
(){
}
template
<
unsigned
int
dim
,
typename
Mem
>
inline
nm_part_v
(
const
encapc
<
dim
,
nm_part_v
,
Mem
>
&
p
)
{
boost
::
fusion
::
at_c
<
0
>
(
data
)
=
p
.
template
get
<
0
>();
boost
::
fusion
::
at_c
<
1
>
(
data
)
=
p
.
template
get
<
1
>();
}
};
const
std
::
string
nm_part_v
::
attributes
::
name
[]
=
{
"id"
,
"sub_id"
};
/*! \brief Reduced edge graph node
...
...
@@ -156,6 +189,14 @@ struct nm_part_e
//! total number of properties
static
const
unsigned
int
max_prop
=
0
;
//! Attributes name
struct
attributes
{
static
const
std
::
string
name
[];
};
};
const
std
::
string
nm_part_e
::
attributes
::
name
[]
=
{
"id"
};
#endif
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