Skip to content

Commit

Permalink
Update EmittanceInvariants.cpp
Browse files Browse the repository at this point in the history
Add literature citations.
  • Loading branch information
cemitch99 committed Sep 16, 2024
1 parent ea114ff commit 101803c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/particles/diagnostics/EmittanceInvariants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ namespace impactx::diagnostics
amrex::ParticleReal I4 = std::get<1>(invariants);
amrex::ParticleReal I6 = std::get<2>(invariants);

// Construct the coefficients of the cubic polynomial
// Construct the coefficients of the cubic polynomial.
// This expression for the characteristic polynomial can be found in:
// V. Balandin, W. Decking, and N. Golubeva, "Relations Between Projected
// Emittances and Eigenemittances," in IPAC2018, Shanghai, China, 2013,
// doi:10.48550/arXiv.1305.1532.
amrex::ParticleReal a = 1.0_prt;
amrex::ParticleReal b = -I2;
amrex::ParticleReal c = (pow(I2,2)-I4)/2.0_prt;
Expand Down

0 comments on commit 101803c

Please sign in to comment.