Fixing issue

Fixing an issue with reading tables led me to other issues with
collisions that I think are fixed right now. I am testing with the 1D
ionization model for ALPHIE and things seems to be working properly.
This commit is contained in:
Jorge Gonzalez 2023-11-21 09:53:36 +01:00
commit 4585390b50
3 changed files with 4 additions and 2 deletions

View file

@ -911,7 +911,9 @@ MODULE moduleMesh
!Loop over collisions
DO c = 1, interactionMatrix(k)%amount
IF (rnd_real <= probabilityColl(c)) THEN
!$OMP CRITICAL
CALL interactionMatrix(k)%collisions(c)%obj%collide(part_i, part_j, vRel)
!$OMP END CRITICAL
!If collisions are gonna be output, count the collision
IF (collOutput) THEN