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
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
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_pdata
Commits
cfbe9fff
Commit
cfbe9fff
authored
Nov 09, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actual not compiling
parent
6ce99624
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
openfpm_data
openfpm_data
+1
-1
src/Vector/vector_dist.hpp
src/Vector/vector_dist.hpp
+14
-8
No files found.
openfpm_data
@
f7ca1bc2
Subproject commit
2d3603173dd74559f901928bf363d9661f8dffaf
Subproject commit
f7ca1bc2fe8eeb9c6e3bdf34898341ffa91f8c1c
src/Vector/vector_dist.hpp
View file @
cfbe9fff
...
...
@@ -133,13 +133,19 @@ struct gcl<dim,St,CellList_gen<dim, St, Process_keys_hilb,Mem_type, shift<dim, S
*
*/
template
<
unsigned
int
dim
,
typename
St
,
typename
prop
,
typename
Decomposition
=
CartDecomposition
<
dim
,
St
>,
typename
Memory
=
HeapMemory
>
template
<
unsigned
int
dim
,
typename
St
,
typename
prop
,
typename
layout
=
typename
memory_traits_lin
<
prop
>
::
type
,
template
<
typename
>
class
layout_base
=
memory_traits_lin
,
typename
Decomposition
=
CartDecomposition
<
dim
,
St
>
,
typename
Memory
=
HeapMemory
>
class
vector_dist
:
public
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
{
public:
//! Self type
typedef
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
self
;
typedef
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
self
;
//! property object
typedef
prop
value_type
;
...
...
@@ -151,11 +157,11 @@ private:
//! Particle position vector, (It has 2 elements) the first has real particles assigned to a processor
//! the second element contain unassigned particles
openfpm
::
vector
<
Point
<
dim
,
St
>>
v_pos
;
openfpm
::
vector
<
Point
<
dim
,
St
>
,
Memory
>
v_pos
;
//! Particle properties vector, (It has 2 elements) the first has real particles assigned to a processor
//! the second element contain unassigned particles
openfpm
::
vector
<
prop
>
v_prp
;
openfpm
::
vector
<
prop
,
Memory
>
v_prp
;
//! Virtual cluster
Vcluster
&
v_cl
;
...
...
@@ -247,7 +253,7 @@ public:
* \return itself
*
*/
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&
operator
=
(
const
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&
v
)
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&
operator
=
(
const
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&
v
)
{
static_cast
<
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
*>
(
this
)
->
operator
=
(
static_cast
<
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>>
(
v
));
...
...
@@ -271,7 +277,7 @@ public:
* \return itself
*
*/
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&
operator
=
(
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&&
v
)
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&
operator
=
(
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&&
v
)
{
static_cast
<
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
*>
(
this
)
->
operator
=
(
static_cast
<
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
>
(
v
));
...
...
@@ -294,7 +300,7 @@ public:
* \param v vector to copy
*
*/
vector_dist
(
const
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&
v
)
vector_dist
(
const
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&
v
)
:
vector_dist_comm
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
(
v
.
getDecomposition
()),
v_cl
(
v
.
v_cl
)
SE_CLASS3_VDIST_CONSTRUCTOR
{
#ifdef SE_CLASS2
...
...
@@ -309,7 +315,7 @@ public:
* \param v vector to copy
*
*/
vector_dist
(
vector_dist
<
dim
,
St
,
prop
,
Decomposition
,
Memory
>
&&
v
)
noexcept
vector_dist
(
vector_dist
<
dim
,
St
,
prop
,
layout
,
layout_base
,
Decomposition
,
Memory
>
&&
v
)
noexcept
:
v_cl
(
v
.
v_cl
)
SE_CLASS3_VDIST_CONSTRUCTOR
{
#ifdef SE_CLASS2
...
...
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