Changeset 5159 for LMDZ6/branches/Amaury_dev/libf/dyn3dmem/convflu_loc.f90
- Timestamp:
- Aug 2, 2024, 9:58:25 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/convflu_loc.f90
r5136 r5159 1 1 SUBROUTINE convflu_loc( xflu,yflu,nbniv,convfl ) 2 ! 2 3 3 ! P. Le Van 4 ! 5 ! 4 5 6 6 ! ******************************************************************* 7 7 ! ... calcule la (convergence horiz. * aire locale)du flux ayant pour … … 10 10 ! xflu , yflu et nbniv sont des arguments d'entree pour le s-pg .. 11 11 ! convfl est un argument de sortie pour le s-pg . 12 ! 12 13 13 ! njxflu est le nombre de lignes de latitude de xflu, 14 14 ! ( = jjm ou jjp1 ) 15 15 ! nbniv est le nombre de niveaux vert. de xflu et de yflu . 16 ! 16 17 17 USE parallel_lmdz 18 18 USE lmdz_ssum_scopy, ONLY: ssum 19 19 USE lmdz_comgeom 20 20 21 USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm 22 USE lmdz_paramet 21 23 IMPLICIT NONE 22 24 ! 23 INCLUDE "dimensions.h" 24 INCLUDE "paramet.h" 25 26 25 27 REAL :: xflu,yflu,convfl,convpn,convps 26 28 INTEGER :: l,ij,nbniv 27 29 DIMENSION xflu( ijb_u:ije_u,nbniv ),yflu( ijb_v:ije_v,nbniv ) , & 28 30 convfl( ijb_u:ije_u,nbniv ) 29 ! 31 30 32 INTEGER :: ijb,ije 31 33 32 34 !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 33 35 DO l = 1,nbniv 34 ! 36 35 37 ijb=ij_begin 36 38 ije=ij_end+iip1 … … 43 45 yflu(ij +1,l ) - yflu( ij -iim,l ) 44 46 END DO 45 ! 47 46 48 ! 47 49 48 50 ! .... correction pour convfl( 1,j,l) ...... 49 51 ! .... convfl(1,j,l)= convfl(iip1,j,l) ... 50 ! 52 51 53 !DIR$ IVDEP 52 54 DO ij = ijb,ije,iip1 53 55 convfl( ij,l ) = convfl( ij + iim,l ) 54 56 END DO 55 ! 57 56 58 ! ...... calcul aux poles ....... 57 ! 59 58 60 IF (pole_nord) THEN 59 61
Note: See TracChangeset
for help on using the changeset viewer.