Changeset 5108 for LMDZ6/branches/Amaury_dev/libf/dyn3d_common/fxy.f90
- Timestamp:
- Jul 24, 2024, 10:58:59 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d_common/fxy.f90
r5106 r5108 1 2 1 ! $Id$ 3 2 4 SUBROUTINE fxy(rlatu, yprimu,rlatv,yprimv,rlatu1,yprimu1, &5 rlatu2, yprimu2, &6 rlonu, xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025)3 SUBROUTINE fxy(rlatu, yprimu, rlatv, yprimv, rlatu1, yprimu1, & 4 rlatu2, yprimu2, & 5 rlonu, xprimu, rlonv, xprimv, rlonm025, xprimm025, rlonp025, xprimp025) 7 6 8 7 USE comconst_mod, ONLY: pi 9 USE serre_mod, ONLY: pxo,pyo,alphax,alphay,transx,transy 8 USE serre_mod, ONLY: pxo, pyo, alphax, alphay, transx, transy 9 USE lmdz_fxy, ONLY: fxy_new 10 10 11 11 IMPLICIT NONE … … 20 20 include "paramet.h" 21 21 22 INTEGER :: i,j22 INTEGER :: i, j 23 23 24 REAL :: rlatu(jjp1), yprimu(jjp1),rlatv(jjm), yprimv(jjm), & 25 rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm) 26 REAL :: rlonu(iip1),xprimu(iip1),rlonv(iip1),xprimv(iip1), & 27 rlonm025(iip1),xprimm025(iip1), rlonp025(iip1),xprimp025(iip1) 24 REAL :: rlatu(jjp1), yprimu(jjp1), rlatv(jjm), yprimv(jjm), & 25 rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm) 26 REAL :: rlonu(iip1), xprimu(iip1), rlonv(iip1), xprimv(iip1), & 27 rlonm025(iip1), xprimm025(iip1), rlonp025(iip1), xprimp025(iip1) 28 REAL :: ripx, fx, fxprim, fy, fyprim, ri, rj, bigy 28 29 29 INCLUDE "fxy_new.h" 30 30 CALL fxy_new(ripx, fx, fxprim, fy, fyprim, ri, rj, bigy) 31 31 32 32 ! ...... calcul des latitudes et de y' ..... 33 33 ! 34 35 rlatu(j) = fy ( REAL( j ))36 yprimu(j) = fyprim( REAL( j ))37 34 DO j = 1, jjm + 1 35 rlatu(j) = fy (REAL(j)) 36 yprimu(j) = fyprim(REAL(j)) 37 ENDDO 38 38 39 DO j = 1, jjm 39 40 40 DO j = 1, jjm 41 rlatv(j) = fy (REAL(j) + 0.5) 42 rlatu1(j) = fy (REAL(j) + 0.25) 43 rlatu2(j) = fy (REAL(j) + 0.75) 41 44 42 rlatv(j) = fy ( REAL( j ) + 0.5)43 rlatu1(j) = fy ( REAL( j ) + 0.25)44 rlatu2(j) = fy ( REAL( j ) + 0.75)45 yprimv(j) = fyprim(REAL(j) + 0.5) 46 yprimu1(j) = fyprim(REAL(j) + 0.25) 47 yprimu2(j) = fyprim(REAL(j) + 0.75) 45 48 46 yprimv(j) = fyprim( REAL( j ) + 0.5 ) 47 yprimu1(j) = fyprim( REAL( j ) + 0.25 ) 48 yprimu2(j) = fyprim( REAL( j ) + 0.75 ) 49 50 ENDDO 49 ENDDO 51 50 52 51 ! 53 52 ! ..... calcul des longitudes et de x' ..... 54 53 ! 55 56 rlonv(i) = fx ( REAL( i ))57 rlonu(i) = fx ( REAL( i ) + 0.5)58 rlonm025(i) = fx ( REAL( i ) - 0.25)59 rlonp025(i) = fx ( REAL( i ) + 0.25)54 DO i = 1, iim + 1 55 rlonv(i) = fx (REAL(i)) 56 rlonu(i) = fx (REAL(i) + 0.5) 57 rlonm025(i) = fx (REAL(i) - 0.25) 58 rlonp025(i) = fx (REAL(i) + 0.25) 60 59 61 xprimv (i) = fxprim ( REAL( i ))62 xprimu (i) = fxprim ( REAL( i ) + 0.5)63 xprimm025(i) = fxprim ( REAL( i ) - 0.25)64 xprimp025(i) = fxprim ( REAL( i ) + 0.25)65 60 xprimv (i) = fxprim (REAL(i)) 61 xprimu (i) = fxprim (REAL(i) + 0.5) 62 xprimm025(i) = fxprim (REAL(i) - 0.25) 63 xprimp025(i) = fxprim (REAL(i) + 0.25) 64 ENDDO 66 65 67 66 !
Note: See TracChangeset
for help on using the changeset viewer.