wiki:TransferOverlap

Version 5 (modified by trac, 12 years ago) ( diff )

SUBROUTINE TransferOverlap (INTEGER mSource, INTEGER mTarget, NodeInfo SourceInfo, NodeInfo TargetInfo)


Click here to view the v166 source.

Looks for cells overlapping between SourceInfo and TargetInfo, and sets the user variables and grid cell counts in TargetInfo equal to the corresponding in SourceInfo. If there are no cells overlapping between the two grids, then this subroutine just returns without doing anything. Note that the two NodeInfo structures must have the same number of dimensions, although TransferOverlap() doesn't check for it. TransferOverlap() also triggers the transfer of auxiliary variables through a call to OverlapAuxCopy().

In single-processor mode or on a master processor, this function does the copying itself; on a worker processor in multi-processor mode, the copying of values is handled by the MPI_TransferOverlap() and MPI_TransferAuxOverlap() functions.


INCLUDES:

None.

USES:

Note: See TracWiki for help on using the wiki.