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