Boundaries (EM and particles) can now be updated at every iteration

This commit is contained in:
Jorge Gonzalez 2026-03-06 20:00:46 +01:00
commit ecb1364d6a
5 changed files with 115 additions and 34 deletions

View file

@ -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()