@@ -204,8 +204,8 @@ subroutine init_simulation(this)
204
204
call this% in % get(' simulation.nspecies' ,this% nspecies)
205
205
206
206
call this% fields% new (this% in )
207
- call this% beams% new (this% in ,this % fields )
208
- call this% species% new (this% in ,this % fields, (this% start3d-1 )* dt)
207
+ call this% beams% new (this% in )
208
+ call this% species% new (this% in ,(this% start3d-1 )* dt)
209
209
210
210
call this% init_diag()
211
211
@@ -371,13 +371,12 @@ subroutine end_sim_fields(this)
371
371
372
372
end subroutine end_sim_fields
373
373
!
374
- subroutine init_sim_beams (this ,input , fields )
374
+ subroutine init_sim_beams (this ,input )
375
375
376
376
implicit none
377
377
378
378
class(sim_beams), intent (inout ) :: this
379
379
type (input_json), pointer , intent (inout ) :: input
380
- class(sim_fields), intent (inout ) :: fields
381
380
! local data
382
381
character (len= 18 ), save :: class = ' sim_beams:'
383
382
character (len= 18 ), save :: sname = ' init_sim_beams:'
@@ -480,13 +479,12 @@ subroutine end_sim_beams(this)
480
479
481
480
end subroutine end_sim_beams
482
481
!
483
- subroutine init_sim_species (this ,input ,fields , s )
482
+ subroutine init_sim_species (this ,input ,s )
484
483
485
484
implicit none
486
485
487
486
class(sim_species), intent (inout ) :: this
488
487
type (input_json), pointer , intent (inout ) :: input
489
- class(sim_fields), intent (inout ) :: fields
490
488
real , intent (in ) :: s
491
489
! local data
492
490
character (len= 18 ), save :: class = ' sim_species:'
0 commit comments