next up previous
Next: Subroutines for global reductions Up: Subroutines and functions Previous: Subroutines to redistribute data

Subroutines to exchange boundary data

Current implementations provide a single routine to update the ghost boundaries for a distributed array:

        subroutine mesh_update_bdry(array)
        real array(....)

This subroutine updates the ghost boundaries of array (by exchanging boundary information with neighboring processes). The corners of the ghost boundaries are updated, but ghost boundaries that correspond to the boundaries of the global array are not. (Observe that the width of the ghost boundaries -- i.e., the width of the boundary to exchange -- is specified by the user via PARAMETER NGHOST.)

NOTE: Some implementations also include alternative boundary-exchange operations, including:

Refer to comments in the implementation code for details.



Berna L Massingill
Mon Jun 8 19:35:58 PDT 1998