Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 11, 2025
1 parent a605081 commit 9b464c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/particles/spacecharge/EnvelopeSpaceChargePush.H
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
namespace impactx::spacecharge
{
/** This function pushes the 6x6 beam covariance matrix for a slice
* of length ds, using the linear space charge fields in an rms
* of length ds, using the linear space charge fields in an rms
* equivalent 2D ellipse, as determined from the beam covariance matrix.
* Note: This is a reduced model of 2D space charge.
*
*
* @param[in] refpart reference particle
* @param[inout] cm covariance matrix
* @param[in] current beam current [A]
Expand Down
2 changes: 1 addition & 1 deletion src/tracking/envelope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namespace impactx
element(ref);
}

if (space_charge)
if (space_charge)
{
// push Covariance Matrix in 2D space charge fields
amrex::ParticleReal current=0.0; //TODO: This must be set.
Expand Down

0 comments on commit 9b464c1

Please sign in to comment.