aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ParticleCreation/ElementaryProcess.cpp
blob: ff21fccfd278d38f5b0e30d955fd012d5adb42b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "ElementaryProcess.H"

using namespace amrex;

void
elementaryProcess::createParticles (
    int lev, const MFIter& mfi,
    std::unique_ptr< WarpXParticleContainer>& pc_source,
    std::unique_ptr< WarpXParticleContainer>& pc_product,
    Gpu::ManagedDeviceVector<int>& is_flagged,
    bool do_boosted_product)

void
elementaryProcess::copyAndTransformParticles(
    Gpu::ManagedDeviceVector<int>& is_flagged,
    Gpu::ManagedDeviceVector<int>& i_product,
    int np_source, int pid_product,
    WarpXParticleContainer::ParticleType* particles_product,
    WarpXParticleContainer::ParticleType* particles_source,
    copyParticle copy_functor)