aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/LaserParticleContainer.H
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-30 03:36:46 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-29 18:36:46 -0700
commit3f95ac68a1d7cf764f58e360ae9b4c43e5913095 (patch)
tree5da34d67f9fcdf0086d73e077b677ccf9b870541 /Source/Particles/LaserParticleContainer.H
parent71432aac4ef37b0c3476a2af2255140af3188669 (diff)
downloadWarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.gz
WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.zst
WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.zip
Clang tidy CI test: add more readability checks to clang tidy CI test (#4146)
* add more readability checks to clang-tidy CI test * reformat check list * starting to address issues found with clang-tidy£ * addressing issues * remove check * address issues * address all issues * address issue found with github code scanning
Diffstat (limited to 'Source/Particles/LaserParticleContainer.H')
-rw-r--r--Source/Particles/LaserParticleContainer.H20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Particles/LaserParticleContainer.H b/Source/Particles/LaserParticleContainer.H
index f2ec1739f..e125bab2e 100644
--- a/Source/Particles/LaserParticleContainer.H
+++ b/Source/Particles/LaserParticleContainer.H
@@ -81,16 +81,16 @@ public:
virtual void PostRestart () final;
- void calculate_laser_plane_coordinates (const WarpXParIter& pti, const int np,
- amrex::Real * AMREX_RESTRICT const pplane_Xp,
- amrex::Real * AMREX_RESTRICT const pplane_Yp);
+ void calculate_laser_plane_coordinates (const WarpXParIter& pti, int np,
+ amrex::Real * AMREX_RESTRICT pplane_Xp,
+ amrex::Real * AMREX_RESTRICT pplane_Yp);
- void update_laser_particle (WarpXParIter& pti, const int np, amrex::ParticleReal * AMREX_RESTRICT const puxp,
- amrex::ParticleReal * AMREX_RESTRICT const puyp,
- amrex::ParticleReal * AMREX_RESTRICT const puzp,
- amrex::ParticleReal const * AMREX_RESTRICT const pwp,
- amrex::Real const * AMREX_RESTRICT const amplitude,
- const amrex::Real dt);
+ void update_laser_particle (WarpXParIter& pti, int np, amrex::ParticleReal * AMREX_RESTRICT puxp,
+ amrex::ParticleReal * AMREX_RESTRICT puyp,
+ amrex::ParticleReal * AMREX_RESTRICT puzp,
+ amrex::ParticleReal const * AMREX_RESTRICT pwp,
+ amrex::Real const * AMREX_RESTRICT amplitude,
+ amrex::Real dt);
protected:
@@ -134,7 +134,7 @@ private:
* \brief Update antenna position for continuous injection of lasers
* in a boosted frame
*/
- void UpdateAntennaPosition (const amrex::Real dt) override;
+ void UpdateAntennaPosition (amrex::Real dt) override;
// Unique (smart) pointer to the laser profile
std::unique_ptr<WarpXLaserProfiles::ILaserProfile> m_up_laser_profile;