Last change
on this file since 3651 was
186,
checked in by lmdzadmin, 24 years ago
|
Ajout A. Idelkadi
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
613 bytes
|
Rev | Line | |
---|
[186] | 1 | SUBROUTINE gr_ecrit_fi(nfield,nlon,iim,jjmp1,ecrit,fi) |
---|
| 2 | |
---|
| 3 | IMPLICIT none |
---|
| 4 | |
---|
| 5 | c Transformer une variable de la grille d'ecriture a la grille physique |
---|
| 6 | |
---|
| 7 | INTEGER nfield,nlon,iim,jjmp1, jjm |
---|
| 8 | REAL fi(nlon,nfield), ecrit(iim,jjmp1,nfield) |
---|
| 9 | c |
---|
| 10 | INTEGER i, j, n, ig |
---|
| 11 | c |
---|
| 12 | c print*,'iim jjm ',iim,jjm |
---|
| 13 | |
---|
| 14 | c modif par abd 21 02 01 |
---|
| 15 | |
---|
| 16 | jjm = jjmp1 - 1 |
---|
| 17 | do n = 1, nfield |
---|
| 18 | fi(1,n) = ecrit(1,1,n) |
---|
| 19 | fi(nlon,n) = ecrit(1,jjm+1,n) |
---|
| 20 | DO j = 2, jjm |
---|
| 21 | ig = 2+(j-2)*iim |
---|
| 22 | DO i = 1, iim |
---|
| 23 | fi(ig-1+i,n) = ecrit(i,j,n) |
---|
| 24 | ENDDO |
---|
| 25 | ENDDO |
---|
| 26 | ENDDO |
---|
| 27 | RETURN |
---|
| 28 | END |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.