Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
4ee60d56
Commit
4ee60d56
authored
3 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing staggered expressions
parent
a13ff942
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3454
passed
3 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
src/Grid/staggered_dist_grid.hpp
+0
-5
0 additions, 5 deletions
src/Grid/staggered_dist_grid.hpp
src/Grid/staggered_dist_grid_copy.hpp
+0
-2
0 additions, 2 deletions
src/Grid/staggered_dist_grid_copy.hpp
with
1 addition
and
8 deletions
openfpm_numerics
@
b1fc03fe
Subproject commit b
7bc12d2899352e30c575afdbf73ecf256ad3e11
Subproject commit b
1fc03fee078a6b64e7914d765764875e89fc5a3
This diff is collapsed.
Click to expand it.
src/Grid/staggered_dist_grid.hpp
+
0
−
5
View file @
4ee60d56
...
...
@@ -236,11 +236,6 @@ public:
// destination point
auto
key_dst
=
g_dst_it
.
get
();
if
(
key_dst
.
getKey
().
get
(
0
)
==
240
&&
key_dst
.
getKey
().
get
(
1
)
==
1
)
{
std
::
cout
<<
"DEBUG "
<<
std
::
endl
;
}
// Transform this id into an id for the Eigen vector
interp_ele
<
vid
,
Grid_dst
,
typename
std
::
remove_reference
<
decltype
(
*
this
)
>::
type
,
sizeof
...(
pos
)
>
cp
(
key_dst
,
g_dst
,
*
this
,
key_src
,
interp_pos
);
...
...
This diff is collapsed.
Click to expand it.
src/Grid/staggered_dist_grid_copy.hpp
+
0
−
2
View file @
4ee60d56
...
...
@@ -31,8 +31,6 @@ struct interp_ele_sca_array
grid_dst
.
template
get
<
Tdst_ele
::
value
>(
key_dst
)
+=
x
.
template
get
<
Tsrc
::
value
>(
key_m
);
std
::
cout
<<
"DEBUG: "
<<
x
.
template
get
<
Tsrc
::
value
>(
key_m
)
<<
std
::
endl
;
division
+=
1.0
;
}
grid_dst
.
template
get
<
Tdst_ele
::
value
>(
key_dst
)
/=
division
;
...
...
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