source: LMDZ4/branches/LMDZ4_par_0/libf/phylmd/write_histmthNMC.h @ 5179

Last change on this file since 5179 was 634, checked in by Laurent Fairhead, 20 years ago

Modifications faites à la physique pour la rendre parallele YM
Une branche de travail LMDZ4_par_0 a été créée provisoirement afin de tester
les modifs pleinement avant leurs inclusions dans le tronc principal
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1!
2! $Header$
3!
4c     IF (ok_mensuelNMC) THEN
5      IF (ok_mensuel) THEN
6c
7      ndex2d = 0
8      ndex3d = 0
9c
10c Champs 2D:
11c
12
13        zsto = dtime
14        zout = dtime * ecrit_mth
15        itau_w = itau_phy + itap
16
17      i = NINT(zout/zsto)
18c
19c  Champs interpolles sur des niveaux de pression du NMC
20c110304 BEG
21      DO k=1, nlevSTD
22c
23         bb=clevSTD(k)
24c
25         IF(k.GE.2) THEN
26          aa=clevSTD(k)
27          bb=aa(1:lnblnk1(aa))
28         ENDIF
29c
30cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, tlevSTD(:,k),zx_tmp_2d)
31      CALL histwrite_phy(nid_nmc,"t"//bb,itau_w,tlevSTD(:,k))
32c
33cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, philevSTD(:,k),zx_tmp_2d)
34      CALL histwrite_phy(nid_nmc,"phi"//bb,itau_w,philevSTD(:,k))
35c
36cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, qlevSTD(:,k),zx_tmp_2d)
37      CALL histwrite_phy(nid_nmc,"q"//bb,itau_w,qlevSTD(:,k))
38c
39cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, rhlevSTD(:,k),zx_tmp_2d)
40      CALL histwrite_phy(nid_nmc,"rh"//bb,itau_w,rhlevSTD(:,k))
41c
42cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, ulevSTD(:,k),zx_tmp_2d)
43      CALL histwrite_phy(nid_nmc,"u"//bb,itau_w,ulevSTD(:,k))
44c
45cym      CALL gr_fi_ecrit(1, klon,iim,jjmp1, vlevSTD(:,k),zx_tmp_2d)
46      CALL histwrite_phy(nid_nmc,"v"//bb,itau_w,vlevSTD(:,k))
47c
48      ENDDO !k=1, nlevSTD
49ccc
50c110304 END
51c
52      if (ok_sync) then
53        call histsync(nid_nmc)
54      endif
55
56      ENDIF
Note: See TracBrowser for help on using the repository browser.