Changeset 5246 for LMDZ6/trunk/libf/dyn3d_common/interpost.f90
- Timestamp:
- Oct 21, 2024, 2:58:45 PM (23 hours ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/interpost.f90
r5245 r5246 2 2 ! $Header$ 3 3 ! 4 4 subroutine interpost(q,qppm) 5 5 6 6 implicit none 7 7 8 8 9 10 11 9 include "dimensions.h" 10 include "paramet.h" 11 include "comgeom2.h" 12 12 13 c Arguments 14 real q(iip1,jjp1,llm) 15 real qppm(iim,jjp1,llm) 16 c Local 17 integer l,i,j 18 19 c RE-INVERSION DES NIVEAUX 20 c le programme ppm3d travaille avec une 3ème coordonnée inversée par rapport 21 c de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface 22 c On passe donc des niveaux de Lin à ceux du LMDZ 23 24 do l=1,llm 25 do j=1,jjp1 26 do i=1,iim 27 q(i,j,l)=qppm(i,j,llm-l+1) 28 enddo 29 enddo 13 ! Arguments 14 real :: q(iip1,jjp1,llm) 15 real :: qppm(iim,jjp1,llm) 16 ! Local 17 integer :: l,i,j 18 19 ! RE-INVERSION DES NIVEAUX 20 ! le programme ppm3d travaille avec une 3ème coordonnée inversée par rapport 21 ! de celle du LMDZ: z=1<=>niveau max, z=llm+1<=>surface 22 ! On passe donc des niveaux de Lin à ceux du LMDZ 23 24 do l=1,llm 25 do j=1,jjp1 26 do i=1,iim 27 q(i,j,l)=qppm(i,j,llm-l+1) 30 28 enddo 31 32 c BOUCLAGE EN LONGITUDE PAS EFFECTUE DANS PPM3D 29 enddo 30 enddo 33 31 34 do l=1,llm 35 do j=1,jjp1 36 q(iip1,j,l)=q(1,j,l) 37 enddo 38 enddo 39 40 41 return 32 ! BOUCLAGE EN LONGITUDE PAS EFFECTUE DANS PPM3D 42 33 43 end 34 do l=1,llm 35 do j=1,jjp1 36 q(iip1,j,l)=q(1,j,l) 37 enddo 38 enddo 39 40 41 return 42 43 end subroutine interpost
Note: See TracChangeset
for help on using the changeset viewer.