aboutsummaryrefslogtreecommitdiff
path: root/Source/AcceleratorLattice/LatticeElementFinder.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/AcceleratorLattice/LatticeElementFinder.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/AcceleratorLattice/LatticeElementFinder.H')
-rw-r--r--Source/AcceleratorLattice/LatticeElementFinder.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/AcceleratorLattice/LatticeElementFinder.H b/Source/AcceleratorLattice/LatticeElementFinder.H
index dd9358b19..43e979807 100644
--- a/Source/AcceleratorLattice/LatticeElementFinder.H
+++ b/Source/AcceleratorLattice/LatticeElementFinder.H
@@ -33,7 +33,7 @@ struct LatticeElementFinder
* @param[in] a_mfi specifies the grid where the finder is defined
* @param[in] accelerator_lattice a reference to the accelerator lattice at the refinement level
*/
- void InitElementFinder (int const lev, amrex::MFIter const& a_mfi,
+ void InitElementFinder (int lev, amrex::MFIter const& a_mfi,
AcceleratorLattice const& accelerator_lattice);
/**
@@ -50,7 +50,7 @@ struct LatticeElementFinder
* @param[in] a_mfi specifies the grid where the finder is defined
* @param[in] accelerator_lattice a reference to the accelerator lattice at the refinement level
*/
- void UpdateIndices (int const lev, amrex::MFIter const& a_mfi,
+ void UpdateIndices (int lev, amrex::MFIter const& a_mfi,
AcceleratorLattice const& accelerator_lattice);
/* Define the location and size of the index lookup table */
@@ -72,7 +72,7 @@ struct LatticeElementFinder
* @param[in] a_offset particle index offset needed to access particle info
* @param[in] accelerator_lattice a reference to the accelerator lattice at the refinement level
*/
- LatticeElementFinderDevice GetFinderDeviceInstance (WarpXParIter const& a_pti, int const a_offset,
+ LatticeElementFinderDevice GetFinderDeviceInstance (WarpXParIter const& a_pti, int a_offset,
AcceleratorLattice const& accelerator_lattice);
/* The index lookup tables for each lattice element type */
@@ -153,7 +153,7 @@ struct LatticeElementFinderDevice
* @param[in] h_finder The host level instance of the element finder that this is associated with
*/
void
- InitLatticeElementFinderDevice (WarpXParIter const& a_pti, int const a_offset,
+ InitLatticeElementFinderDevice (WarpXParIter const& a_pti, int a_offset,
AcceleratorLattice const& accelerator_lattice,
LatticeElementFinder const & h_finder);