Commit 1604907e authored by Pietro Incardona's avatar Pietro Incardona

Latest modules

parent 694c676e
openfpm_devices @ 5867ee86
Subproject commit 4a065a934f1f6620385edfa717d93b90a8cedf02
Subproject commit 5867ee86d4b3c47efa3fb40c04d262396d895bec
openfpm_numerics @ c5aac757
Subproject commit 4192ec42c28ddfb106291ead7d9c471883da83d9
Subproject commit c5aac757e46c64ce8c4d6335755422c478e8cbb2
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment