Boundaries (EM and particles) can now be updated at every iteration
This commit is contained in:
parent
b1dc2bf300
commit
ecb1364d6a
5 changed files with 115 additions and 34 deletions
|
|
@ -45,6 +45,9 @@ PROGRAM fpakc
|
|||
|
||||
!$OMP SINGLE
|
||||
CALL verboseError("Calculating initial EM field...")
|
||||
! Update EM boundary models
|
||||
call boundariesEM_update()
|
||||
|
||||
!$OMP END SINGLE
|
||||
CALL doEMField()
|
||||
!$OMP END PARALLEL
|
||||
|
|
@ -62,6 +65,12 @@ PROGRAM fpakc
|
|||
! Update global time step index
|
||||
timeStep = t
|
||||
|
||||
! Update Particle boundary models
|
||||
call boundariesParticle_update
|
||||
|
||||
! Update EM boundary models
|
||||
call boundariesEM_update()
|
||||
|
||||
!Checks if a species needs to me moved in this iteration
|
||||
CALL solver%updatePushSpecies()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue