source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/vitvert.F90 @ 5100

Last change on this file since 5100 was 5099, checked in by abarral, 5 months ago

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
RevLine 
[2336]1SUBROUTINE vitvert (convm, w)
[5099]2
[2336]3!-------------------------------------------------------------------------------
4! Authors: P. Le Van , Fr. Hourdin.
5!-------------------------------------------------------------------------------
6! Purpose: Compute vertical speed at sigma levels.
[2600]7  USE comvert_mod, ONLY: bp
[2336]8  IMPLICIT NONE
9  include "dimensions.h"
10  include "paramet.h"
11!===============================================================================
12! Arguments:
13  REAL, INTENT(IN)  :: convm(ip1jmp1,llm)
14  REAL, INTENT(OUT) :: w    (ip1jmp1,llm)
15!===============================================================================
16! Notes: Vertical speed is oriented from bottom to top.
17!   * At ground - level sigma(1):     w(i,j,1) = 0.
18!   * At top    - level sigma(llm+1): w(i,j,l) = 0. (not stored in w)
19!===============================================================================
20! Local variables:
21  INTEGER :: l
22!===============================================================================
23  DO l=1,llmm1; w(:,l+1)=convm(:,l+1)-bp(l+1)*convm(:,1); END DO
24  w(:,1)=0.
[524]25
[2336]26END SUBROUTINE vitvert
[524]27
Note: See TracBrowser for help on using the repository browser.