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

Variables

int next_id = 0
 last used id for a created ExactMultipole
 
std::map< int, std::vector< amrex::ParticleReal > > h_vertices_x = {}
 host: normal multipole coefficients of the magnetic field
 
std::map< int, std::vector< amrex::ParticleReal > > h_vertices_y = {}
 host: skew multipole coefficients of the magnetic field
 
std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_vertices_x = {}
 device: normal multipole coefficients of the magnetic field
 
std::map< int, amrex::Gpu::DeviceVector< amrex::ParticleReal > > d_vertices_y = {}
 device: skew multipole coefficients of the magnetic field
 

Detailed Description

Dynamic data for the PolygonAperture 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_vertices_x

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

device: normal multipole coefficients of the magnetic field

◆ d_vertices_y

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

device: skew multipole coefficients of the magnetic field

◆ h_vertices_x

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

host: normal multipole coefficients of the magnetic field

◆ h_vertices_y

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

host: skew multipole coefficients of the magnetic field

◆ next_id

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

last used id for a created ExactMultipole