aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.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/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.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/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H
index acabd69d3..94eda8a2f 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.H
@@ -50,14 +50,14 @@ class PsatdAlgorithmJLinearInTime : public SpectralBaseAlgorithm
const SpectralKSpace& spectral_kspace,
const amrex::DistributionMapping& dm,
const SpectralFieldIndex& spectral_index,
- const int norder_x,
- const int norder_y,
- const int norder_z,
- const short grid_type,
- const amrex::Real dt,
- const bool time_averaging,
- const bool dive_cleaning,
- const bool divb_cleaning);
+ int norder_x,
+ int norder_y,
+ int norder_z,
+ short grid_type,
+ amrex::Real dt,
+ bool time_averaging,
+ bool dive_cleaning,
+ bool divb_cleaning);
/**
* \brief Updates the E and B fields in spectral space, according to the multi-J PSATD equations
@@ -76,7 +76,7 @@ class PsatdAlgorithmJLinearInTime : public SpectralBaseAlgorithm
void InitializeSpectralCoefficients (
const SpectralKSpace& spectral_kspace,
const amrex::DistributionMapping& dm,
- const amrex::Real dt);
+ amrex::Real dt);
/**
* \brief Initialize additional coefficients used in \c pushSpectralFields to update E,B,
@@ -89,7 +89,7 @@ class PsatdAlgorithmJLinearInTime : public SpectralBaseAlgorithm
void InitializeSpectralCoefficientsAveraging (
const SpectralKSpace& spectral_kspace,
const amrex::DistributionMapping& dm,
- const amrex::Real dt);
+ amrex::Real dt);
/**
* \brief Virtual function for current correction in Fourier space