[630] | 1 | ! |
---|
[1299] | 2 | ! $Id: fxy.F 1299 2010-01-20 14:27:21Z fhourdin $ |
---|
[630] | 3 | ! |
---|
| 4 | SUBROUTINE fxy (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, |
---|
| 5 | , rlatu2,yprimu2, |
---|
| 6 | , rlonu,xprimu,rlonv,xprimv,rlonm025,xprimm025,rlonp025,xprimp025) |
---|
| 7 | |
---|
| 8 | IMPLICIT NONE |
---|
| 9 | |
---|
| 10 | c Auteur : P. Le Van |
---|
| 11 | c |
---|
| 12 | c Calcul des longitudes et des latitudes pour une fonction f(x,y) |
---|
| 13 | c a tangente sinusoidale et eventuellement avec zoom . |
---|
| 14 | c |
---|
| 15 | c |
---|
| 16 | #include "dimensions.h" |
---|
| 17 | #include "paramet.h" |
---|
| 18 | #include "serre.h" |
---|
| 19 | #include "comconst.h" |
---|
| 20 | |
---|
| 21 | INTEGER i,j |
---|
| 22 | |
---|
| 23 | REAL rlatu(jjp1), yprimu(jjp1),rlatv(jjm), yprimv(jjm), |
---|
| 24 | , rlatu1(jjm), yprimu1(jjm), rlatu2(jjm), yprimu2(jjm) |
---|
| 25 | REAL rlonu(iip1),xprimu(iip1),rlonv(iip1),xprimv(iip1), |
---|
| 26 | , rlonm025(iip1),xprimm025(iip1), rlonp025(iip1),xprimp025(iip1) |
---|
| 27 | |
---|
| 28 | #include "fxy_new.h" |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | c ...... calcul des latitudes et de y' ..... |
---|
| 32 | c |
---|
| 33 | DO j = 1, jjm + 1 |
---|
[1299] | 34 | rlatu(j) = fy ( REAL( j ) ) |
---|
| 35 | yprimu(j) = fyprim( REAL( j ) ) |
---|
[630] | 36 | ENDDO |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | DO j = 1, jjm |
---|
| 40 | |
---|
[1299] | 41 | rlatv(j) = fy ( REAL( j ) + 0.5 ) |
---|
| 42 | rlatu1(j) = fy ( REAL( j ) + 0.25 ) |
---|
| 43 | rlatu2(j) = fy ( REAL( j ) + 0.75 ) |
---|
[630] | 44 | |
---|
[1299] | 45 | yprimv(j) = fyprim( REAL( j ) + 0.5 ) |
---|
| 46 | yprimu1(j) = fyprim( REAL( j ) + 0.25 ) |
---|
| 47 | yprimu2(j) = fyprim( REAL( j ) + 0.75 ) |
---|
[630] | 48 | |
---|
| 49 | ENDDO |
---|
| 50 | |
---|
| 51 | c |
---|
| 52 | c ..... calcul des longitudes et de x' ..... |
---|
| 53 | c |
---|
| 54 | DO i = 1, iim + 1 |
---|
[1299] | 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 ) |
---|
[630] | 59 | |
---|
[1299] | 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 ) |
---|
[630] | 64 | ENDDO |
---|
| 65 | |
---|
| 66 | c |
---|
| 67 | RETURN |
---|
| 68 | END |
---|
| 69 | |
---|