diff options
author | 2023-08-30 03:36:46 +0200 | |
---|---|---|
committer | 2023-08-29 18:36:46 -0700 | |
commit | 3f95ac68a1d7cf764f58e360ae9b4c43e5913095 (patch) | |
tree | 5da34d67f9fcdf0086d73e077b677ccf9b870541 /Source/Particles/ElementaryProcess/QEDInternals | |
parent | 71432aac4ef37b0c3476a2af2255140af3188669 (diff) | |
download | WarpX-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/ElementaryProcess/QEDInternals')
-rw-r--r-- | Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H | 8 | ||||
-rw-r--r-- | Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H index ab15a2d8f..2abd31fb4 100644 --- a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H +++ b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.H @@ -334,14 +334,14 @@ public: */ bool init_lookup_tables_from_raw_data ( const std::vector<char>& raw_data, - const amrex::ParticleReal bw_minimum_chi_phot); + amrex::ParticleReal bw_minimum_chi_phot); /** * Init lookup tables using built-in (low resolution) tables * * @param[in] bw_minimum_chi_phot minimum chi parameter to evolve the optical depth of a photon */ - void init_builtin_tables(const amrex::ParticleReal bw_minimum_chi_phot); + void init_builtin_tables(amrex::ParticleReal bw_minimum_chi_phot); /** * Computes the lookup tables. It does nothing unless WarpX is compiled with QED_TABLE_GEN=TRUE @@ -349,8 +349,8 @@ public: * @param[in] ctrl control params to generate the tables * @param[in] bw_minimum_chi_phot minimum chi parameter to evolve the optical depth of a photon */ - void compute_lookup_tables (const PicsarBreitWheelerCtrl ctrl, - const amrex::ParticleReal bw_minimum_chi_phot); + void compute_lookup_tables (PicsarBreitWheelerCtrl ctrl, + amrex::ParticleReal bw_minimum_chi_phot); /** * gets default values for the control parameters diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H index 5529019d4..33660cde2 100644 --- a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H +++ b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.H @@ -312,14 +312,14 @@ public: * @return true if it succeeds, false if it cannot parse raw_data */ bool init_lookup_tables_from_raw_data (const std::vector<char>& raw_data, - const amrex::ParticleReal qs_minimum_chi_part); + amrex::ParticleReal qs_minimum_chi_part); /** * Init lookup tables using built-in (low resolution) tables * * @param[in] qs_minimum_chi_part minimum chi parameter to evolve the optical depth of a particle. */ - void init_builtin_tables(const amrex::ParticleReal qs_minimum_chi_part); + void init_builtin_tables(amrex::ParticleReal qs_minimum_chi_part); /** * Computes the lookup tables. It does nothing unless WarpX is compiled with QED_TABLE_GEN=TRUE @@ -328,7 +328,7 @@ public: * @param[in] qs_minimum_chi_part minimum chi parameter to evolve the optical depth of a particle. */ void compute_lookup_tables (PicsarQuantumSyncCtrl ctrl, - const amrex::ParticleReal qs_minimum_chi_part); + amrex::ParticleReal qs_minimum_chi_part); /** * gets default values for the control parameters |