diff options
author | 2019-07-29 16:11:19 -0700 | |
---|---|---|
committer | 2019-07-29 16:11:19 -0700 | |
commit | 3beec69f9a5392dd2bf9c7c66c6f4f3fc6e686d7 (patch) | |
tree | cc26dbb696c5198c5cbd81df56cd93aaa9784717 /Source/Laser/LaserParticleContainer.cpp | |
parent | e3669403117870d162d1ca48916c93a31e106547 (diff) | |
parent | 94c7b75d8d8651dbf0260b7f5aab217991713578 (diff) | |
download | WarpX-3beec69f9a5392dd2bf9c7c66c6f4f3fc6e686d7.tar.gz WarpX-3beec69f9a5392dd2bf9c7c66c6f4f3fc6e686d7.tar.zst WarpX-3beec69f9a5392dd2bf9c7c66c6f4f3fc6e686d7.zip |
Merge pull request #238 from ECP-WarpX/rm_picsar_deposition
Use WarpX current deposition for laser particles as well
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r-- | Source/Laser/LaserParticleContainer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Laser/LaserParticleContainer.cpp b/Source/Laser/LaserParticleContainer.cpp index 3d3447a3c..515aa1f5d 100644 --- a/Source/Laser/LaserParticleContainer.cpp +++ b/Source/Laser/LaserParticleContainer.cpp @@ -504,15 +504,15 @@ LaserParticleContainer::Evolve (int lev, // Current Deposition // // Deposit inside domains - DepositCurrentFortran(pti, wp, uxp, uyp, uzp, &jx, &jy, &jz, - 0, np_current, thread_num, - lev, lev, dt); + DepositCurrent(pti, wp, uxp, uyp, uzp, &jx, &jy, &jz, + 0, np_current, thread_num, + lev, lev, dt); bool has_buffer = cjx; if (has_buffer){ // Deposit in buffers - DepositCurrentFortran(pti, wp, uxp, uyp, uzp, cjx, cjy, cjz, - np_current, np-np_current, thread_num, - lev, lev-1, dt); + DepositCurrent(pti, wp, uxp, uyp, uzp, cjx, cjy, cjz, + np_current, np-np_current, thread_num, + lev, lev-1, dt); } // |