Skip to content

Commit

Permalink
Inputs: Python w/ Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Dec 21, 2023
1 parent d137769 commit 271bf3e
Show file tree
Hide file tree
Showing 2 changed files with 370 additions and 123 deletions.
6 changes: 4 additions & 2 deletions src/particles/elements/mixin/thick.H
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ namespace impactx::elements
* @param ds Segment length in m
* @param nslice number of slices used for the application of space charge
*/
Thick(amrex::ParticleReal const ds, int const nslice )
Thick (
amrex::ParticleReal ds,
int nslice
)
: m_ds(ds), m_nslice(nslice)
{
}
Expand All @@ -52,7 +55,6 @@ namespace impactx::elements
return m_ds;
}

protected:
amrex::ParticleReal m_ds; //! segment length in m
int m_nslice; //! number of slices used for the application of space charge
};
Expand Down
Loading

0 comments on commit 271bf3e

Please sign in to comment.