FLASH4.3 API

Generated from /asc/asci2/site/flashcode/secure/release_4p3/source/Grid/Grid_getBlkIDFromPos.F90 with ROBODoc v4.99.8 on Fri Jul 17 16:16:09 2015

TABLE OF CONTENTS


[Functions] source/Grid/Grid_getBlkIDFromPos

[top][index]

NAME

  Grid_getBlkIDFromPos

SYNOPSIS

  call Grid_getBlkIDFromPos(real(IN)     :: pos(:), 
                            integer(OUT) :: ansBlockID,
                            integer(OUT) :: ansProcID,
                   optional,integer(IN)  :: comm)

DESCRIPTION

  Returns the processor and blkID
  containing the cell that overlaps with the 
  specified position co-ordinate

ARGUMENTS

  pos        :: co-ordinates of the point
  ansBlockID    :: the local blockID of the block that contains the point
  ansProcID     :: the processor ID that contains the point
  comm       :: if communication is necessary, a communicator must be
                specified here.
                Communication is necessary unless the setup uses BITTREE.
                The comm argument is ignored if BITTREE is used.

NOTES

  If a communicator comm is present and used, then this routine must be
  called collectively by all MPI tasks in the communicator.