Version 2 (modified by 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:
- nodeinfodef.f90 supplies the NodeInfo data structure and some functions that operate on it.
- treeops.f90 supplies the Node and Forest structures and accompanying methods, as well as the ApplyOn_ functions.
- mpi_exec.f90 supplies functions used to set up distributed processing (most of which tend to have MPI_ somewhere in the name).
- serial_exec.f90 supplies functions used for single-processor processing.
- beario.f90 provides some file IO functions.
- scheme module supplies time-stepping scheme.
- contrib/astro/problem.f90 Contains problem-specific variables and functions.