ImpactX
Loading...
Searching...
No Matches
impactx::elements::mixin::Thick Struct Reference

#include <thick.H>

Inheritance diagram for impactx::elements::mixin::Thick:
impactx::elements::CFbend impactx::elements::ChrAcc impactx::elements::ChrDrift impactx::elements::ChrPlasmaLens impactx::elements::ChrQuad impactx::elements::ConstF impactx::elements::Drift impactx::elements::ExactCFbend impactx::elements::ExactDrift impactx::elements::ExactMultipole impactx::elements::ExactQuad impactx::elements::ExactSbend impactx::elements::Quad impactx::elements::RFCavity impactx::elements::Sbend impactx::elements::SoftQuadrupole impactx::elements::SoftSolenoid impactx::elements::Sol

Public Member Functions

 Thick (amrex::ParticleReal ds, int nslice)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int nslice () const
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal ds () const
 

Public Attributes

amrex::ParticleReal m_ds
 
int m_nslice
 segment length in m
 

Detailed Description

This is a helper class for lattice elements with finite length

Constructor & Destructor Documentation

◆ Thick()

impactx::elements::mixin::Thick::Thick ( amrex::ParticleReal ds,
int nslice )
inline

A finite-length element

Parameters
dsSegment length in m
nslicenumber of slices used for the application of space charge

Member Function Documentation

◆ ds()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal impactx::elements::mixin::Thick::ds ( ) const
inline

Return the segment length

Returns
value in meters

◆ nslice()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int impactx::elements::mixin::Thick::nslice ( ) const
inline

Number of slices used for the application of space charge

Returns
positive integer

Member Data Documentation

◆ m_ds

amrex::ParticleReal impactx::elements::mixin::Thick::m_ds

◆ m_nslice

int impactx::elements::mixin::Thick::m_nslice

segment length in m


The documentation for this struct was generated from the following file: