diff options
author | 2022-06-13 09:22:40 -0700 | |
---|---|---|
committer | 2022-06-13 23:22:40 +0700 | |
commit | ee1548f32e406512076825daded6057d279abd4d (patch) | |
tree | 396ef5bd78e63bc9932864afc952b85f0dfed3ee /Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp | |
parent | 24f2978082a26dcf4e659f283c9b6b0acc37caad (diff) | |
download | WarpX-ee1548f32e406512076825daded6057d279abd4d.tar.gz WarpX-ee1548f32e406512076825daded6057d279abd4d.tar.zst WarpX-ee1548f32e406512076825daded6057d279abd4d.zip |
Extend MCC to accurately treat relativistic particles (#3118)
* initial commit for MCC to support relativistic particles
* proper calculation of collision energy when target mass is not much greater than projectile mass
* fix bug with scattered velocity rotation to lab frame
* refactor the MCC sequence for clarity
* use cross-section input to determine energy limits when calculating the maximum collision frequency
* code cleanup
* updated CI tests
* added Collisions section to Implementation Details in docs
* reset benchmark for mixed precision MCC test and other more code cleanup
* fix issue with single precision and simplified implementation
* use `double` for particle mass and energy calculations in MCC
* added comment to ImpactIonization.H explaining why `double`s are used for `energy` and `mass`
* switch to round off safe version of energy calculation and switched to using u instead of v for gamma*v in ParticleUtils.H
* update documentation
* simplified expression for collision energy, updated docs
* Add comment that the direct solver can be replaced for the MLMG solver once the issue with that solver is fixed (in the 1d MCC test)
Diffstat (limited to 'Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp')
-rw-r--r-- | Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp b/Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp index 4fa0bc744..b9e6f12e6 100644 --- a/Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp +++ b/Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp @@ -14,10 +14,6 @@ MCCProcess::MCCProcess ( const std::string& cross_section_file, const amrex::Real energy ) { - amrex::Print() << Utils::TextMsg::Info( - "Reading file " + cross_section_file + " for " - + scattering_process + " scattering cross-sections."); - // read the cross-section data file into memory readCrossSectionFile(cross_section_file, m_energies, m_sigmas_h); |