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

#include <RFCavity.H>

Inheritance diagram for impactx::data::RFCavity_device_copyable:
impactx::RFCavity

Public Member Functions

 RFCavity_device_copyable (amrex::ParticleReal escale, amrex::ParticleReal freq, amrex::ParticleReal phase, int mapsteps=1)
 non-owning pointer to device sine coefficients More...
 
 RFCavity_device_copyable (RFCavity_device_copyable const &)=default
 
RFCavity_device_copyableoperator= (RFCavity_device_copyable const &)=default
 
 RFCavity_device_copyable (RFCavity_device_copyable &&)=default
 
RFCavity_device_copyableoperator= (RFCavity_device_copyable &&)=default
 

Public Attributes

amrex::ParticleReal m_escale
 
amrex::ParticleReal m_freq
 scaling factor for RF electric field More...
 
amrex::ParticleReal m_phase
 RF frequency in Hz. More...
 
int m_mapsteps
 RF driven phase in deg. 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

◆ RFCavity_device_copyable() [1/3]

impactx::data::RFCavity_device_copyable::RFCavity_device_copyable ( amrex::ParticleReal  escale,
amrex::ParticleReal  freq,
amrex::ParticleReal  phase,
int  mapsteps = 1 
)
inline

non-owning pointer to device sine coefficients

◆ RFCavity_device_copyable() [2/3]

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

◆ RFCavity_device_copyable() [3/3]

impactx::data::RFCavity_device_copyable::RFCavity_device_copyable ( RFCavity_device_copyable &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_cos_data

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

number of Fourier coefficients

◆ m_escale

amrex::ParticleReal impactx::data::RFCavity_device_copyable::m_escale

◆ m_freq

amrex::ParticleReal impactx::data::RFCavity_device_copyable::m_freq

scaling factor for RF electric field

◆ m_mapsteps

int impactx::data::RFCavity_device_copyable::m_mapsteps

RF driven phase in deg.

◆ m_ncoef

int impactx::data::RFCavity_device_copyable::m_ncoef = 0

number of map integration steps per slice

◆ m_phase

amrex::ParticleReal impactx::data::RFCavity_device_copyable::m_phase

RF frequency in Hz.

◆ m_sin_data

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

non-owning pointer to device cosine coefficients


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