aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Collision/BackgroundMCC/MCCProcess.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-12Replace amrex::Abort with WARPX_ABORT_WITH_MESSAGE (#3965)Gravatar Luca Fedeli 1-2/+2
* replace amrex::Abort with WarpX macros * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * adding back missing include * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * use amrex::Abort in a GPU kernel * bump precision
2022-07-27ParticleReal for external fields and collisions (#3262)Gravatar David Grote 1-9/+9
* Use ParticleReal consistently in GetExternalFields * Use ParticleReal in Collision code * Use ParticleReal in Algorithms/KineticEnergy.H * Fix _prt in Algorithms/KineticEnergy.H
2022-06-13Extend MCC to accurately treat relativistic particles (#3118)Gravatar Roelof Groenewald 1-4/+0
* 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)
2022-03-09move MCC modules to a new folder inside "Particles/Collision/" (#2945)Gravatar Roelof Groenewald 1-0/+129