NAME
Grid_coordTransfm
SYNOPSIS
call Grid_coordTransfm(real(IN) :: x,
real(IN) :: y,
real(IN) :: z,
real(OUT) :: xout,
real(OUT) :: yout,
real(OUT) :: zout,
OPTIONAL,integer(IN) :: geometryIn,
OPTIONAL,integer(IN) :: geometryOut,
OPTIONAL,integer(IN) :: ndim,
OPTIONAL,real(IN) :: velI,
OPTIONAL,real(IN) :: velJ,
OPTIONAL,real(IN) :: velK,
OPTIONAL,real(OUT) :: velIOut,
OPTIONAL,real(OUT) :: velJOut,
OPTIONAL,real(OUT) :: velKOut)
DESCRIPTION
Convert between Cartesian and other coordinates. Supports the FLASH geometries CARTESIAN, CYLINDRICAL, SPHERICAL, and POLAR.
ARGUMENTS
x - First input coordinate.
y - Second input coordinate.
z - Third input coordinate.
xout - First output coordinate.
yout - Second output coordinate.
zout - Third output coordinate.
geometryIn - What is the input geometry? (default is the FLASH geometry established by
configuration and runtime parameter)
geometryOut - What is the output geometry? (default is the FLASH geometry established by
configuration and runtime parameter)
ndim - dimensionality (default N_DIM)
velI,velJ,velK - input velocity components
velIOut,velJOut,velKOut - output velocity components