Commit 267063bb authored by Pietro Incardona's avatar Pietro Incardona

Simplify map_list

parent 7dbef663
......@@ -181,7 +181,7 @@ int main(int argc, char* argv[])
// Particles are redistribued across the processors but only the scalar,vector, and point properties
// are transfert
vd.map_list<KillParticle,scalar,vector,point>();
vd.map_list<scalar,vector,point>();
// Synchronize the ghost
vd.ghost_get<scalar,vector,point>();
......
......@@ -1132,8 +1132,10 @@ public:
* contain non local particles
*
*/
template<typename obp = KillParticle,unsigned int ... prp> void map_list()
template<unsigned int ... prp> void map_list()
{
typedef KillParticle obp;
// outgoing particles-id
openfpm::vector<size_t> out_part;
......
......@@ -1275,7 +1275,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_map_list )
++it;
}
vd.map_list<KillParticle,0,1>();
vd.map_list<0,1>();
// sync the ghost
vd.ghost_get<0>();
......
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