FV3 Bundle
advect_pv_ad.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine advect_pv_ad (qnew, q, q_traj, q_north, q_south, u, u_traj, v, v_traj, nx, ny, deltax, deltay, dt)
 Advect potential vorticity - Adjoint. More...
 

Function/Subroutine Documentation

◆ advect_pv_ad()

subroutine advect_pv_ad ( real(kind=kind_real), dimension(nx,ny,2), intent(inout)  qnew,
real(kind=kind_real), dimension(nx,ny,2), intent(inout)  q,
real(kind=kind_real), dimension(nx,ny,2), intent(in)  q_traj,
real(kind=kind_real), dimension(nx,2), intent(in)  q_north,
real(kind=kind_real), dimension(nx,2), intent(in)  q_south,
real(kind=kind_real), dimension(nx,ny,2), intent(out)  u,
real(kind=kind_real), dimension(nx,ny,2), intent(in)  u_traj,
real(kind=kind_real), dimension(nx,ny,2), intent(out)  v,
real(kind=kind_real), dimension(nx,ny,2), intent(in)  v_traj,
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)  dt 
)

Advect potential vorticity - Adjoint.

Parameters
[in,out]qnewInput adjoint variable for PV
[in,out]qOutput adjoint variable for PV
[in]q_trajTrajectory potential vorticity
[in]q_northPV on northern wall
[in]q_southPV on southern wall
[out]uZonal wind adjoint variable
[in]u_trajTrajectory zonal wind
[out]vMeridional wind adjoint variable
[in]v_trajTrajectory meridional wind
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[in]deltaxZonal grid spacing (non-dimensional)
[in]deltayMeridional grid spacing (non-dim)
[in]dtTimestep (non-dimensional)

Definition at line 14 of file advect_pv_ad.f90.

Here is the caller graph for this function: