ImpactX
Variables
impactx::SoftSolenoidData Namespace Reference

Variables

static int next_id = 0
 last used id for a created soft solenoid More...
 
static std::map< int, std::vector< amrex::ParticleReal > > h_cos_coef = {}
 host: cosine coefficients in Fourier expansion of on-axis magnetic field Bz More...
 
static std::map< int, std::vector< amrex::ParticleReal > > h_sin_coef = {}
 host: sine coefficients in Fourier expansion of on-axis magnetic field Bz More...
 
static std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_cos_coef = {}
 device: cosine coefficients in Fourier expansion of on-axis magnetic field Bz More...
 
static std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_sin_coef = {}
 device: sine coefficients in Fourier expansion of on-axis magnetic field Bz More...
 

Detailed Description

Dynamic data for the SoftSolenoid 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_cos_coef

std::map<int, amrex::Gpu::DeviceVector<amrex::ParticleReal> > impactx::SoftSolenoidData::d_cos_coef = {}
inlinestatic

device: cosine coefficients in Fourier expansion of on-axis magnetic field Bz

◆ d_sin_coef

std::map<int, amrex::Gpu::DeviceVector<amrex::ParticleReal> > impactx::SoftSolenoidData::d_sin_coef = {}
inlinestatic

device: sine coefficients in Fourier expansion of on-axis magnetic field Bz

◆ h_cos_coef

std::map<int, std::vector<amrex::ParticleReal> > impactx::SoftSolenoidData::h_cos_coef = {}
inlinestatic

host: cosine coefficients in Fourier expansion of on-axis magnetic field Bz

◆ h_sin_coef

std::map<int, std::vector<amrex::ParticleReal> > impactx::SoftSolenoidData::h_sin_coef = {}
inlinestatic

host: sine coefficients in Fourier expansion of on-axis magnetic field Bz

◆ next_id

int impactx::SoftSolenoidData::next_id = 0
inlinestatic

last used id for a created soft solenoid