Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana_Remove.hpp File Reference

Remove particles (without using MPI) More...

#include <Cabana_AoSoA.hpp>
#include <Cabana_DeepCopy.hpp>
#include <Cabana_Slice.hpp>
#include <Kokkos_Core.hpp>
Include dependency graph for Cabana_Remove.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Cabana
 Core: particle data structures and algorithms.
 

Functions

template<class ExecutionSpace, class KeepView, class ParticleAoSoA>
void Cabana::remove (const ExecutionSpace &exec_space, const int num_keep, const KeepView &keep_particle, ParticleAoSoA &particles, const int num_particles_ignore=0, const bool shrink_to_fit=true)
 Filter out empty/unneeded particles.
 

Detailed Description

Remove particles (without using MPI)