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
1604907e
Commit
1604907e
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Latest modules
parent
694c676e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openfpm_devices
+1
-1
1 addition, 1 deletion
openfpm_devices
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
src/Vector/vector_dist.hpp
+16
-0
16 additions, 0 deletions
src/Vector/vector_dist.hpp
with
18 additions
and
2 deletions
openfpm_devices
@
5867ee86
Subproject commit
4a065a934f1f6620385edfa717d93b90a8cedf02
Subproject commit
5867ee86d4b3c47efa3fb40c04d262396d895bec
This diff is collapsed.
Click to expand it.
openfpm_numerics
@
c5aac757
Subproject commit
4192ec42c28ddfb106291ead7d9c471883da83d9
Subproject commit
c5aac757e46c64ce8c4d6335755422c478e8cbb2
This diff is collapsed.
Click to expand it.
src/Vector/vector_dist.hpp
+
16
−
0
View file @
1604907e
...
...
@@ -1237,6 +1237,14 @@ public:
return
dec
;
}
/*! \brief Remove a set of elements from the distributed vector
*
* \warning keys must be sorted
*
* \param keys vector of elements to eliminate
* \param start from where to eliminate
*
*/
void
remove
(
openfpm
::
vector
<
size_t
>
&
keys
,
size_t
start
=
0
)
{
v_pos
.
remove
(
keys
,
start
);
...
...
@@ -1245,6 +1253,14 @@ public:
g_m
-=
keys
.
size
();
}
/*! \brief Remove one element from the distributed vector
*
* \warning keys must be sorted
*
* \param keys vector of elements to eliminate
* \param start from where to eliminate
*
*/
void
remove
(
size_t
key
)
{
v_pos
.
remove
(
key
);
...
...
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