Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
1604907e
Commit
1604907e
authored
Mar 23, 2016
by
Pietro Incardona
Browse files
Latest modules
parent
694c676e
Changes
3
Hide whitespace changes
Inline
Side-by-side
openfpm_devices
@
5867ee86
Subproject commit
4a065a934f1f6620385edfa717d93b90a8cedf02
Subproject commit
5867ee86d4b3c47efa3fb40c04d262396d895bec
openfpm_numerics
@
c5aac757
Subproject commit
4192ec42c28ddfb106291ead7d9c471883da83d9
Subproject commit
c5aac757e46c64ce8c4d6335755422c478e8cbb2
src/Vector/vector_dist.hpp
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
);
...
...
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