Hipace
|
#include "PlasmaDepositCurrent.H"
#include "particles/particles_utils/ShapeFactors.H"
#include "particles/particles_utils/FieldGather.H"
#include "particles/plasma/PlasmaParticleContainer.H"
#include "particles/sorting/TileSort.H"
#include "fields/Fields.H"
#include "utils/Constants.H"
#include "Hipace.H"
#include "utils/HipaceProfilerWrapper.H"
#include "utils/GPUUtil.H"
Functions | |
void | DepositCurrent (PlasmaParticleContainer &plasma, Fields &fields, const MultiLaser &multi_laser, const int which_slice, const bool deposit_jx_jy, const bool deposit_jz, const bool deposit_rho, const bool deposit_chi, const bool deposit_rhomjz, amrex::Vector< amrex::Geometry > const &gm, int const lev, const PlasmaBins &bins, int bin_size) |
void DepositCurrent | ( | PlasmaParticleContainer & | plasma, |
Fields & | fields, | ||
const MultiLaser & | multi_laser, | ||
const int | which_slice, | ||
const bool | deposit_jx_jy, | ||
const bool | deposit_jz, | ||
const bool | deposit_rho, | ||
const bool | deposit_chi, | ||
const bool | deposit_rhomjz, | ||
amrex::Vector< amrex::Geometry > const & | gm, | ||
int const | lev, | ||
const PlasmaBins & | bins, | ||
int | bin_size | ||
) |
Depose current of particles in species plasma into the current 2D slice in fields
[in] | plasma | species of which the current is deposited |
[in,out] | fields | the general field class, modified by this function |
[in] | multi_laser | MultiLaser that affects the plasma during the deposition |
[in] | which_slice | defines if this or the next slice is handled |
[in] | deposit_jx_jy | if true, deposit to jx and jy |
[in] | deposit_jz | if true, deposit to jz |
[in] | deposit_rho | if true, deposit to rho |
[in] | deposit_chi | if true, deposit chi |
[in] | deposit_rhomjz | if true, deposit rhomjz |
[in] | gm | Geometry of the simulation, to get the cell size etc. |
[in] | lev | MR level |
[in] | bins | objects containing indices of plasma particles in each tile |
[in] | bin_size | tile size (square) |