Main changes:
- Injection is now performed in parallalel (an IF statement could be required to avoid overhead when number of injected particles is below a margin). - Added the possibility for multiple injections.
This commit is contained in:
parent
a04b46a0f0
commit
73fc9f69c1
6 changed files with 80 additions and 76 deletions
|
|
@ -37,11 +37,10 @@ PROGRAM DSMC_Neutrals
|
|||
!$OMP SINGLE
|
||||
tStep = omp_get_wtime()
|
||||
tPush = omp_get_wtime()
|
||||
!$OMP END SINGLE
|
||||
|
||||
CALL doInjects()
|
||||
|
||||
!$OMP END SINGLE NOWAIT
|
||||
|
||||
!Push old particles
|
||||
CALL doPushes()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue