source: LMDZ5/trunk/libf/dyn3d_common/covcont.F @ 2242

Last change on this file since 2242 was 1945, checked in by lguez, 11 years ago

Duplicated files moved to dyn3d_common.

  • 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: 998 bytes
Line 
1!
2! $Header$
3!
4      SUBROUTINE covcont (klevel,ucov, vcov, ucont, vcont )
5      IMPLICIT NONE
6
7c=======================================================================
8c
9c   Auteur:  P. Le Van
10c   -------
11c
12c   Objet:
13c   ------
14c
15c  *********************************************************************
16c    calcul des compos. contravariantes a partir des comp.covariantes
17c  ********************************************************************
18c
19c=======================================================================
20
21#include "dimensions.h"
22#include "paramet.h"
23#include "comgeom.h"
24
25      INTEGER klevel
26      REAL ucov( ip1jmp1,klevel ),  vcov( ip1jm,klevel )
27      REAL ucont( ip1jmp1,klevel ), vcont( ip1jm,klevel )
28      INTEGER   l,ij
29
30
31      DO 10 l = 1,klevel
32
33      DO 2  ij = iip2, ip1jm
34      ucont( ij,l ) = ucov( ij,l ) * unscu2( ij )
35   2  CONTINUE
36
37      DO 4 ij = 1,ip1jm
38      vcont( ij,l ) = vcov( ij,l ) * unscv2( ij )
39   4  CONTINUE
40
41  10  CONTINUE
42      RETURN
43      END
Note: See TracBrowser for help on using the repository browser.