|
chombo-discharge
|
SoA payload for the transient particles used by ItoKMCStepper::computeEdotJSource. More...
#include <CD_ItoKMCFieldParticle.H>
Public Attributes | |
| ParticleReal | phiA = 0.0 |
| Electrostatic potential at position A. | |
| ParticleReal | phiB = 0.0 |
| Electrostatic potential at position B. | |
| double | x0_x = 0.0 |
| Alternate (other) position, x-component (double: position-like). | |
| double | x0_y = 0.0 |
| Alternate (other) position, y-component (double: position-like). | |
| double | x0_z = 0.0 |
| Alternate (other) position, z-component (double: position-like). | |
SoA payload for the transient particles used by ItoKMCStepper::computeEdotJSource.
The energy increase as a particle moves from position A to position B is q*(V(B)-V(A)). phiA and phiB hold the interpolated electrostatic potential at the two positions; x0 holds the "other" position (A or B), one member per spatial dimension (the z-component exists only when CH_SPACEDIM == 3), so the single position-based interpolation routine can be reused at both locations. Weight and position are container-owned columns, NOT payload members.