diff options
author | 2019-10-10 19:31:59 -0400 | |
---|---|---|
committer | 2019-10-10 19:31:59 -0400 | |
commit | afd397c38c8e79dbb5939a67438af5a519866f11 (patch) | |
tree | 1888d1e1b5de34ed0ac5f056157e7599f32a3e44 /Source/Particles/ParticleCreation/TransformParticle.H | |
parent | 47067b56cc8a43a76bcf6e01a41f5ce3a2fa27d5 (diff) | |
download | WarpX-afd397c38c8e79dbb5939a67438af5a519866f11.tar.gz WarpX-afd397c38c8e79dbb5939a67438af5a519866f11.tar.zst WarpX-afd397c38c8e79dbb5939a67438af5a519866f11.zip |
get pointer so that it compiles on GPU. That's ugly :/
Diffstat (limited to 'Source/Particles/ParticleCreation/TransformParticle.H')
-rw-r--r-- | Source/Particles/ParticleCreation/TransformParticle.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/ParticleCreation/TransformParticle.H b/Source/Particles/ParticleCreation/TransformParticle.H index 1e5385d76..c202cb6d7 100644 --- a/Source/Particles/ParticleCreation/TransformParticle.H +++ b/Source/Particles/ParticleCreation/TransformParticle.H @@ -27,7 +27,7 @@ template < elementaryProcessType ProcessT > AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void transformProductParticle( int i, - amrex::Vector<WarpXParticleContainer::ParticleType*> v_particle){} + WarpXParticleContainer::ParticleType* const * const v_particle){} // For ionization, increase ionization level of source particle template <> |