|
FV3 Bundle
|
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... | |
| 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.
| [in] | nx | Zonal grid dimension |
| [in] | ny | Meridional grid dimension |
| [out] | u | Zonal wind |
| [in] | x | Streamfunction |
| [in] | x_north | Streamfunction on northern wall |
| [in] | x_south | Streamfunction on southern wall |
| [in] | deltay | Meridional grid spacing (non-dimensional) |
Definition at line 15 of file zonal_wind.f90.