FV3 Bundle
calc_pv_ad.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine calc_pv_ad (pv, x, nx, ny, f1, f2, deltax, deltay)
 Calculate potential vorticity - Adjoint. More...
 

Function/Subroutine Documentation

◆ calc_pv_ad()

subroutine calc_pv_ad ( real(kind=kind_real), dimension(nx,ny,2), intent(inout)  pv,
real(kind=kind_real), dimension(nx,ny,2), intent(inout)  x,
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 
)

Calculate potential vorticity - Adjoint.

Parameters
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[in,out]pvPV adjoint variable
[in,out]xStreamfunction adjoint variable
[in]f1Coefficient in PV operator
[in]f2Coefficient in PV operator
[in]deltaxZonal grid spacing (non-dimensional)
[in]deltayMeridional grid spacing (non-dim)
[in]deltay– TL of this is identity. –>
[in]deltay– TL of this is identity. –>
[in]deltay– TL of this is identity. –>

Definition at line 12 of file calc_pv_ad.f90.

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