FV3 Bundle
pv_operator.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine pv_operator (x, pv, nx, ny, F1, F2, deltax, deltay)
 Potential vorticity operator. More...
 

Function/Subroutine Documentation

◆ pv_operator()

subroutine pv_operator ( real(kind=kind_real), dimension(nx,ny,2), intent(in)  x,
real(kind=kind_real), dimension(nx,ny,2), intent(out)  pv,
integer, intent(in)  nx,
integer, intent(in)  ny,
real(kind=kind_real), intent(in)  F1,
real(kind=kind_real), intent(in)  F2,
real(kind=kind_real), intent(in)  deltax,
real(kind=kind_real), intent(in)  deltay 
)

Potential vorticity operator.

Applies the linear operator part of the PV calculation:

\begin{eqnarray*} q_1 &=& \nabla^2 \psi_1 - F_1 (\psi_1 -\psi_2 ) \\\\ q_2 &=& \nabla^2 \psi_2 - F_2 (\psi_2 -\psi_1 ) \end{eqnarray*}

(Note: The full potential vorticity calculation is done in calc_pv, and includes additional beta and orography terms.)

Parameters
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[in]xStreamfunction
[out]pvResult of applying the operator to x
[in]f1Parameter in the PV operator
[in]f2Parameter in the PV operator
[in]deltaxZonal grid spacing (non-dimensional)
[in]deltayMeridional grid spacing (non-dimensional)

Definition at line 21 of file pv_operator.f90.

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