wiki:GhostOverlap

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

GhostOverlap (INTEGER(MaxDims, 2) mSource, INTEGER(MaxDims, 2) mTarget, NodeInfo SourceInfo, NodeInfo TargetInfo, INTEGER(MaxDims) PeriodicOffsetFactor)


Click here to view the v166 source.

This function essentially works the same way as TransferOverlap(), except that it only affects overlapping ghost cells.

Looks for ghost cells overlapping between SourceInfo and TargetInfo, and sets the user variables and grid cell counts in TargetInfo equal to the corresponding values in SourceInfo. If the two grids have no overlapping cells, then the subroutine returns without doing anything. Note that the two NodeInfo structures must have the same number of dimensions.

Unlike TransferOverlap() and TransferPeriodicOverlap(), GhostOverlap does not have any separate multi-processor code; it's all handled serially.


INCLUDES:

None.

USES:

Note: See TracWiki for help on using the wiki.