-
Notifications
You must be signed in to change notification settings - Fork 30
ChrPlasmaLens element: Support k<0, and fix uninitialized-variable bug in tracking of reference particle #1030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
2be89b0
Compiles?
kyrsjo de1830f
Fixed the math, no we can defocus with k<0!
kyrsjo 1267d4a
Initial add of defocusing ChrPlasmaLens
kyrsjo 61bfa90
Fix use of uninitialized variable for reference particle tracking in …
kyrsjo d39ef33
Remove forgotten debugging comment
kyrsjo b7e83f5
Splelling
kyrsjo 2ab5502
Fix tabs/spaces
kyrsjo 98abdfd
Fix uninitialized variable giving bad results for envelope tracking w…
kyrsjo 71140f9
Handle m_g=0 correctly in ChrPlasmaLens
kyrsjo 71a25b3
Use right litteral type in comparisons
kyrsjo 160d29f
Fix indentation
kyrsjo 72426ee
litteral types for assignments
kyrsjo 7702878
Merge branch 'development' into APL-negK
kyrsjo 6c683df
Rollback the changes in ConstF to what it looks in development branch…
kyrsjo af58e67
Merge branch 'development' into APL-negK
kyrsjo c9b76e5
Fix apochromatic_pl test as suggested by @cemitch99
kyrsjo b549e52
Merge branch 'development' into APL-negK
kyrsjo e2f4a72
Chromatic effect in drift as well, as in ChrQuad and in ChrDrift
kyrsjo b0c97ca
Merge branch 'development' into APL-negK
kyrsjo f80b2e8
Fix time propagation for g=0 in ChrPlasmaLens
kyrsjo 084bfe6
Fix time dependency for negative focusing
kyrsjo c28173f
Merge branch 'development' into APL-negK
kyrsjo 9594af2
Merge branch 'development' into APL-negK
kyrsjo 4183317
Start adding tests for APLs
kyrsjo 76770e1
Activate the APL test
kyrsjo 9f27a0a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] eac18d4
Refactoring
kyrsjo e0a4128
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8d857c9
Improve ChrPlasmaLens tests and add plot
kyrsjo 9c63ba5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2add452
Test the ChrPlasmaLens, not drift
kyrsjo 6c032c5
Coding conventions
kyrsjo 435c8f2
Cleanup
kyrsjo 53fe154
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8ba3b0d
Add focusing test to ChrPlasmaLens
kyrsjo f805026
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b8ce24f
Add defocusing test
kyrsjo bb5f6d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 206efcf
Cleanup and add to CMakeLists
kyrsjo bb670a1
Fix analytical estimate, generalize run script for test
kyrsjo ebd3d03
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d1cff56
Fix error in CMakeLists
kyrsjo 42cce64
Rename run_APL_ChrPlasmaLens.py -> run_APL.py
kyrsjo 7f06ab2
Swap reference values to analytical values
kyrsjo 4a70434
Catch error
kyrsjo 52a252f
Add README.rst for active_plasma_lens_test
kyrsjo efca31b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a64508a
Hopefully fixing REST syntax
kyrsjo 199cef0
Merge branch 'development' into APL-negK
kyrsjo fba821b
Merge branch 'development' into APL-negK
kyrsjo 4866ef8
Merge branch 'development' into APL-negK
cemitch99 2089acf
Update examples/active_plasma_lens/plot_APL_ChrPlasmaLens_analytical.py
cemitch99 083d8dd
Link README to examples documentation.
cemitch99 fb81266
Update docs/source/usage/examples.rst
cemitch99 aa5d51a
Apply suggestions from code review
cemitch99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.