[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 |
---|
[5272] | 18 | USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & |
---|
| 19 | ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm |
---|
[5271] | 20 | IMPLICIT NONE |
---|
[5246] | 21 | ! |
---|
[5271] | 22 | |
---|
[5272] | 23 | |
---|
[524] | 24 | |
---|
[5246] | 25 | ! |
---|
| 26 | ! ............ variables en arguments .......... |
---|
| 27 | ! |
---|
| 28 | INTEGER :: klevel |
---|
| 29 | REAL :: teta( ip1jmp1,klevel ), divgra( ip1jmp1,klevel ) |
---|
| 30 | REAL :: cuvsga(ip1jm) , cvusga( ip1jmp1 ),unsaigam(ip1jmp1), & |
---|
| 31 | unsapolnga, unsapolsga |
---|
| 32 | ! |
---|
| 33 | ! ........... variables locales ................. |
---|
| 34 | ! |
---|
| 35 | REAL :: ghy(ip1jm,llm), ghx(ip1jmp1,llm) |
---|
| 36 | ! ...................................................... |
---|
[524] | 37 | |
---|
[5246] | 38 | ! |
---|
| 39 | ! |
---|
| 40 | ! ... cvuscugam = ( cvu/ cu ) ** (- gamdissip ) |
---|
| 41 | ! ... cuvscvgam = ( cuv/ cv ) ** (- gamdissip ) calcules dans inigeom .. |
---|
| 42 | ! ... unsairegam = 1. / aire ** (- gamdissip ) |
---|
| 43 | ! |
---|
[524] | 44 | |
---|
[5246] | 45 | CALL SCOPY ( ip1jmp1 * klevel, teta, 1, divgra, 1 ) |
---|
| 46 | ! |
---|
| 47 | CALL grad ( klevel, divgra, ghx, ghy ) |
---|
| 48 | ! |
---|
| 49 | CALL diverg_gam ( klevel, cuvsga, cvusga, unsaigam , & |
---|
| 50 | unsapolnga, unsapolsga, ghx , ghy , divgra ) |
---|
[524] | 51 | |
---|
[5246] | 52 | ! |
---|
[524] | 53 | |
---|
| 54 | |
---|
[5246] | 55 | RETURN |
---|
| 56 | END SUBROUTINE laplacien_gam |
---|