-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply transverse aperture to thick elements. (#788)
* Initial files for applying aperture to thick elements. * Update aperture.H Add namespace amrex::literals * Add Python bindings for drift. * Update elements.cpp Add Python class for aperture mixin. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add draft example. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Move if conditional into mixin. * Add drift aperture input documentation. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Small changes (excluding naming and std::optional). Co-authored-by: Axel Huebl <[email protected]> * Update Drift.H Remove "maybe unused". * Change name xmax -> x_aperture... * Fix one missing xmax -> x_aperture in elements.cpp. * Modify naming x_aperture -> aperture_x. * Update src/initialization/InitElement.cpp * Test workflow for adding elements using CFbend. * Add aperture input to all thick elements. * Update thin Aperture element naming. * Update element parameter docs. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Rename Mixin Class: `PipeAperture` * Python: Mixin Elements w/o Constructor We do not want to create variables from them. * C++: Add `mixin::` Element Namespace Mirror directory structure and separate from "physical" elements as we do in Python. * Input Aperture: Backward Compatible Name For inputs file. * Last Commit: Forgot Else * Rename Mixin File: Pipe Aperture * Document benchmark example. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove comment re idcpu Co-authored-by: Axel Huebl <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Axel Huebl <[email protected]>
- Loading branch information
1 parent
2f38ef9
commit 7f8d15f
Showing
54 changed files
with
1,050 additions
and
330 deletions.
There are no files selected for viewing
This file contains 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.