Skip to content

Add ID symplectic passmethod - #90

Open
Gabrielrezende-asc wants to merge 25 commits into
masterfrom
add-ID_sympletic
Open

Add ID symplectic passmethod#90
Gabrielrezende-asc wants to merge 25 commits into
masterfrom
add-ID_sympletic

Conversation

@Gabrielrezende-asc

Copy link
Copy Markdown

This PR adds a new pass method to perform symplectic integration of 3D fields, ie, fields with both transverse and longitudinal variation.
The changes include:

  1. New properties to the elements, kx, ks, s0 and coefs1 and coefs2. These properties will be used in the element "field3d", until the moment these properties can describe planar fields, a further generalization to describe fields with arbitrary polarization will be done.
  2. field3d.hpp was added to the library; it contains all the calculations necessary to execute the integration steps, including the calculation of the vector potential components.

Comment thread include/trackcpp/elements.h Outdated
Comment thread include/trackcpp/elements.h Outdated
Comment thread src/flat_file.cpp
cmd.compare("coefs_sin") == 0) {
CoefMatrix Element::* M = nullptr;

if (cmd == "coefs_cos")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at some places "coefs" is being used while in others "coeffs" is used. can it be standardized? maybe using "coeffs"...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants