aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.H')
-rw-r--r--Source/Particles/PhysicalParticleContainer.H26
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.H b/Source/Particles/PhysicalParticleContainer.H
index 8e3bfdb86..c4ad257c9 100644
--- a/Source/Particles/PhysicalParticleContainer.H
+++ b/Source/Particles/PhysicalParticleContainer.H
@@ -138,9 +138,9 @@ public:
amrex::FArrayBox const * bxfab,
amrex::FArrayBox const * byfab,
amrex::FArrayBox const * bzfab,
- const amrex::IntVect ngEB, const int /*e_is_nodal*/,
- const long offset,
- const long np_to_push,
+ amrex::IntVect ngEB, int /*e_is_nodal*/,
+ long offset,
+ long np_to_push,
int lev, int gather_lev,
amrex::Real dt, ScaleFields scaleFields,
DtType a_dt_type=DtType::Full);
@@ -156,9 +156,9 @@ public:
void PartitionParticlesInBuffers (
long& nfine_current,
long& nfine_gather,
- long const np,
+ long np,
WarpXParIter& pti,
- int const lev,
+ int lev,
amrex::iMultiFab const* current_masks,
amrex::iMultiFab const* gather_masks );
@@ -203,10 +203,10 @@ public:
amrex::Real t_lab = 0._prt);
void AddGaussianBeam (
- const amrex::Real x_m, const amrex::Real y_m, const amrex::Real z_m,
- const amrex::Real x_rms, const amrex::Real y_rms, const amrex::Real z_rms,
- const amrex::Real x_cut, const amrex::Real y_cut, const amrex::Real z_cut,
- const amrex::Real q_tot, long npart, const int do_symmetrize, const int symmetrization_order);
+ amrex::Real x_m, amrex::Real y_m, amrex::Real z_m,
+ amrex::Real x_rms, amrex::Real y_rms, amrex::Real z_rms,
+ amrex::Real x_cut, amrex::Real y_cut, amrex::Real z_cut,
+ amrex::Real q_tot, long npart, int do_symmetrize, int symmetrization_order);
/** Load a particle beam from an external file
* @param[in] q_tot total charge of the particle species to be initialized
@@ -244,8 +244,8 @@ public:
amrex::ParticleTile<amrex::Particle<NStructReal, NStructInt>,
NArrayReal, NArrayInt,
amrex::PinnedArenaAllocator>& pinned_tile,
- const int n_external_attr_real,
- const int n_external_attr_int,
+ int n_external_attr_real,
+ int n_external_attr_int,
const amrex::RandomEngine& engine) override final;
/**
@@ -307,7 +307,7 @@ public:
*
* @param[in] timestep the current timestep.
*/
- void resample (const int timestep) override final;
+ void resample (int timestep) override final;
#ifdef WARPX_QED
//Functions decleared in WarpXParticleContainer.H
@@ -368,7 +368,7 @@ protected:
void ContinuousInjection (const amrex::RealBox& injection_box) override;
// Continuously inject a flux of particles from a defined surface
- void ContinuousFluxInjection (const amrex::Real t, const amrex::Real dt) override;
+ void ContinuousFluxInjection (amrex::Real t, amrex::Real dt) override;
//This function return true if the PhysicalParticleContainer contains electrons
//or positrons, false otherwise