WarpX
|
#include <BreitWheelerEngineWrapper.H>
Public Member Functions | |
BreitWheelerEngine ()=default | |
BreitWheelerGetOpticalDepth | build_optical_depth_functor () const |
BreitWheelerEvolveOpticalDepth | build_evolve_functor () const |
BreitWheelerGeneratePairs | build_pair_functor () const |
bool | are_lookup_tables_initialized () const |
std::vector< char > | export_lookup_tables_data () const |
bool | init_lookup_tables_from_raw_data (const std::vector< char > &raw_data, amrex::ParticleReal bw_minimum_chi_phot) |
void | init_builtin_tables (amrex::ParticleReal bw_minimum_chi_phot) |
void | compute_lookup_tables (PicsarBreitWheelerCtrl ctrl, amrex::ParticleReal bw_minimum_chi_phot) |
PicsarBreitWheelerCtrl | get_default_ctrl () const |
amrex::ParticleReal | get_minimum_chi_phot () const |
Private Member Functions | |
void | init_builtin_dndt_table () |
void | init_builtin_pair_prod_table () |
Private Attributes | |
bool | m_lookup_tables_initialized = false |
amrex::ParticleReal | m_bw_minimum_chi_phot |
BW_dndt_table | m_dndt_table |
BW_pair_prod_table | m_pair_prod_table |
Wrapper for the Breit Wheeler engine of the PICSAR library
|
default |
Constructor requires no arguments.
bool BreitWheelerEngine::are_lookup_tables_initialized | ( | ) | const |
Checks if the optical tables are properly initialized
BreitWheelerEvolveOpticalDepth BreitWheelerEngine::build_evolve_functor | ( | ) | const |
Builds the functor to evolve the optical depth
BreitWheelerGetOpticalDepth BreitWheelerEngine::build_optical_depth_functor | ( | ) | const |
Builds the functor to initialize the optical depth
BreitWheelerGeneratePairs BreitWheelerEngine::build_pair_functor | ( | ) | const |
Builds the functor to generate the pairs
void BreitWheelerEngine::compute_lookup_tables | ( | PicsarBreitWheelerCtrl | ctrl, |
amrex::ParticleReal | bw_minimum_chi_phot | ||
) |
Computes the lookup tables. It does nothing unless WarpX is compiled with QED_TABLE_GEN=TRUE
[in] | ctrl | control params to generate the tables |
[in] | bw_minimum_chi_phot | minimum chi parameter to evolve the optical depth of a photon |
vector< char > BreitWheelerEngine::export_lookup_tables_data | ( | ) | const |
Export lookup tables data into a raw binary Vector
PicsarBreitWheelerCtrl BreitWheelerEngine::get_default_ctrl | ( | ) | const |
gets default values for the control parameters
amrex::ParticleReal BreitWheelerEngine::get_minimum_chi_phot | ( | ) | const |
|
private |
|
private |
void BreitWheelerEngine::init_builtin_tables | ( | amrex::ParticleReal | bw_minimum_chi_phot | ) |
Init lookup tables using built-in (low resolution) tables
[in] | bw_minimum_chi_phot | minimum chi parameter to evolve the optical depth of a photon |
bool BreitWheelerEngine::init_lookup_tables_from_raw_data | ( | const std::vector< char > & | raw_data, |
amrex::ParticleReal | bw_minimum_chi_phot | ||
) |
Init lookup tables from raw binary data.
[in] | raw_data | a vector of char |
[in] | bw_minimum_chi_phot | minimum chi parameter to evolve the optical depth of a photon |
|
private |
|
private |
|
private |
|
private |