aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/MultiParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/MultiParticleContainer.H')
-rw-r--r--Source/Particles/MultiParticleContainer.H28
1 files changed, 12 insertions, 16 deletions
diff --git a/Source/Particles/MultiParticleContainer.H b/Source/Particles/MultiParticleContainer.H
index 56f1b42ff..a05cde60b 100644
--- a/Source/Particles/MultiParticleContainer.H
+++ b/Source/Particles/MultiParticleContainer.H
@@ -137,38 +137,34 @@ public:
* \brief Deposit charge density.
*
* \param[in,out] rho vector of charge densities (one pointer to MultiFab per mesh refinement level)
- * \param[in] relative_t Time at which to deposit rho, relative to the time
- * of the current positions of the particles (expressed as
- * a fraction of dt). When different than 0, the particle
- * position will be temporarily modified to match the time
- * of the deposition.
+ * \param[in] relative_time Time at which to deposit rho, relative to the time of the
+ * current positions of the particles. When different than 0,
+ * the particle position will be temporarily modified to match
+ * the time of the deposition.
*/
void
DepositCharge (amrex::Vector<std::unique_ptr<amrex::MultiFab> >& rho,
- const amrex::Real relative_t);
+ const amrex::Real relative_time);
/**
* \brief Deposit current density.
*
* \param[in,out] J vector of current densities (one three-dimensional array of pointers
* to MultiFabs per mesh refinement level)
- * \param[in] dt: Time step for particle level (is used when temporarily
- * modifying the particle positions, either within the
- * Esirkepov or when `relative_t` is different than 0
- * \param[in] relative_t: Time at which to deposit J, relative to the time of
- * the current positions of the particles (expressed as
- * a fraction of dt). When different than 0, the particle
- * position will be temporarily modified to match the
- * time of the deposition.
+ * \param[in] dt Time step for particle level
+ * \param[in] relative_time Time at which to deposit J, relative to the time of the
+ * current positions of the particles. When different than 0,
+ * the particle position will be temporarily modified to match
+ * the time of the deposition.
*/
void
DepositCurrent (amrex::Vector<std::array< std::unique_ptr<amrex::MultiFab>, 3 > >& J,
- const amrex::Real dt, const amrex::Real relative_t);
+ const amrex::Real dt, const amrex::Real relative_time);
///
/// This deposits the particle charge onto a node-centered MultiFab and returns a unique ptr
/// to it. The charge density is accumulated over all the particles in the MultiParticleContainer
- ///
+
std::unique_ptr<amrex::MultiFab> GetChargeDensity(int lev, bool local = false);
void doFieldIonization (int lev,