/[lmdze]/trunk/dyn3d/covcont.f90
ViewVC logotype

Contents of /trunk/dyn3d/covcont.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (4 years, 11 months ago) by guez
File size: 1108 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

1 module covcont_m
2
3 IMPLICIT NONE
4
5 contains
6
7 SUBROUTINE covcont(klevel, ucov, vcov, ucont, vcont)
8
9 ! From LMDZ4/libf/dyn3d/covcont.F, version 1.1.1.1 2004/05/19 12:53:07
10
11 USE dimensions
12 USE paramet_m
13 USE comgeom
14 ! =======================================================================
15
16 ! Auteur: P. Le Van
17 ! -------
18
19 ! Objet:
20 ! ------
21
22 ! *********************************************************************
23 ! calcul des compos. contravariantes a partir des comp.covariantes
24 ! ********************************************************************
25
26 ! =======================================================================
27
28
29 INTEGER klevel
30 REAL, INTENT (IN) :: ucov(ip1jmp1, klevel), vcov(ip1jm, klevel)
31 REAL ucont(ip1jmp1, klevel), vcont(ip1jm, klevel)
32 INTEGER l, ij
33
34
35 DO l = 1, klevel
36
37 DO ij = iip2, ip1jm
38 ucont(ij, l) = ucov(ij, l)*unscu2(ij)
39 END DO
40
41 DO ij = 1, ip1jm
42 vcont(ij, l) = vcov(ij, l)*unscv2(ij)
43 END DO
44
45 END DO
46 RETURN
47 END SUBROUTINE covcont
48
49 end module covcont_m

  ViewVC Help
Powered by ViewVC 1.1.21