Skip to content

Commit

Permalink
Fix some indenting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pslocum committed Jul 26, 2023
1 parent 938eea2 commit 2d48d5e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Source/Kassiopeia/LMCFieldCalculator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,14 @@ namespace locust
double vMag = pow(tVx*tVx + tVy*tVy,0.5);
double zLocation = tKassParticleXP[2];
double dimZ = fInterface->fField->GetDimL();
double orbitPhase = tKassParticleXP[6]; // radians
double cycFrequency = tKassParticleXP[7];
double amplitude = 0.;
if (fabs(zLocation) < dimZ/2.) // Check whether the electron is inside the cavity length.
{
amplitude = 1.;
}
double orbitPhase = tKassParticleXP[6]; // radians
double cycFrequency = tKassParticleXP[7];
double amplitude = 0.;
if (fabs(zLocation) < dimZ/2.)
{
amplitude = 1.;
}


if ( !BypassTF )
{
Expand Down

0 comments on commit 2d48d5e

Please sign in to comment.