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
1
Issues
1
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
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
edc99c58
Commit
edc99c58
authored
Apr 07, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes + update new modules
parent
eebfa923
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
openfpm_numerics
openfpm_numerics
+1
-1
src/Decomposition/CartDecomposition.hpp
src/Decomposition/CartDecomposition.hpp
+5
-6
src/Grid/grid_dist_id.hpp
src/Grid/grid_dist_id.hpp
+2
-1
src/Grid/grid_dist_id_iterator_sub.hpp
src/Grid/grid_dist_id_iterator_sub.hpp
+1
-1
No files found.
openfpm_numerics
@
834b07c4
Subproject commit
aaa2cab12452445faa160d2b2a2ccdee85a93011
Subproject commit
834b07c439b8cb308f535fcf43bddf9cc9ac7823
src/Decomposition/CartDecomposition.hpp
View file @
edc99c58
...
@@ -812,16 +812,15 @@ public:
...
@@ -812,16 +812,15 @@ public:
domain
=
cart
.
domain
;
domain
=
cart
.
domain
;
std
::
copy
(
cart
.
spacing
,
cart
.
spacing
+
3
,
spacing
);
std
::
copy
(
cart
.
spacing
,
cart
.
spacing
+
3
,
spacing
);
//! Runtime virtual cluster
v_cl
=
cart
.
v_cl
;
ghost
=
cart
.
ghost
;
ghost
=
cart
.
ghost
;
cart
.
bbox
=
bbox
;
bbox
=
cart
.
bbox
;
cart
.
ss_box
=
ss_box
;
ss_box
=
cart
.
ss_box
;
for
(
size_t
i
=
0
;
i
<
dim
;
i
++
)
for
(
size_t
i
=
0
;
i
<
dim
;
i
++
)
cart
.
bc
[
i
]
=
bc
[
i
];
bc
[
i
]
=
cart
.
bc
[
i
];
return
*
this
;
return
*
this
;
return
*
this
;
}
}
...
...
src/Grid/grid_dist_id.hpp
View file @
edc99c58
...
@@ -663,7 +663,7 @@ public:
...
@@ -663,7 +663,7 @@ public:
*
*
*/
*/
grid_dist_id
(
const
Decomposition
&
dec
,
const
size_t
(
&
g_sz
)[
dim
],
const
Box
<
dim
,
St
>
&
domain
,
const
Ghost
<
dim
,
long
int
>
&
g
)
grid_dist_id
(
const
Decomposition
&
dec
,
const
size_t
(
&
g_sz
)[
dim
],
const
Box
<
dim
,
St
>
&
domain
,
const
Ghost
<
dim
,
long
int
>
&
g
)
:
domain
(
domain
),
dec
(
dec
),
v_cl
(
*
global_v_cluster
),
ginfo
(
g_sz
),
ginfo_v
(
g_sz
)
:
domain
(
domain
),
dec
(
*
global_v_cluster
),
v_cl
(
*
global_v_cluster
),
ginfo
(
g_sz
),
ginfo_v
(
g_sz
)
{
{
#ifdef SE_CLASS2
#ifdef SE_CLASS2
check_new
(
this
,
8
,
GRID_DIST_EVENT
,
4
);
check_new
(
this
,
8
,
GRID_DIST_EVENT
,
4
);
...
@@ -672,6 +672,7 @@ public:
...
@@ -672,6 +672,7 @@ public:
InitializeCellDecomposer
(
g_sz
);
InitializeCellDecomposer
(
g_sz
);
ghost
=
convert_ghost
(
g
,
cd_sm
);
ghost
=
convert_ghost
(
g
,
cd_sm
);
this
->
dec
=
dec
.
duplicate
(
ghost
);
// Initialize structures
// Initialize structures
InitializeStructures
(
g_sz
);
InitializeStructures
(
g_sz
);
...
...
src/Grid/grid_dist_id_iterator_sub.hpp
View file @
edc99c58
...
@@ -129,7 +129,7 @@ class grid_dist_iterator_sub
...
@@ -129,7 +129,7 @@ class grid_dist_iterator_sub
*
*
*/
*/
grid_dist_iterator_sub
(
const
grid_dist_iterator_sub
<
dim
,
device_grid
>
&
tmp
)
grid_dist_iterator_sub
(
const
grid_dist_iterator_sub
<
dim
,
device_grid
>
&
tmp
)
:
g_c
(
tmp
.
g_c
),
gList
(
tmp
.
gList
),
gdb_ext
(
gdb_ext
),
start
(
tmp
.
start
),
stop
(
tmp
.
stop
)
:
g_c
(
tmp
.
g_c
),
gList
(
tmp
.
gList
),
gdb_ext
(
tmp
.
gdb_ext
),
start
(
tmp
.
start
),
stop
(
tmp
.
stop
)
{
{
// get the next grid iterator
// get the next grid iterator
if
(
g_c
<
gList
.
size
())
if
(
g_c
<
gList
.
size
())
...
...
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