Skip to content

Commit

Permalink
Clean up for clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 14, 2023
1 parent 59eed34 commit 827d648
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions Source/Particles/ElementaryProcess/Ionization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ IonizationFilterFunc::IonizationFilterFunc (const WarpXParIter& a_pti, int lev,
m_adk_power{a_adk_power},
comp{a_comp},
m_atomic_number{a_atomic_number},
m_Ex_external_particle{E_external_particle[0]},
m_Ey_external_particle{E_external_particle[1]},
m_Ez_external_particle{E_external_particle[2]},
m_Bx_external_particle{B_external_particle[0]},
m_By_external_particle{B_external_particle[1]},
m_Bz_external_particle{B_external_particle[2]},
m_galerkin_interpolation{WarpX::galerkin_interpolation},
m_nox{WarpX::nox},
m_n_rz_azimuthal_modes{WarpX::n_rz_azimuthal_modes}
Expand All @@ -47,12 +53,6 @@ IonizationFilterFunc::IonizationFilterFunc (const WarpXParIter& a_pti, int lev,

m_get_position = GetParticlePosition<PIdx>(a_pti, a_offset);
m_get_externalEB = GetExternalEBField(a_pti, a_offset);
m_Ex_external_particle = E_external_particle[0];
m_Ey_external_particle = E_external_particle[1];
m_Ez_external_particle = E_external_particle[2];
m_Bx_external_particle = B_external_particle[0];
m_By_external_particle = B_external_particle[1];
m_Bz_external_particle = B_external_particle[2];

m_ex_arr = exfab.array();
m_ey_arr = eyfab.array();
Expand Down
12 changes: 6 additions & 6 deletions Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ PairGenerationTransformFunc (BreitWheelerGeneratePairs const generate_functor,
amrex::Vector<amrex::ParticleReal>& B_external_particle,
int a_offset):
m_generate_functor{generate_functor},
m_Ex_external_particle{E_external_particle[0]},
m_Ey_external_particle{E_external_particle[1]},
m_Ez_external_particle{E_external_particle[2]},
m_Bx_external_particle{B_external_particle[0]},
m_By_external_particle{B_external_particle[1]},
m_Bz_external_particle{B_external_particle[2]},
m_galerkin_interpolation{WarpX::galerkin_interpolation},
m_nox{WarpX::nox},
m_n_rz_azimuthal_modes{WarpX::n_rz_azimuthal_modes}
Expand All @@ -39,12 +45,6 @@ PairGenerationTransformFunc (BreitWheelerGeneratePairs const generate_functor,

m_get_position = GetParticlePosition<PIdx>(a_pti, a_offset);
m_get_externalEB = GetExternalEBField(a_pti, a_offset);
m_Ex_external_particle = E_external_particle[0];
m_Ey_external_particle = E_external_particle[1];
m_Ez_external_particle = E_external_particle[2];
m_Bx_external_particle = B_external_particle[0];
m_By_external_particle = B_external_particle[1];
m_Bz_external_particle = B_external_particle[2];

m_ex_arr = exfab.array();
m_ey_arr = eyfab.array();
Expand Down
12 changes: 6 additions & 6 deletions Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ PhotonEmissionTransformFunc (QuantumSynchrotronGetOpticalDepth opt_depth_functor
m_opt_depth_functor{opt_depth_functor},
m_opt_depth_runtime_comp{opt_depth_runtime_comp},
m_emission_functor{emission_functor},
m_Ex_external_particle{E_external_particle[0]},
m_Ey_external_particle{E_external_particle[1]},
m_Ez_external_particle{E_external_particle[2]},
m_Bx_external_particle{B_external_particle[0]},
m_By_external_particle{B_external_particle[1]},
m_Bz_external_particle{B_external_particle[2]},
m_galerkin_interpolation{WarpX::galerkin_interpolation},
m_nox{WarpX::nox},
m_n_rz_azimuthal_modes{WarpX::n_rz_azimuthal_modes}
Expand All @@ -42,12 +48,6 @@ PhotonEmissionTransformFunc (QuantumSynchrotronGetOpticalDepth opt_depth_functor

m_get_position = GetParticlePosition<PIdx>(a_pti, a_offset);
m_get_externalEB = GetExternalEBField(a_pti, a_offset);
m_Ex_external_particle = E_external_particle[0];
m_Ey_external_particle = E_external_particle[1];
m_Ez_external_particle = E_external_particle[2];
m_Bx_external_particle = B_external_particle[0];
m_By_external_particle = B_external_particle[1];
m_Bz_external_particle = B_external_particle[2];

m_ex_arr = exfab.array();
m_ey_arr = eyfab.array();
Expand Down

0 comments on commit 827d648

Please sign in to comment.