#include <PairWiseCoulombCollisionFunc.H>
|
AMREX_GPU_HOST_DEVICE AMREX_INLINE void | operator() (index_type const I1s, index_type const I1e, index_type const I2s, index_type const I2e, index_type const *AMREX_RESTRICT I1, index_type const *AMREX_RESTRICT I2, const SoaData_type &soa_1, const SoaData_type &soa_2, GetParticlePosition< PIdx >, GetParticlePosition< PIdx >, amrex::ParticleReal const q1, amrex::ParticleReal const q2, amrex::ParticleReal const m1, amrex::ParticleReal const m2, amrex::Real const dt, amrex::Real const dV, index_type coll_idx, index_type const, index_type *, index_type *, index_type *, amrex::ParticleReal *, amrex::RandomEngine const &engine) const |
| Executor of the PairWiseCoulombCollisionFunc class. Performs Coulomb collisions at the cell level by calling ElasticCollisionPerez. More...
|
|
◆ operator()()
AMREX_GPU_HOST_DEVICE AMREX_INLINE void PairWiseCoulombCollisionFunc::Executor::operator() |
( |
index_type const |
I1s, |
|
|
index_type const |
I1e, |
|
|
index_type const |
I2s, |
|
|
index_type const |
I2e, |
|
|
index_type const *AMREX_RESTRICT |
I1, |
|
|
index_type const *AMREX_RESTRICT |
I2, |
|
|
const SoaData_type & |
soa_1, |
|
|
const SoaData_type & |
soa_2, |
|
|
GetParticlePosition< PIdx > |
, |
|
|
GetParticlePosition< PIdx > |
, |
|
|
amrex::ParticleReal const |
q1, |
|
|
amrex::ParticleReal const |
q2, |
|
|
amrex::ParticleReal const |
m1, |
|
|
amrex::ParticleReal const |
m2, |
|
|
amrex::Real const |
dt, |
|
|
amrex::Real const |
dV, |
|
|
index_type |
coll_idx, |
|
|
index_type const |
, |
|
|
index_type * |
, |
|
|
index_type * |
, |
|
|
index_type * |
, |
|
|
amrex::ParticleReal * |
, |
|
|
amrex::RandomEngine const & |
engine |
|
) |
| const |
|
inline |
Executor of the PairWiseCoulombCollisionFunc class. Performs Coulomb collisions at the cell level by calling ElasticCollisionPerez.
- Parameters
-
[in] | I1s,I2s | is the start index for I1,I2 (inclusive). |
[in] | I1e,I2e | is the stop index for I1,I2 (exclusive). |
[in] | I1,I2 | index arrays. They determine all elements that will be used. |
[in,out] | soa_1,soa_2 | contain the struct of array data of the two species. |
[in] | q1,q2 | are charges. |
[in] | m1,m2 | are masses. |
[in] | dt | is the time step length between two collision calls. |
[in] | dV | is the volume of the corresponding cell. |
[in] | coll_idx | is the collision index offset. |
[in] | engine | the random engine. |
◆ m_CoulombLog
amrex::ParticleReal PairWiseCoulombCollisionFunc::Executor::m_CoulombLog |
◆ m_isSameSpecies
bool PairWiseCoulombCollisionFunc::Executor::m_isSameSpecies |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Particles/Collision/BinaryCollision/Coulomb/PairWiseCoulombCollisionFunc.H