My Project
 All Classes Files Functions Variables Macros
write_histREGDYN.h
Go to the documentation of this file.
1 !
2 ! $Header$
3 !
4  if (ok_regdyn) then
5 
6  if (is_sequential) then
7 
8 
9  ndex3d = 0
10  itau_w = itau_phy + itap + start_time * day_step / iphysiq
11 c
12  CALL histwrite(nid_regdyn,"hw1",itau_w,histoW(:,:,:,1),
13  & kmaxm1*lmaxm1*iwmax,ndex3d)
14 c
15  CALL histwrite(nid_regdyn,"nh1",itau_w,nhistoW(:,:,:,1),
16  & kmaxm1*lmaxm1*iwmax,ndex3d)
17 c
18  CALL histwrite(nid_regdyn,"nht1",itau_w,nhistoWt(:,:,:,1),
19  & kmaxm1*lmaxm1*iwmax,ndex3d)
20 c
21  CALL histwrite(nid_regdyn,"hw2",itau_w,histoW(:,:,:,2),
22  & kmaxm1*lmaxm1*iwmax,ndex3d)
23 c
24  CALL histwrite(nid_regdyn,"nh2",itau_w,nhistoW(:,:,:,2),
25  & kmaxm1*lmaxm1*iwmax,ndex3d)
26 c
27  CALL histwrite(nid_regdyn,"nht2",itau_w,nhistoWt(:,:,:,2),
28  & kmaxm1*lmaxm1*iwmax,ndex3d)
29 c
30  CALL histwrite(nid_regdyn,"hw3",itau_w,histoW(:,:,:,3),
31  & kmaxm1*lmaxm1*iwmax,ndex3d)
32 c
33  CALL histwrite(nid_regdyn,"nh3",itau_w,nhistoW(:,:,:,3),
34  & kmaxm1*lmaxm1*iwmax,ndex3d)
35 c
36  CALL histwrite(nid_regdyn,"nht3",itau_w,nhistoWt(:,:,:,3),
37  & kmaxm1*lmaxm1*iwmax,ndex3d)
38 c
39  CALL histwrite(nid_regdyn,"hw4",itau_w,histoW(:,:,:,4),
40  & kmaxm1*lmaxm1*iwmax,ndex3d)
41 c
42  CALL histwrite(nid_regdyn,"nh4",itau_w,nhistoW(:,:,:,4),
43  & kmaxm1*lmaxm1*iwmax,ndex3d)
44 c
45  CALL histwrite(nid_regdyn,"nht4",itau_w,nhistoWt(:,:,:,4),
46  & kmaxm1*lmaxm1*iwmax,ndex3d)
47 c
48  CALL histwrite(nid_regdyn,"hw5",itau_w,histoW(:,:,:,5),
49  & kmaxm1*lmaxm1*iwmax,ndex3d)
50 c
51  CALL histwrite(nid_regdyn,"nh5",itau_w,nhistoW(:,:,:,5),
52  & kmaxm1*lmaxm1*iwmax,ndex3d)
53 c
54  CALL histwrite(nid_regdyn,"nht5",itau_w,nhistoWt(:,:,:,5),
55  & kmaxm1*lmaxm1*iwmax,ndex3d)
56 
57  if (ok_sync) then
58  call histsync(nid_regdyn)
59  endif
60 
61  endif ! is_sequential
62 
63  endif