|
WarpX
|
#include <QuantumSyncEngineWrapper.H>
Public Member Functions | |
| QuantumSynchrotronEngine ()=default | |
| QuantumSynchrotronGetOpticalDepth | build_optical_depth_functor () |
| QuantumSynchrotronEvolveOpticalDepth | build_evolve_functor () |
| QuantumSynchrotronPhotonEmission | build_phot_em_functor () |
| 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 qs_minimum_chi_part) |
| void | init_builtin_tables (amrex::ParticleReal qs_minimum_chi_part) |
| void | compute_lookup_tables (PicsarQuantumSyncCtrl ctrl, amrex::ParticleReal qs_minimum_chi_part) |
| PicsarQuantumSyncCtrl | get_default_ctrl () const |
| amrex::ParticleReal | get_minimum_chi_part () const |
Private Member Functions | |
| void | init_builtin_dndt_table () |
| void | init_builtin_phot_em_table () |
Private Attributes | |
| bool | m_lookup_tables_initialized = false |
| amrex::ParticleReal | m_qs_minimum_chi_part |
| QS_dndt_table | m_dndt_table |
| QS_phot_em_table | m_phot_em_table |
Wrapper for the Quantum Synchrotron engine of the PICSAR library
|
default |
Constructor requires no arguments.
|
nodiscard |
Checks if the optical tables are properly initialized
|
nodiscard |
Builds the functor to evolve the optical depth
|
nodiscard |
Builds the functor to initialize the optical depth
|
nodiscard |
Builds the functor to generate photons
| void QuantumSynchrotronEngine::compute_lookup_tables | ( | PicsarQuantumSyncCtrl | ctrl, |
| amrex::ParticleReal | qs_minimum_chi_part ) |
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] | qs_minimum_chi_part | minimum chi parameter to evolve the optical depth of a particle. |
|
nodiscard |
Export lookup tables data into a raw binary Vector
|
nodiscard |
gets default values for the control parameters
|
nodiscard |
|
private |
|
private |
| void QuantumSynchrotronEngine::init_builtin_tables | ( | amrex::ParticleReal | qs_minimum_chi_part | ) |
Init lookup tables using built-in (low resolution) tables
| [in] | qs_minimum_chi_part | minimum chi parameter to evolve the optical depth of a particle. |
| bool QuantumSynchrotronEngine::init_lookup_tables_from_raw_data | ( | const std::vector< char > & | raw_data, |
| amrex::ParticleReal | qs_minimum_chi_part ) |
Init lookup tables from raw binary data.
| [in] | raw_data | a vector of char |
| [in] | qs_minimum_chi_part | minimum chi parameter to evolve the optical depth of a particle. |
|
private |
|
private |
|
private |
|
private |