This class defines an operator to create product particles from DSMC collisions and sets the particle properties (position, momentum, weight).
More...
|
| | SplitAndScatterFunc ()=default |
| | Default constructor of the SplitAndScatterFunc class.
|
| |
| | SplitAndScatterFunc (const std::string &collision_name, MultiParticleContainer const *mypc) |
| | Constructor of the SplitAndScatterFunc class.
|
| |
| AMREX_INLINE amrex::Vector< int > | operator() (const index_type &n_total_pairs, ParticleTileType &ptile1, ParticleTileType &ptile2, const amrex::Vector< WarpXParticleContainer * > &pc_products, ParticleTileType **AMREX_RESTRICT tile_products, const amrex::ParticleReal m1, const amrex::ParticleReal m2, const amrex::Vector< amrex::ParticleReal > &, const index_type *AMREX_RESTRICT mask, amrex::Vector< index_type > &products_np, const SmartCopy *AMREX_RESTRICT copy_species1, const SmartCopy *AMREX_RESTRICT copy_species2, const index_type *AMREX_RESTRICT p_pair_indices_1, const index_type *AMREX_RESTRICT p_pair_indices_2, const amrex::ParticleReal *AMREX_RESTRICT p_pair_reaction_weight, const amrex::ParticleReal *) const |
| | Function that performs the particle scattering and injection due to binary collisions.
|
| |
This class defines an operator to create product particles from DSMC collisions and sets the particle properties (position, momentum, weight).