FV3 Bundle
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | invert_pv (x, pv, x_north, x_south, rs, nx, ny, deltax, deltay, F1, F2, bet) |
Invert potential vorticity, returning streamfunction. More... | |
subroutine invert_pv | ( | real(kind=kind_real), dimension(nx,ny,2), intent(out) | x, |
real(kind=kind_real), dimension(nx,ny,2), intent(in) | pv, | ||
real(kind=kind_real), dimension(2), intent(in) | x_north, | ||
real(kind=kind_real), dimension(2), intent(in) | x_south, | ||
real(kind=kind_real), dimension(nx,ny), intent(in) | rs, | ||
integer, intent(in) | nx, | ||
integer, intent(in) | ny, | ||
real(kind=kind_real), intent(in) | deltax, | ||
real(kind=kind_real), intent(in) | deltay, | ||
real(kind=kind_real), intent(in) | F1, | ||
real(kind=kind_real), intent(in) | F2, | ||
real(kind=kind_real), intent(in) | bet | ||
) |
Invert potential vorticity, returning streamfunction.
Streamfunction is determined from potential vorticity by subtracting the beta and orography terms and then solving the resulting elliptic equation.
[in] | nx | Zonal grid dimension |
[in] | ny | Meridional grid dimension |
[out] | x | Streamfunction |
[in] | pv | Potential vorticity |
[in] | x_north | Streamfunction on northern wall |
[in] | x_south | Streamfunction on southern wall |
[in] | rs | Orography |
[in] | deltax | Zonal grid spacing (non-dimensional) |
[in] | deltay | Meridional grid spacing (non-dimensional) |
[in] | f1 | Coefficient in PV operator |
[in] | f2 | Coefficient in PV operator |
[in] | bet | NS Gradient of Coriolis parameter |
Definition at line 16 of file invert_pv.f90.