Implementation of 0D dummy pusher and modifications to input parameters

to allow 0D runs.
This commit is contained in:
Jorge Gonzalez 2021-04-13 17:40:33 +02:00
commit f1d74d954c
4 changed files with 29 additions and 1 deletions

View file

@ -102,6 +102,9 @@ MODULE moduleSolver
CASE('1DRadCharged')
self%pushParticle => push1DRadCharged
CASE('0D')
self%pushParticle => push0D
CASE DEFAULT
CALL criticalError('Pusher ' // pusherType // ' not found','initPusher')
@ -483,6 +486,17 @@ MODULE moduleSolver
END SUBROUTINE push1DRadCharged
!Dummy pusher for 0D geometry
PURE SUBROUTINE push0D(part, tauIn)
USE moduleSpecies
USE moduleEM
IMPLICIT NONE
TYPE(particle), INTENT(inout):: part
REAL(8), INTENT(in):: tauIn
END SUBROUTINE push0D
SUBROUTINE doReset()
USE moduleSpecies
USE moduleMesh