source: LMDZ5/trunk/libf/dyn3dpar/covcont.F @ 1930

Last change on this file since 1930 was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
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

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • 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.