[524] | 1 | ! $Header$ |
---|
[5099] | 2 | |
---|
[5119] | 3 | SUBROUTINE laplacien(klevel, teta, divgra) |
---|
[5159] | 4 | |
---|
[5105] | 5 | ! P. Le Van |
---|
[5159] | 6 | |
---|
[5105] | 7 | ! ************************************************************ |
---|
| 8 | ! .... calcul de (div( grad )) de teta ..... |
---|
| 9 | ! ************************************************************ |
---|
| 10 | ! klevel et teta sont des arguments d'entree pour le s-prog |
---|
| 11 | ! divgra est un argument de sortie pour le s-prog |
---|
[5159] | 12 | |
---|
[5106] | 13 | USE lmdz_filtreg, ONLY: filtreg |
---|
[5119] | 14 | USE lmdz_ssum_scopy, ONLY: scopy |
---|
[5136] | 15 | USE lmdz_comgeom |
---|
[5119] | 16 | |
---|
[5159] | 17 | USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm |
---|
| 18 | USE lmdz_paramet |
---|
[5105] | 19 | IMPLICIT NONE |
---|
| 20 | ! |
---|
[524] | 21 | |
---|
[5159] | 22 | |
---|
| 23 | |
---|
| 24 | |
---|
[5105] | 25 | ! ......... variables en arguments .............. |
---|
[5159] | 26 | |
---|
[5105] | 27 | INTEGER :: klevel |
---|
[5119] | 28 | REAL :: teta(ip1jmp1, klevel), divgra(ip1jmp1, klevel) |
---|
[5159] | 29 | |
---|
[5105] | 30 | ! ............ variables locales .............. |
---|
[5159] | 31 | |
---|
[5119] | 32 | REAL :: ghy(ip1jm, llm), ghx(ip1jmp1, llm) |
---|
[5105] | 33 | ! ....................................................... |
---|
[524] | 34 | |
---|
| 35 | |
---|
[5159] | 36 | |
---|
[5119] | 37 | CALL SCOPY (ip1jmp1 * klevel, teta, 1, divgra, 1) |
---|
[524] | 38 | |
---|
[5119] | 39 | CALL filtreg(divgra, jjp1, klevel, 2, 1, .TRUE., 1) |
---|
| 40 | CALL grad (klevel, divgra, ghx, ghy) |
---|
| 41 | CALL divergf (klevel, ghx, ghy, divgra) |
---|
[524] | 42 | |
---|
[5105] | 43 | RETURN |
---|
| 44 | END SUBROUTINE laplacien |
---|