-
Notifications
You must be signed in to change notification settings - Fork 22
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
Apply transverse aperture to thick elements. #788
Conversation
Add namespace amrex::literals
Add Python class for aperture mixin.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Note: Windows test fail now, but all tests were previously passing. |
Small changes (excluding naming and std::optional). Co-authored-by: Axel Huebl <[email protected]>
Remove "maybe unused".
Problems on Windows after merging in 'development'... |
for more information, see https://pre-commit.ci
py::arg("aperture_x"), | ||
py::arg("aperture_y"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above: we could avoid this breaking change for the Aperture
element itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The break of API arg name here might be ok, for python people might not use the named arguments yet that much.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll keep this as breaking change for the Python API.
We do not want to create variables from them.
Mirror directory structure and separate from "physical" elements as we do in Python.
For inputs file.
for more information, see https://pre-commit.ci
Co-authored-by: Axel Huebl <[email protected]>
Adds the comparison of particles against the transverse aperture within thick elements, at the end of each space charge slice. This will close #763 .
Note: Need to verify that using the same name
Aperture
for the thin aperture element and for the mixin class will not cause conflicts. Otherwise, one of these should be renamed.aperture
constructor non-breaking with warningsAperture
constructor is now breaking, please renamexmax
argument toaperture_x
and likewise fory