FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Grid_getSingleCellCoords.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Grid_getSingleCellCoords (ind, level, edge, coords)
 

Function/Subroutine Documentation

◆ Grid_getSingleCellCoords()

subroutine Grid_getSingleCellCoords ( integer, dimension(1:MDIM), intent(in)  ind,
integer, intent(in)  level,
integer, intent(in)  edge,
real, dimension(1:MDIM), intent(out)  coords 
)

Returns the coordinates of a single cell of a given block.

ind - array holding the indices of the cell whose coordinates to return. In this implementation, global indices (for the given level) are assumed.

level - refinement level (1 based)

edge - indicates if user wants the left, center or right edge of the block options are LEFT_EDGE, RIGHT_EDGE, or CENTER. These constants are defined in constants.h

coords : returned coordinates of the specificed cell

Definition at line 37 of file Grid_getSingleCellCoords.F90.