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

Annotation of /trunk/dyn3d/massdair.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations)
Thu Jun 13 14:40:06 2019 UTC (5 years ago) by guez
File size: 762 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 guez 67 module massdair_m
2 guez 3
3 guez 67 IMPLICIT NONE
4 guez 3
5 guez 67 contains
6 guez 3
7 guez 67 SUBROUTINE massdair(p, masse)
8 guez 3
9 guez 67 ! From LMDZ4/libf/dyn3d/massdair.F, version 1.1.1.1 2004/05/19 12:53:07
10    
11     ! Calcule la masse d'air dans chaque maille.
12 guez 79 ! Authors: P. Le Van, F. Hourdin
13 guez 67
14 guez 102 USE comgeom, ONLY: airesurg_2d
15 guez 265 USE dimensions, ONLY: iim, jjm, llm
16 guez 67
17 guez 102 REAL, intent(in):: p(iim + 1, jjm + 1, llm + 1)
18     ! aux interfaces des llm couches
19 guez 67
20 guez 102 real, intent(out):: masse(iim + 1, jjm + 1, llm)
21 guez 67
22 guez 102 ! Local:
23     INTEGER l
24    
25 guez 67 !----------------------------------------------------------
26    
27 guez 102 forall (l = 1: llm) masse(:iim, :, l) = airesurg_2d(:iim, :) &
28     * (p(:iim, :, l) - p(:iim, :, l + 1))
29     masse(iim + 1, :, :) = masse(1, :, :)
30 guez 67
31     END SUBROUTINE massdair
32    
33     end module massdair_m

  ViewVC Help
Powered by ViewVC 1.1.21