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

Annotation of /trunk/dyn3d/laplacien_gam.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 344 - (hide annotations)
Tue Nov 12 15:18:14 2019 UTC (4 years, 7 months ago) by guez
File size: 1340 byte(s)
Replace pi / 180 by `deg_to_rad`

In procedure etat0, rename variable tsoil to ftsoil, which is the
corresponding name in the gcm program.

In `laplacien_gam`, replace call to scopy by array assignment.

Replace pi / 180 by `deg_to_rad` in `start_init_phys`.

Encapsulate diagcld1 and orolift in modules.

Avoid duplicated computation in `interfsurf_hq`.

Promote internal function fz of procedure soil to function of module
`soil_m`.  Use `new_unit` in procedure soil.

1 guez 207 module laplacien_gam_m
2 guez 3
3 guez 207 IMPLICIT NONE
4 guez 3
5 guez 207 contains
6 guez 3
7 guez 207 SUBROUTINE laplacien_gam(klevel, cuvsga, cvusga, unsaigam, unsapolnga, &
8     unsapolsga, teta, divgra)
9 guez 3
10 guez 207 ! From LMDZ4/libf/dyn3d/laplacien_gam.F,v 1.1.1.1, 2004/05/19 12:53:06
11 guez 3
12 guez 207 ! P. Le Van
13 guez 3
14 guez 207 ! ************************************************************
15 guez 81
16 guez 207 ! .... calcul de (div( grad )) de teta .....
17     ! ************************************************************
18     ! klevel et teta sont des arguments d'entree pour le s-prog
19     ! divgra est un argument de sortie pour le s-prog
20 guez 81
21 guez 207 USE comgeom
22 guez 265 USE dimensions
23 guez 207 use diverg_gam_m, only: diverg_gam
24     USE grad_m, ONLY: grad
25     USE paramet_m
26 guez 81
27    
28 guez 207 ! ............ variables en arguments ..........
29 guez 81
30 guez 207 INTEGER, INTENT (IN) :: klevel
31     REAL teta(ip1jmp1, klevel), divgra(ip1jmp1, klevel)
32     REAL cuvsga(ip1jm), cvusga(ip1jmp1), unsaigam(ip1jmp1), unsapolnga, &
33     unsapolsga
34 guez 81
35 guez 207 ! ........... variables locales .................
36 guez 81
37 guez 207 REAL ghy(ip1jm, klevel), ghx(ip1jmp1, klevel)
38     ! ......................................................
39 guez 81
40 guez 344 divgra = teta
41 guez 207 CALL grad(klevel, divgra, ghx, ghy)
42     CALL diverg_gam(klevel, cuvsga, cvusga, unsaigam, unsapolnga, unsapolsga, &
43     ghx, ghy, divgra)
44 guez 81
45 guez 207 END SUBROUTINE laplacien_gam
46 guez 81
47 guez 207 end module laplacien_gam_m

  ViewVC Help
Powered by ViewVC 1.1.21