ImpactX
Loading...
Searching...
No Matches
impactx::elements::ExactCFbendData Namespace Reference

Variables

int next_id = 0
 last used id for a created ExactCFbend
 
std::map< int, std::vector< amrex::ParticleReal > > h_k_normal = {}
 host: normal multipole coefficients of the magnetic field
 
std::map< int, std::vector< amrex::ParticleReal > > h_k_skew = {}
 host: skew multipole coefficients of the magnetic field
 
std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_k_normal = {}
 device: normal multipole coefficients of the magnetic field
 
std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_k_skew = {}
 device: skew multipole coefficients of the magnetic field
 

Detailed Description

Dynamic data for the ExactCFbend elements

Since we copy the element to the device, we cannot store this data on the element itself. But we can store pointers to this data with the element and keep a lookup table here, which we clean up in the end.

Variable Documentation

◆ d_k_normal

std::map<int, amrex::Gpu::DeviceVector<amrex::ParticleReal> > impactx::elements::ExactCFbendData::d_k_normal = {}
inline

device: normal multipole coefficients of the magnetic field

◆ d_k_skew

std::map<int, amrex::Gpu::DeviceVector<amrex::ParticleReal> > impactx::elements::ExactCFbendData::d_k_skew = {}
inline

device: skew multipole coefficients of the magnetic field

◆ h_k_normal

std::map<int, std::vector<amrex::ParticleReal> > impactx::elements::ExactCFbendData::h_k_normal = {}
inline

host: normal multipole coefficients of the magnetic field

◆ h_k_skew

std::map<int, std::vector<amrex::ParticleReal> > impactx::elements::ExactCFbendData::h_k_skew = {}
inline

host: skew multipole coefficients of the magnetic field

◆ next_id

int impactx::elements::ExactCFbendData::next_id = 0
inline

last used id for a created ExactCFbend