Changeset 5246 for LMDZ6/trunk/libf/dyn3d/dteta1.f90
- Timestamp:
- Oct 21, 2024, 2:58:45 PM (23 hours ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/dteta1.f90
r5245 r5246 2 2 ! $Header$ 3 3 ! 4 5 4 SUBROUTINE dteta1 ( teta, pbaru, pbarv, dteta) 5 IMPLICIT NONE 6 6 7 c=======================================================================8 c 9 cAuteur: P. Le Van10 c-------11 cModif F.Forget 03/94 (on retire q et dq pour construire dteta1)12 c 13 c********************************************************************14 c... calcul du terme de convergence horizontale du flux d'enthalpie15 cpotentielle ......16 c********************************************************************17 c.. teta,pbaru et pbarv sont des arguments d'entree pour le s-pg ....18 cdteta sont des arguments de sortie pour le s-pg ....19 c 20 c=======================================================================7 !======================================================================= 8 ! 9 ! Auteur: P. Le Van 10 ! ------- 11 ! Modif F.Forget 03/94 (on retire q et dq pour construire dteta1) 12 ! 13 ! ******************************************************************** 14 ! ... calcul du terme de convergence horizontale du flux d'enthalpie 15 ! potentielle ...... 16 ! ******************************************************************** 17 ! .. teta,pbaru et pbarv sont des arguments d'entree pour le s-pg .... 18 ! dteta sont des arguments de sortie pour le s-pg .... 19 ! 20 !======================================================================= 21 21 22 22 23 24 23 include "dimensions.h" 24 include "paramet.h" 25 25 26 REALteta( ip1jmp1,llm ),pbaru( ip1jmp1,llm ),pbarv( ip1jm,llm)27 REALdteta( ip1jmp1,llm )28 INTEGERl,ij26 REAL :: teta( ip1jmp1,llm ),pbaru( ip1jmp1,llm ),pbarv( ip1jm,llm) 27 REAL :: dteta( ip1jmp1,llm ) 28 INTEGER :: l,ij 29 29 30 REALhbyv( ip1jm,llm ), hbxu( ip1jmp1,llm )30 REAL :: hbyv( ip1jm,llm ), hbxu( ip1jmp1,llm ) 31 31 32 c 32 ! 33 33 34 DO 5l = 1,llm34 DO l = 1,llm 35 35 36 DO 1ij = iip2, ip1jm - 137 38 1 CONTINUE36 DO ij = iip2, ip1jm - 1 37 hbxu(ij,l) = pbaru(ij,l) * 0.5 * ( teta(ij,l) + teta(ij+1,l) ) 38 END DO 39 39 40 c.... correction pour hbxu(iip1,j,l) .....41 c.... hbxu(iip1,j,l)= hbxu(1,j,l) ....40 ! .... correction pour hbxu(iip1,j,l) ..... 41 ! .... hbxu(iip1,j,l)= hbxu(1,j,l) .... 42 42 43 CDIR$ IVDEP44 DO 2ij = iip1+ iip1, ip1jm, iip145 46 2 CONTINUE43 !DIR$ IVDEP 44 DO ij = iip1+ iip1, ip1jm, iip1 45 hbxu( ij, l ) = hbxu( ij - iim, l ) 46 END DO 47 47 48 48 49 DO 3ij = 1,ip1jm50 51 3 CONTINUE49 DO ij = 1,ip1jm 50 hbyv(ij,l)= pbarv(ij, l)* 0.5 * ( teta(ij, l)+ teta(ij +iip1,l) ) 51 END DO 52 52 53 5 CONTINUE53 END DO 54 54 55 55 56 56 CALL convflu ( hbxu, hbyv, llm, dteta ) 57 57 58 58 59 cstockage dans dh de la convergence horizont. filtree' du flux60 c.... ...........61 cd'enthalpie potentielle .59 ! stockage dans dh de la convergence horizont. filtree' du flux 60 ! .... ........... 61 ! d'enthalpie potentielle . 62 62 63 63 CALL filtreg( dteta, jjp1, llm, 2, 2, .true., 1) 64 64 65 c 66 67 END 65 ! 66 RETURN 67 END SUBROUTINE dteta1
Note: See TracChangeset
for help on using the changeset viewer.