Source file boundary.F90

The source file boundary.F90 contains all routines related to boundary conditions and most of the communication between different processors. This includes the communication with remote processors to load the ghost cells and the special treatment of the domain boundaries in the y direction if non-periodic boundary conditions are applied. Note, that the exchange of particles according to their position in space is handled by the routine redistribute in the source file particles.F90. Communication related to the determination of the charge and the current density (subroutine calc_rho and calc_j, source file particles.F90) is performed in the subroutine bound_rho_j in the source file particles.F90.

The file boundary.F90 consists of the main subroutines that act as entry points to be called from other source code files and internal support routines. The external entry points are:

To perform the tasks of the subroutines described above several internal support routines are used: Switches: