FV3 Bundle
zonal_wind.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine zonal_wind (u, x, x_north, x_south, nx, ny, deltay)
 Calculate zonal wind component from the streamfunction. More...
 

Function/Subroutine Documentation

◆ zonal_wind()

subroutine zonal_wind ( real(kind=kind_real), dimension(nx,ny,2), intent(out)  u,
real(kind=kind_real), dimension(nx,ny,2), intent(in)  x,
real(kind=kind_real), dimension(2), intent(in)  x_north,
real(kind=kind_real), dimension(2), intent(in)  x_south,
integer, intent(in)  nx,
integer, intent(in)  ny,
real(kind=kind_real), intent(in)  deltay 
)

Calculate zonal wind component from the streamfunction.

Nothing fancy. It's just a standard centred finite difference.

Parameters
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[out]uZonal wind
[in]xStreamfunction
[in]x_northStreamfunction on northern wall
[in]x_southStreamfunction on southern wall
[in]deltayMeridional grid spacing (non-dimensional)

Definition at line 15 of file zonal_wind.f90.

Here is the caller graph for this function: