LMDZ
write_paramLMDZ_phy.h
Go to the documentation of this file.
1 !
2 ! calcul moyennes globales
3 !
5  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gbils)
7  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gevap)
8  zx_tmp_fi2d(:)=fevap(:, is_ter)*cell_area(:)
9  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gevapt)
10  zx_tmp_fi2d=zxfluxlat*cell_area
11  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,glat)
12  zx_tmp_fi2d=(topsw0-toplw0)*cell_area
13  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gnet0)
14  zx_tmp_fi2d=(topsw-toplw)*cell_area
15  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gnet)
16  zx_tmp_fi2d=(rain_fall+snow_fall)*cell_area
17  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,grain)
18  zx_tmp_fi2d=zxtsol*cell_area
19  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gtsol)
20  zx_tmp_fi2d=zt2m*cell_area
21  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gt2m)
22  zx_tmp_fi2d=prw*cell_area
23  CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gprw)
24 !
25 !$OMP MASTER
26  if (is_mpi_root) then
27 !
28  ndex2d = 0
30 !
31 ! Variables globales
32 !
33  zx_tmp_0d=R_ecc
34  CALL histwrite(nid_ctesGCM,"R_ecc",itau_w, &
35  zx_tmp_0d,np,ndex2d)
36 !
37  zx_tmp_0d=R_peri
38  CALL histwrite(nid_ctesGCM,"R_peri",itau_w, &
39  zx_tmp_0d,np,ndex2d)
40 !
41  zx_tmp_0d=R_incl
42  CALL histwrite(nid_ctesGCM,"R_incl",itau_w, &
43  zx_tmp_0d,np,ndex2d)
44 !
45  zx_tmp_0d=solaire
46  CALL histwrite(nid_ctesGCM,"solaire",itau_w, &
47  zx_tmp_0d,np,ndex2d)
48 !
49  zx_tmp_0d=co2_ppm
50  CALL histwrite(nid_ctesGCM,"co2_ppm",itau_w, &
51  zx_tmp_0d,np,ndex2d)
52 !
53  zx_tmp_0d=CH4_ppb
54  CALL histwrite(nid_ctesGCM,"CH4_ppb",itau_w, &
55  zx_tmp_0d,np,ndex2d)
56 !
57  zx_tmp_0d=N2O_ppb
58  CALL histwrite(nid_ctesGCM,"N2O_ppb",itau_w, &
59  zx_tmp_0d,np,ndex2d)
60 !
61  zx_tmp_0d=CFC11_ppt
62  CALL histwrite(nid_ctesGCM,"CFC11_ppt",itau_w, &
63  zx_tmp_0d,np,ndex2d)
64 !
65  zx_tmp_0d=CFC12_ppt
66  CALL histwrite(nid_ctesGCM,"CFC12_ppt",itau_w, &
67  zx_tmp_0d,np,ndex2d)
68 !
69 !=================================================================
70 ! moyennes globales
71 !
72  CALL histwrite(nid_ctesGCM,"bils",itau_w, &
73  gbils,np,ndex2d)
74  CALL histwrite(nid_ctesGCM,"evap",itau_w, &
75  gevap,np,ndex2d)
76  CALL histwrite(nid_ctesGCM,"evap_land",itau_w, &
77  gevapt,np,ndex2d)
78  CALL histwrite(nid_ctesGCM,"flat",itau_w, &
79  glat,np,ndex2d)
80  CALL histwrite(nid_ctesGCM,"nettop0",itau_w, &
81  gnet0,np,ndex2d)
82  CALL histwrite(nid_ctesGCM,"nettop",itau_w, &
83  gnet,np,ndex2d)
84  CALL histwrite(nid_ctesGCM,"precip",itau_w, &
85  grain,np,ndex2d)
86  CALL histwrite(nid_ctesGCM,"tsol",itau_w, &
87  gtsol,np,ndex2d)
88  CALL histwrite(nid_ctesGCM,"t2m",itau_w, &
89  gt2m,np,ndex2d)
90  CALL histwrite(nid_ctesGCM,"prw",itau_w, &
91  gprw,np,ndex2d)
92 !=================================================================
93 !
94  if (ok_sync) then
95  call histsync(nid_ctesGCM)
96  endif
97 !
98  endif !(is_mpi_root) then
99 !$OMP END MASTER
!$Id Turb_fcg_gcssold if(prt_level.ge.1) then print *
!$Id klon zx_tmp_fi2d(i)
real, dimension(:), allocatable, save topsw
real, dimension(:), allocatable, save tsol
integer, parameter is_ter
real, dimension(:), allocatable, save bils
real, dimension(:), allocatable, save snow_fall
!$Id klon initialisation mois suivants day_rain itap
Definition: calcul_divers.h:18
real, dimension(:), allocatable, save rain_fall
!$Id ok_orolf LOGICAL ok_limitvrai LOGICAL ok_all_xml INTEGER iflag_ener_conserv REAL solaire RCFC12 RCFC12_act CFC11_ppt
Definition: clesphys.h:19
integer, save day_step_phy
real, dimension(:), allocatable, save zt2m
!$Id itau_phy
Definition: temps.h:15
real, dimension(:), allocatable, save topsw0
real, dimension(:,:), allocatable, save t2m
real, dimension(:), allocatable, save zxtsol
real, dimension(:), allocatable, save toplw
real, dimension(:), allocatable, save evap
!$Id RNAVO!A1 Astronomical constants REAL ROMEGA!A1 bis Constantes concernant l orbite de la R_incl!A1 Geoide REAL R1SA!A1 Radiation!REAL RI0 REAL RSIGMA!A1 Thermodynamic gas phase REAL RCVV REAL RETV Thermodynamic solid phases REAL RCS!A1 Thermodynamic transition of phase REAL RATM!A1 Curve of saturation REAL RGAMS REAL RGAMD!COMMON YOMCST RNAVO ROMEGA R_ecc
Definition: YOMCST.h:11
!$Id ok_orolf LOGICAL ok_limitvrai LOGICAL ok_all_xml INTEGER iflag_ener_conserv REAL co2_ppm
Definition: clesphys.h:12
real, dimension(:), allocatable, save toplw0
subroutine global_mean(field, airephy, laire, mfield)
Definition: global_mean.F90:2
real, dimension(:), allocatable, save prw
real, dimension(:,:), allocatable, save fevap
!$Id RNAVO!A1 Astronomical constants REAL ROMEGA!A1 bis Constantes concernant l orbite de la R_peri
Definition: YOMCST.h:11
!FH On elimine toutes les clefs physiques dans la dynamique itau_w
!$Id start_time
Definition: temps.h:15
!$Id flat
Definition: flux_arp.h:11
!$Id ok_orolf LOGICAL ok_limitvrai LOGICAL ok_all_xml INTEGER iflag_ener_conserv REAL solaire RCFC12 RCFC12_act N2O_ppb
Definition: clesphys.h:19
real, dimension(:), allocatable, save cell_area
real, dimension(:), allocatable, save zxfluxlat