[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
[5246] | 4 | SUBROUTINE laplacien ( klevel, teta, divgra ) |
---|
| 5 | ! |
---|
| 6 | ! P. Le Van |
---|
| 7 | ! |
---|
| 8 | ! ************************************************************ |
---|
| 9 | ! .... calcul de (div( grad )) de teta ..... |
---|
| 10 | ! ************************************************************ |
---|
| 11 | ! klevel et teta sont des arguments d'entree pour le s-prog |
---|
| 12 | ! divgra est un argument de sortie pour le s-prog |
---|
| 13 | ! |
---|
[5271] | 14 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
[5272] | 15 | USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & |
---|
| 16 | ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm |
---|
[5271] | 17 | IMPLICIT NONE |
---|
[5246] | 18 | ! |
---|
[5271] | 19 | |
---|
[5272] | 20 | |
---|
[5246] | 21 | INCLUDE "comgeom.h" |
---|
[524] | 22 | |
---|
[5246] | 23 | ! |
---|
| 24 | ! ......... variables en arguments .............. |
---|
| 25 | ! |
---|
| 26 | INTEGER :: klevel |
---|
| 27 | REAL :: teta( ip1jmp1,klevel ), divgra( ip1jmp1,klevel ) |
---|
| 28 | ! |
---|
| 29 | ! ............ variables locales .............. |
---|
| 30 | ! |
---|
| 31 | REAL :: ghy(ip1jm,llm), ghx(ip1jmp1,llm) |
---|
| 32 | ! ....................................................... |
---|
[524] | 33 | |
---|
| 34 | |
---|
[5246] | 35 | ! |
---|
| 36 | CALL SCOPY ( ip1jmp1 * klevel, teta, 1, divgra, 1 ) |
---|
[524] | 37 | |
---|
[5246] | 38 | CALL filtreg( divgra, jjp1, klevel, 2, 1, .TRUE., 1 ) |
---|
| 39 | CALL grad ( klevel,divgra, ghx , ghy ) |
---|
| 40 | CALL divergf ( klevel, ghx , ghy , divgra ) |
---|
[524] | 41 | |
---|
[5246] | 42 | RETURN |
---|
| 43 | END SUBROUTINE laplacien |
---|