ImpactX
Public Member Functions | Public Attributes | List of all members
impactx::data::SoftQuadrupole_device_copyable Struct Reference

#include <SoftQuad.H>

Inheritance diagram for impactx::data::SoftQuadrupole_device_copyable:
impactx::SoftQuadrupole

Public Member Functions

 SoftQuadrupole_device_copyable (amrex::ParticleReal gscale, int mapsteps=1)
 non-owning pointer to device sine coefficients More...
 
 SoftQuadrupole_device_copyable (SoftQuadrupole_device_copyable const &)=default
 
SoftQuadrupole_device_copyableoperator= (SoftQuadrupole_device_copyable const &)=default
 
 SoftQuadrupole_device_copyable (SoftQuadrupole_device_copyable &&)=default
 
SoftQuadrupole_device_copyableoperator= (SoftQuadrupole_device_copyable &&)=default
 

Public Attributes

amrex::ParticleReal m_gscale
 
int m_mapsteps
 scaling factor for quad field gradient More...
 
int m_ncoef = 0
 number of map integration steps per slice More...
 
amrex::ParticleReal * m_cos_data = nullptr
 number of Fourier coefficients More...
 
amrex::ParticleReal * m_sin_data = nullptr
 non-owning pointer to device cosine coefficients More...
 

Detailed Description

Data members we can copy to device with a memcpy.

Constructor & Destructor Documentation

◆ SoftQuadrupole_device_copyable() [1/3]

impactx::data::SoftQuadrupole_device_copyable::SoftQuadrupole_device_copyable ( amrex::ParticleReal  gscale,
int  mapsteps = 1 
)
inline

non-owning pointer to device sine coefficients

◆ SoftQuadrupole_device_copyable() [2/3]

impactx::data::SoftQuadrupole_device_copyable::SoftQuadrupole_device_copyable ( SoftQuadrupole_device_copyable const &  )
default

◆ SoftQuadrupole_device_copyable() [3/3]

impactx::data::SoftQuadrupole_device_copyable::SoftQuadrupole_device_copyable ( SoftQuadrupole_device_copyable &&  )
default

Member Function Documentation

◆ operator=() [1/2]

SoftQuadrupole_device_copyable& impactx::data::SoftQuadrupole_device_copyable::operator= ( SoftQuadrupole_device_copyable const &  )
default

◆ operator=() [2/2]

SoftQuadrupole_device_copyable& impactx::data::SoftQuadrupole_device_copyable::operator= ( SoftQuadrupole_device_copyable &&  )
default

Member Data Documentation

◆ m_cos_data

amrex::ParticleReal* impactx::data::SoftQuadrupole_device_copyable::m_cos_data = nullptr

number of Fourier coefficients

◆ m_gscale

amrex::ParticleReal impactx::data::SoftQuadrupole_device_copyable::m_gscale

◆ m_mapsteps

int impactx::data::SoftQuadrupole_device_copyable::m_mapsteps

scaling factor for quad field gradient

◆ m_ncoef

int impactx::data::SoftQuadrupole_device_copyable::m_ncoef = 0

number of map integration steps per slice

◆ m_sin_data

amrex::ParticleReal* impactx::data::SoftQuadrupole_device_copyable::m_sin_data = nullptr

non-owning pointer to device cosine coefficients


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