ImpactX
Public Member Functions | Protected Attributes | List of all members
impactx::elements::Thick Struct Reference

#include <thick.H>

Inheritance diagram for impactx::elements::Thick:
impactx::ConstF impactx::Drift impactx::Quad impactx::RFCavity impactx::Sbend impactx::Sol

Public Member Functions

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

Protected Attributes

amrex::ParticleReal m_ds
 
int m_nslice
 segment length in m More...
 

Detailed Description

This is a helper class for lattice elements with finite length

Constructor & Destructor Documentation

◆ Thick()

impactx::elements::Thick::Thick ( amrex::ParticleReal const  ds,
int const  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::Thick::ds ( ) const
inline

Return the segment length

Returns
value in meters

◆ nslice()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int impactx::elements::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::Thick::m_ds
protected

◆ m_nslice

int impactx::elements::Thick::m_nslice
protected

segment length in m


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