Fixed segmentation fault in Coulomb collisions
When the relative velocity between a charged particle and the background for Coulomb collisions (W in the code) was low, there was a segmentation fault. This is fixed now as if the norm of the relative velocity (normW) in the code is too low, no collision is applied.
This commit is contained in:
parent
a70788b95d
commit
f4448d9e7a
2 changed files with 16 additions and 1 deletions
|
|
@ -70,7 +70,6 @@ MODULE moduleSolver
|
|||
CHARACTER(:), ALLOCATABLE:: pusherType
|
||||
REAL(8):: tau, tauSp
|
||||
|
||||
!TODO: Reorganize if Cart pushers are combined
|
||||
SELECT CASE(mesh%dimen)
|
||||
CASE(0)
|
||||
self%pushParticle => push0D
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue