Skip to content

Commit f40e8bd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 63bfc4c commit f40e8bd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/initialization/InitDistribution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace impactx
6262
} else if (particle_type == "Hminus") {
6363
qe = -1.0;
6464
massE = 939.294308; // value used in TraceWin
65-
gyromagnetic_anomaly = 1.7928473446; // this value is difficult to find, and needs to be checked
65+
gyromagnetic_anomaly = 1.7928473446; // this value is difficult to find, and needs to be checked
6666
}
6767
else { // default to electron
6868
ablastr::warn_manager::WMRecordWarning(

src/particles/ReferenceParticle.H

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,21 +252,21 @@ namespace impactx
252252
return charge / mass;
253253
}
254254

255-
/** Set reference particle anomalous magnetic dipole moment
255+
/** Set reference particle anomalous magnetic dipole moment
256256
* (aka gyromagnetic anomaly).
257257
*
258258
* @param gyromagnetic_anomaly_ref unitless
259-
*/
259+
*/
260260
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
261261
RefPart &
262262
set_gyromagnetic_anomaly (amrex::ParticleReal const gyromagnetic_anomaly_ref)
263263
{
264264
using namespace amrex::literals;
265-
265+
266266
this->gyromagnetic_anomaly = gyromagnetic_anomaly_ref;
267-
267+
268268
return *this;
269-
}
269+
}
270270

271271
};
272272

0 commit comments

Comments
 (0)