Remove particles (without using MPI) More...
#include <Cabana_AoSoA.hpp>
#include <Cabana_DeepCopy.hpp>
#include <Cabana_Slice.hpp>
#include <Kokkos_Core.hpp>
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. | |
Remove particles (without using MPI)