source: trunk/LMDZ.MARS/libf/dyn3d/dump2d.F @ 1242

Last change on this file since 1242 was 1232, checked in by emillour, 11 years ago

Mars GCM:
Add "composition" option in newstart to enable global modification of
CO2,N2,Ar,O2 and CO mixing ratios. Plus some cleanup on physics variables
(saved arrays) which have been moved to modules.
FF+EM

File size: 897 bytes
Line 
1      SUBROUTINE dump2d(im,jm,z,nom_z)
2      IMPLICIT NONE
3      INTEGER im,jm
4      REAL z(im,jm)
5      CHARACTER (len=*) :: nom_z
6
7      INTEGER i,j,imin,illm,jmin,jllm
8      REAL zmin,zllm
9
10      PRINT*,nom_z
11
12      zmin=z(1,1)
13      zllm=z(1,1)
14      imin=1
15      illm=1
16      jmin=1
17      jllm=1
18
19      DO j=1,jm
20         DO i=1,im
21            IF(z(i,j).GT.zllm) THEN
22               illm=i
23               jllm=j
24               zllm=z(i,j)
25            ENDIF
26            IF(z(i,j).LT.zmin) THEN
27               imin=i
28               jmin=j
29               zmin=z(i,j)
30            ENDIF
31         ENDDO
32      ENDDO
33
34      PRINT*,'MIN: ',zmin
35      PRINT*,'MAX: ',zllm
36
37      IF(zllm.GT.zmin) THEN
38      DO j=1,jm
39!      WRITE(*,'(72i1)') (NINT(10.*(z(i,j)-zmin)/(zllm-zmin)),i=1,im)
40      WRITE(*,'(72i1)') (NINT(9.*(z(i,j)-zmin)/(zllm-zmin)),i=1,im)
41      ENDDO
42      ENDIF
43      RETURN
44      END
Note: See TracBrowser for help on using the repository browser.