Skip to content
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

Remove Parabolic and Hyperbolic mirror restrictions #469

Merged
merged 16 commits into from
Feb 23, 2024
Merged

Conversation

jovoy
Copy link
Contributor

@jovoy jovoy commented Aug 28, 2023

jovoy Ok: 29 Powered by Pull Request Badge

This PR is makes the true Wolter optics infinite in both +z and -z direction so that the length can be set only in the library where it is used. This way, the mirror length could be removed from the parabolic and hyperbolic intersection calculations.
Also some commentation updates.

This PR is associated with PR `https://github.com/rest-for-physics/axionlib/pull/81

@jgalan
Copy link
Member

jgalan commented Aug 28, 2023

Probably the methods documentation should be updated to avoid the word optical

@jovoy jovoy requested a review from nkx111 as a code owner January 29, 2024 16:09
@jovoy jovoy requested review from jgalan and lobis February 20, 2024 21:16
@jgalan jgalan requested a review from Vindaar February 22, 2024 09:56
///
TVector3 GetHyperbolicVectorIntersection(const TVector3& pos, const TVector3& dir, const Double_t alpha,
const Double_t R3, const Double_t lMirr, const Double_t focal) {
const Double_t R3, const Double_t focal) {
Double_t beta = 3 * alpha;
Copy link
Member

Choose a reason for hiding this comment

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

This line, as mentioned in the other PR.

Copy link
Member

@Vindaar Vindaar left a comment

Choose a reason for hiding this comment

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

Feel free to ignore my comment about the definition of α, if you wish.

@jovoy jovoy merged commit 2002d9c into master Feb 23, 2024
63 checks passed
@jovoy jovoy deleted the jovoy-mirror_fix branch February 23, 2024 11:19
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