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
82853439
Commit
82853439
authored
Dec 16, 2020
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Box to nm_v
parent
792678c3
Pipeline
#2504
failed with stages
in 5 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/SubdomainGraphNodes.hpp
src/SubdomainGraphNodes.hpp
+3
-2
No files found.
src/SubdomainGraphNodes.hpp
View file @
82853439
...
...
@@ -4,6 +4,7 @@
#include <boost/fusion/container/vector.hpp>
#include <boost/fusion/include/at_c.hpp>
#include "Grid/Encap.hpp"
#include "Space/Shape/Box.hpp"
/* In a decomposition graph each node represent a sub-domain while an edge represent
* an interaction between sub-domain (it mean that they have to communicate).
...
...
@@ -35,11 +36,11 @@ constexpr unsigned int nm_v_id = 4;
constexpr
unsigned
int
nm_v_sub_id
=
5
;
constexpr
unsigned
int
nm_v_proc_id
=
6
;
template
<
unsigned
int
dim
>
template
<
unsigned
int
dim
,
typename
T
=
double
>
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
,
long
int
,
size_t
>
type
;
typedef
boost
::
fusion
::
vector
<
float
[
3
],
size_t
,
size_t
,
size_t
,
size_t
,
long
int
,
size_t
,
Box
<
dim
,
double
>
>
type
;
//! type of the positional field
typedef
float
s_type
;
...
...
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