WarpX
|
This class performs DSMC (direct simulation Monte Carlo) collisions within a cell. Particles are paired up and for each pair a stochastic process determines whether a collision occurs. The algorithm is similar to the one used for binary Coulomb collisions and the nuclear fusion module. More...
#include <DSMCFunc.H>
Classes | |
struct | Executor |
Public Member Functions | |
DSMCFunc ()=default | |
Constructor of the DSMCFunc class. More... | |
DSMCFunc (const std::string &collision_name, MultiParticleContainer const *mypc, bool isSameSpecies) | |
Constructor of the DSMCFunc class. More... | |
Executor const & | executor () const |
Private Attributes | |
amrex::Vector< ScatteringProcess > | m_scattering_processes |
amrex::Gpu::DeviceVector< ScatteringProcess::Executor > | m_scattering_processes_exe |
Executor | m_exe |
This class performs DSMC (direct simulation Monte Carlo) collisions within a cell. Particles are paired up and for each pair a stochastic process determines whether a collision occurs. The algorithm is similar to the one used for binary Coulomb collisions and the nuclear fusion module.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
default |
Constructor of the DSMCFunc class.
DSMCFunc::DSMCFunc | ( | const std::string & | collision_name, |
MultiParticleContainer const * | mypc, | ||
bool | isSameSpecies | ||
) |
Constructor of the DSMCFunc class.
[in] | collision_name | the name of the collision |
[in] | mypc | pointer to the MultiParticleContainer |
[in] | isSameSpecies | whether the two colliding species are the same |
|
inline |
|
private |
|
private |
|
private |