[524] | 1 | ! $Header$ |
---|
[5099] | 2 | |
---|
[5119] | 3 | SUBROUTINE laplacien_gam(klevel, cuvsga, cvusga, unsaigam, & |
---|
| 4 | unsapolnga, unsapolsga, teta, divgra) |
---|
[524] | 5 | |
---|
[5105] | 6 | ! P. Le Van |
---|
[5159] | 7 | |
---|
[5105] | 8 | ! ************************************************************ |
---|
[5159] | 9 | |
---|
[5105] | 10 | ! .... calcul de (div( grad )) de teta ..... |
---|
| 11 | ! ************************************************************ |
---|
| 12 | ! klevel et teta sont des arguments d'entree pour le s-prog |
---|
| 13 | ! divgra est un argument de sortie pour le s-prog |
---|
[5159] | 14 | |
---|
[5119] | 15 | USE lmdz_ssum_scopy, ONLY: scopy |
---|
[5136] | 16 | USE lmdz_comgeom |
---|
[5119] | 17 | |
---|
[5159] | 18 | USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm |
---|
| 19 | USE lmdz_paramet |
---|
[5105] | 20 | IMPLICIT NONE |
---|
| 21 | ! |
---|
[524] | 22 | |
---|
[5159] | 23 | |
---|
| 24 | |
---|
| 25 | |
---|
[5105] | 26 | ! ............ variables en arguments .......... |
---|
[5159] | 27 | |
---|
[5105] | 28 | INTEGER :: klevel |
---|
[5119] | 29 | REAL :: teta(ip1jmp1, klevel), divgra(ip1jmp1, klevel) |
---|
| 30 | REAL :: cuvsga(ip1jm), cvusga(ip1jmp1), unsaigam(ip1jmp1), & |
---|
| 31 | unsapolnga, unsapolsga |
---|
[5159] | 32 | |
---|
[5105] | 33 | ! ........... variables locales ................. |
---|
[5159] | 34 | |
---|
[5119] | 35 | REAL :: ghy(ip1jm, llm), ghx(ip1jmp1, llm) |
---|
[5105] | 36 | ! ...................................................... |
---|
[524] | 37 | |
---|
[5159] | 38 | |
---|
| 39 | |
---|
[5105] | 40 | ! ... cvuscugam = ( cvu/ cu ) ** (- gamdissip ) |
---|
| 41 | ! ... cuvscvgam = ( cuv/ cv ) ** (- gamdissip ) calcules dans inigeom .. |
---|
| 42 | ! ... unsairegam = 1. / aire ** (- gamdissip ) |
---|
| 43 | ! |
---|
[524] | 44 | |
---|
[5119] | 45 | CALL SCOPY (ip1jmp1 * klevel, teta, 1, divgra, 1) |
---|
[5159] | 46 | |
---|
[5119] | 47 | CALL grad (klevel, divgra, ghx, ghy) |
---|
[5159] | 48 | |
---|
[5119] | 49 | CALL diverg_gam (klevel, cuvsga, cvusga, unsaigam, & |
---|
| 50 | unsapolnga, unsapolsga, ghx, ghy, divgra) |
---|
[524] | 51 | |
---|
[5105] | 52 | ! |
---|
[524] | 53 | |
---|
[5105] | 54 | RETURN |
---|
| 55 | END SUBROUTINE laplacien_gam |
---|