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

Contents of /trunk/dyn3d/laplacien.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: 828 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 laplacien_m
2
3 IMPLICIT NONE
4
5 contains
6
7 SUBROUTINE laplacien(klevel, teta)
8
9 ! From LMDZ4/libf/dyn3d/laplacien.F, version 1.1.1.1 2004/05/19 12:53:06
10 ! P. Le Van
11 ! Calcul de div(grad) de teta.
12
13 use dimensions, only: iim, jjm
14 use divergf_m, only: divergf
15 use filtreg_scal_m, only: filtreg_scal
16 use grad_m, only: grad
17 USE paramet_m, ONLY: ip1jm, ip1jmp1
18
19 INTEGER, intent(in):: klevel
20 REAL, intent(inout):: teta(iim + 1, jjm + 1, klevel)
21
22 ! Variables locales:
23 REAL ghy(ip1jm, klevel), ghx(ip1jmp1, klevel)
24
25 !-----------------------------------------------------------------
26
27 CALL filtreg_scal(teta, direct = .true., intensive = .true.)
28 CALL grad(klevel, teta, ghx, ghy)
29 CALL divergf(klevel, ghx, ghy, teta)
30
31 END SUBROUTINE laplacien
32
33 end module laplacien_m

  ViewVC Help
Powered by ViewVC 1.1.21