FLASH4.6.1 API

Generated from /asc/asci2/site/flashcode/secure/release_4p6/source/Grid/Grid_getBlkCenterCoords.F90 with ROBODoc v4.99.8 on Sun Sep 22 16:16:04 2019

TABLE OF CONTENTS


[Functions] source/Grid/Grid_getBlkCenterCoords

[top][index]

NAME

  Grid_getBlkCenterCoords

SYNOPSIS

  Grid_getBlkCenterCoords(integer(IN) :: blockId,
                         real(OUT)   :: blockCenter(MDIM))

DESCRIPTION

   Gets the coordinates of the center of the block identified by
   blockId.  Returns the coordinates in an array blockCenter

ARGUMENTS

  blockId - local id number of the block. for UG always 1
  blockCenter - returned array of size MDIM holding the blockCenter coords

 Example
   In 2 dimensions, if physical coordinates are ...
    
     ________________(0.5 1.0)
    |                |
    |                |
    |                |
    |                |
    |                |
    |                |
    |                |
    |_______________ |
  (-0.5, 0.0)

  then the values returned in blockCenter are 
  blockCenter(IAXIS) = 0.0
  blockCenter(JAXIS) = 0.5
  blockCenter(KAXIS) = 0.0 since the dimension is not included