[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 | ! |
---|
[5271] | 16 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
[5272] | 17 | USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & |
---|
| 18 | ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm |
---|
[5271] | 19 | IMPLICIT NONE |
---|
[5246] | 20 | ! |
---|
[5271] | 21 | |
---|
[5272] | 22 | |
---|
[5246] | 23 | INCLUDE "comgeom.h" |
---|
[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 |
---|