vitvert.f90 Source File


This file depends on

sourcefile~~vitvert.f90~~EfferentGraph sourcefile~vitvert.f90 vitvert.f90 sourcefile~paramet_mod_h.f90 paramet_mod_h.f90 sourcefile~vitvert.f90->sourcefile~paramet_mod_h.f90 sourcefile~comvert_mod.f90 comvert_mod.f90 sourcefile~vitvert.f90->sourcefile~comvert_mod.f90

Contents

Source Code


Source Code

SUBROUTINE vitvert (convm, w)
!
!-------------------------------------------------------------------------------
! Authors: P. Le Van , Fr. Hourdin.
!-------------------------------------------------------------------------------
! Purpose: Compute vertical speed at sigma levels.
  USE comvert_mod, ONLY: bp
  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
USE paramet_mod_h
IMPLICIT NONE


!===============================================================================
! Arguments:
  REAL, INTENT(IN)  :: convm(ip1jmp1,llm)
  REAL, INTENT(OUT) :: w    (ip1jmp1,llm)
!===============================================================================
! Notes: Vertical speed is oriented from bottom to top.
!   * At ground - level sigma(1):     w(i,j,1) = 0.
!   * At top    - level sigma(llm+1): w(i,j,l) = 0. (not stored in w)
!===============================================================================
! Local variables:
  INTEGER :: l
!===============================================================================
  DO l=1,llmm1; w(:,l+1)=convm(:,l+1)-bp(l+1)*convm(:,1); END DO
  w(:,1)=0.

END SUBROUTINE vitvert