source: trunk/LMDZ.COMMON/libf/dyn3d_common/vitvert.F90 @ 2757

Last change on this file since 2757 was 1523, checked in by emillour, 9 years ago

All models: More updates to make planetary codes (+Earth) setups converge.

  • in dyn3d_common:
  • convmas.F => convmas.F90
  • enercin.F => enercin.F90
  • flumass.F => flumass.F90
  • massbar.F => massbar.F90
  • tourpot.F => tourpot.F90
  • vitvert.F => vitvert.F90
  • in misc:
  • move "q_sat" from "dyn3d_common" to "misc" (in Earth model, it is also called by the physics)
  • move "write_field" from "dyn3d_common" to "misc"(may be called from physics or dynamics and depends on neither).
  • in phy_common:
  • move "write_field_phy" here since it may be called from any physics package)
  • add module "regular_lonlat_mod" to store global information on lon-lat grid
  • in dynlonlat_phylonlat/phy*:
  • turn "iniphysiq.F90" into module "iniphysiq_mod.F90" (and of course adapt gcm.F[90] and 1D models accordingly)

EM

File size: 1.1 KB
Line 
1!
2! $Header$
3!
4SUBROUTINE vitvert (convm, w)
5!
6!-------------------------------------------------------------------------------
7! Authors: P. Le Van , Fr. Hourdin.
8!-------------------------------------------------------------------------------
9! Purpose: Compute vertical speed at sigma levels.
10  USE comvert_mod, ONLY: bp
11  IMPLICIT NONE
12  include "dimensions.h"
13  include "paramet.h"
14!===============================================================================
15! Arguments:
16  REAL, INTENT(IN)  :: convm(ip1jmp1,llm)
17  REAL, INTENT(OUT) :: w    (ip1jmp1,llm)
18!===============================================================================
19! Notes: Vertical speed is oriented from bottom to top.
20!   * At ground - level sigma(1):     w(i,j,1) = 0.
21!   * At top    - level sigma(llm+1): w(i,j,l) = 0. (not stored in w)
22!===============================================================================
23! Local variables:
24  INTEGER :: l
25!===============================================================================
26  DO l=1,llmm1; w(:,l+1)=convm(:,l+1)-bp(l+1)*convm(:,1); END DO
27  w(:,1)=0.
28
29END SUBROUTINE vitvert
30
Note: See TracBrowser for help on using the repository browser.