#include <Thermal.H>
|
| | ThermalData (amrex::ParticleReal kin, amrex::ParticleReal T1in, amrex::ParticleReal T2in, amrex::ParticleReal p1in, amrex::ParticleReal p2in, amrex::ParticleReal win) |
| |
| void | generate_radial_dist (amrex::ParticleReal bunch_charge, RefPart const &refpart) |
| |
| amrex::ParticleReal | matched_scale_radius () |
| |
| void | integrate (amrex::ParticleReal in, amrex::ParticleReal out, int steps) |
| |
| void | map1 (amrex::ParticleReal const tau, amrex::ParticleReal &reval) |
| |
| void | map2 (amrex::ParticleReal const tau, amrex::ParticleReal &reval) |
| |
|
| amrex::ParticleReal | m_f1 |
| | cumulative distribution of first population
|
| |
| amrex::ParticleReal | m_f2 |
| | cumulative distribution of second population
|
| |
| amrex::ParticleReal | m_phi1 |
| | potential generated by first population
|
| |
| amrex::ParticleReal | m_phi2 |
| | potential generated by second population
|
| |
| amrex::ParticleReal | m_p1 |
| | normalization constant of first population
|
| |
| amrex::ParticleReal | m_p2 |
| | normalization constant of second population
|
| |
| amrex::ParticleReal | m_rmin |
| | minimum r value for tabulated cdf
|
| |
| amrex::ParticleReal | m_rmax |
| | maximum r value for tabulated cdf
|
| |
| int | m_nbins |
| | number of radial bins for tabulated cdf
|
| |
| amrex::ParticleReal * | m_cdf1 = nullptr |
| | tabulated cumulative distribution (first)
|
| |
| amrex::ParticleReal * | m_cdf2 = nullptr |
| | tabulated cumulative distribution (second)
|
| |
| amrex::ParticleReal | m_Cintensity |
| | space charge intensity parameter
|
| |
| amrex::ParticleReal | m_bg |
| | reference value of relativistic beta*gamma
|
| |
| amrex::ParticleReal | m_k |
| | linear focusing strength (1/meters)
|
| |
| amrex::ParticleReal | m_T1 |
| | temperature k*T of the primary (core) population
|
| |
| amrex::ParticleReal | m_T2 |
| | temperature k*T of the secondary (halo) population
|
| |
| amrex::ParticleReal | m_w |
| | weight of the secondary (halo) population
|
| |
|
| static constexpr amrex::ParticleReal | tolerance = 1.0e-3 |
| | tolerance for matching condition
|
| |
| static constexpr amrex::ParticleReal | rin = 1.0e-10 |
| | initial r value for numerical integration
|
| |
| static constexpr amrex::ParticleReal | rout = 10.0 |
| | final r value for numerical integration
|
| |
| static constexpr int | nsteps = 2000 |
| | number of radial steps for numerical integration
|
| |
| static std::unique_ptr< amrex::Gpu::DeviceVector< amrex::ParticleReal > > | m_d_cdf1 |
| |
| static std::unique_ptr< amrex::Gpu::DeviceVector< amrex::ParticleReal > > | m_d_cdf2 |
| |
◆ ThermalData()
| impactx::distribution::ThermalData::ThermalData |
( |
amrex::ParticleReal | kin, |
|
|
amrex::ParticleReal | T1in, |
|
|
amrex::ParticleReal | T2in, |
|
|
amrex::ParticleReal | p1in, |
|
|
amrex::ParticleReal | p2in, |
|
|
amrex::ParticleReal | win ) |
|
inline |
◆ generate_radial_dist()
| void impactx::distribution::ThermalData::generate_radial_dist |
( |
amrex::ParticleReal | bunch_charge, |
|
|
RefPart const & | refpart ) |
|
inline |
Populate the radial CDF data.
- Parameters
-
| [in] | bunch_charge | the bunch charge in C |
| [in] | refpart | the reference particle |
◆ integrate()
| void impactx::distribution::ThermalData::integrate |
( |
amrex::ParticleReal | in, |
|
|
amrex::ParticleReal | out, |
|
|
int | steps ) |
|
inline |
◆ map1()
| void impactx::distribution::ThermalData::map1 |
( |
amrex::ParticleReal const | tau, |
|
|
amrex::ParticleReal & | reval ) |
|
inline |
◆ map2()
| void impactx::distribution::ThermalData::map2 |
( |
amrex::ParticleReal const | tau, |
|
|
amrex::ParticleReal & | reval ) |
|
inline |
◆ matched_scale_radius()
| amrex::ParticleReal impactx::distribution::ThermalData::matched_scale_radius |
( |
| ) |
|
|
inline |
◆ m_bg
| amrex::ParticleReal impactx::distribution::ThermalData::m_bg |
reference value of relativistic beta*gamma
◆ m_cdf1
| amrex::ParticleReal* impactx::distribution::ThermalData::m_cdf1 = nullptr |
tabulated cumulative distribution (first)
◆ m_cdf2
| amrex::ParticleReal* impactx::distribution::ThermalData::m_cdf2 = nullptr |
tabulated cumulative distribution (second)
◆ m_Cintensity
| amrex::ParticleReal impactx::distribution::ThermalData::m_Cintensity |
space charge intensity parameter
◆ m_d_cdf1
◆ m_d_cdf2
◆ m_f1
| amrex::ParticleReal impactx::distribution::ThermalData::m_f1 |
cumulative distribution of first population
◆ m_f2
| amrex::ParticleReal impactx::distribution::ThermalData::m_f2 |
cumulative distribution of second population
◆ m_k
| amrex::ParticleReal impactx::distribution::ThermalData::m_k |
linear focusing strength (1/meters)
◆ m_nbins
| int impactx::distribution::ThermalData::m_nbins |
number of radial bins for tabulated cdf
◆ m_p1
| amrex::ParticleReal impactx::distribution::ThermalData::m_p1 |
normalization constant of first population
◆ m_p2
| amrex::ParticleReal impactx::distribution::ThermalData::m_p2 |
normalization constant of second population
◆ m_phi1
| amrex::ParticleReal impactx::distribution::ThermalData::m_phi1 |
potential generated by first population
◆ m_phi2
| amrex::ParticleReal impactx::distribution::ThermalData::m_phi2 |
potential generated by second population
◆ m_rmax
| amrex::ParticleReal impactx::distribution::ThermalData::m_rmax |
maximum r value for tabulated cdf
◆ m_rmin
| amrex::ParticleReal impactx::distribution::ThermalData::m_rmin |
minimum r value for tabulated cdf
◆ m_T1
| amrex::ParticleReal impactx::distribution::ThermalData::m_T1 |
temperature k*T of the primary (core) population
◆ m_T2
| amrex::ParticleReal impactx::distribution::ThermalData::m_T2 |
temperature k*T of the secondary (halo) population
◆ m_w
| amrex::ParticleReal impactx::distribution::ThermalData::m_w |
weight of the secondary (halo) population
◆ nsteps
| int impactx::distribution::ThermalData::nsteps = 2000 |
|
staticconstexpr |
number of radial steps for numerical integration
◆ rin
| amrex::ParticleReal impactx::distribution::ThermalData::rin = 1.0e-10 |
|
staticconstexpr |
initial r value for numerical integration
◆ rout
| amrex::ParticleReal impactx::distribution::ThermalData::rout = 10.0 |
|
staticconstexpr |
final r value for numerical integration
◆ tolerance
| amrex::ParticleReal impactx::distribution::ThermalData::tolerance = 1.0e-3 |
|
staticconstexpr |
tolerance for matching condition
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/1182/src/particles/distribution/Thermal.H