Open Access

Table 1

Time-advance loop of particle-in-cell module.

Description Routine name Module/solver Eqs. Comments
Grid syncronization
Communicate mpi_b0 CORGI global communication
Communicate Ê mpi_e0 CORGI global communication
update halo regions upd_bc0 FIELDS local communication

First half of advance
Advance push_half_b1 FIELDS/PROPAGATOR (15) 2nd order FDTD
Communicate mpi_b1 CORGI global communication
Update halo regions upd_bc1 FIELDS local communication

Particle advance
Interpolate fields to particle locations interp_em PIC/INTERPOLATOR Linear scheme
Advance particle u and x push PIC/PUSHER (17)(18); Boris scheme: (C.1)–(C.7)

Second half of advance
Advance push_half_b2 FIELDS/PROPAGATOR (15) 2nd order FDTD
Communicate mpi_b2 CORGI global communication
Update halo regions upd_bc2 FIELDS local communication

Ê advance
Advance Ê push_e FIELDS/PROPAGATOR (14) 2nd order FDTD1

Current ĵ calculation
Calculate ĵ comp_curr PIC/DEPOSITER ZigZag scheme1
Initialize ĵ halo regions clear_vir_cur FIELDS
Communicate ĵ mpi_cur CORGI global communication
Update ĵ halo regions cur_exchange FIELDS local communication

Particle communications
Tag outflowing particles check_outg_prtcls PIC
Pack them into a message pack_outg_prtcls PIC
Communicate particles mpi_prtcls CORGI global communication
Unpack received messages unpack_vir_prtcls PIC
Receive incoming particles get_inc_prtcls PIC local communication
Remove outflowing particles del_trnsfrd_prtcls PIC
Clear global message arrays del_vir_prtcls PIC

Deposit current ĵ to Ê
Add ĵ to Ê add_cur FIELDS (14)

I/O and analysis
Write output files io IO

Notes. The listed routines are evaluated in order from top to bottom, with one loop corresponding to one time step. Changeable components and algorithms are flagged with a dagger ().

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.