Go to the source code of this file.
|
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) |
|
◆ DepositCurrent()
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
- Parameters
-
[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) |