FV3 Bundle
invert_pv.f90 File Reference

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...
 

Function/Subroutine Documentation

◆ invert_pv()

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.

Parameters
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[out]xStreamfunction
[in]pvPotential vorticity
[in]x_northStreamfunction on northern wall
[in]x_southStreamfunction on southern wall
[in]rsOrography
[in]deltaxZonal grid spacing (non-dimensional)
[in]deltayMeridional grid spacing (non-dimensional)
[in]f1Coefficient in PV operator
[in]f2Coefficient in PV operator
[in]betNS Gradient of Coriolis parameter

Definition at line 16 of file invert_pv.f90.

Here is the call graph for this function:
Here is the caller graph for this function: