Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argupta
openfpm_pdata
Commits
16b84354
Commit
16b84354
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Updates with the last changes
parent
19143abb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
openfpm_data
+1
-1
1 addition, 1 deletion
openfpm_data
openfpm_io
+1
-1
1 addition, 1 deletion
openfpm_io
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
src/SubdomainGraphNodes.hpp
+41
-0
41 additions, 0 deletions
src/SubdomainGraphNodes.hpp
with
44 additions
and
3 deletions
openfpm_data
@
08dd51a9
Subproject commit
2e36a553e379e6712b62abeffce479b005774c91
Subproject commit
08dd51a9c1a9ecf4317d9f4d68f8d55ae81b70f3
This diff is collapsed.
Click to expand it.
openfpm_io
@
df344803
Subproject commit
935c25aaa275530ef1dafb86b7a9074e649a1d1f
Subproject commit
df3448039f9197b2df3d0415b218142b08e223fa
This diff is collapsed.
Click to expand it.
openfpm_numerics
@
b4d8373a
Subproject commit
8940976df9020348e7c40b0c622bd1b0b9a23827
Subproject commit
b4d8373acf148fcfb868fc3edff3eb2aed78c881
This diff is collapsed.
Click to expand it.
src/SubdomainGraphNodes.hpp
+
41
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment