Hipace
Functions
BeamParticleAdvance.H File Reference
#include "particles/beam/BeamParticleContainer.H"
#include "fields/Fields.H"
#include "Hipace.H"

Go to the source code of this file.

Functions

void AdvanceBeamParticlesSlice (BeamParticleContainer &beam, const Fields &fields, amrex::Vector< amrex::Geometry > const &gm, const int slice, int const current_N_level)
 

Function Documentation

◆ AdvanceBeamParticlesSlice()

void AdvanceBeamParticlesSlice ( BeamParticleContainer beam,
const Fields fields,
amrex::Vector< amrex::Geometry > const &  gm,
const int  slice,
int const  current_N_level 
)

Push beam particles contained in one z slice

Parameters
[in,out]beamspecies of which the current is deposited
[in]fieldsthe general field class, modified by this function
[in]gmGeometry of the simulation, to get the cell size etc.
[in]slicelongitudinal slice
[in]current_N_levelnumber of MR levels active on the current slice