Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2023
1 parent 757522c commit 9c6a011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/particles/elements/ShortRF.H
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace impactx
static constexpr auto name = "ShortRF";
using PType = ImpactXParticleContainer::ParticleType;

/** A short RF cavity element
/** A short RF cavity element
*
* @param V Normalized RF voltage V = maximum energy gain/(m*c^2)
* @param freq RF frequency in Hz
Expand Down
2 changes: 1 addition & 1 deletion src/python/elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void init_elements(py::module& m)
py::class_<Buncher, elements::Thin>(me, "Buncher")
.def(py::init<
amrex::ParticleReal const,
amrex::ParticleReal const>(),
amrex::ParticleReal const>(),
py::arg("V"), py::arg("k"),
"A short linear RF cavity element at zero-crossing for bunching."
)
Expand Down

0 comments on commit 9c6a011

Please sign in to comment.