source: trunk/LMDZ.VENUS/libf/phyvenus/clesphys_mod.F90 @ 3885

Last change on this file since 3885 was 3841, checked in by emillour, 5 months ago

Venus PCM:
Some work towards making OpenMP work:

  • adding some threadprivate statements for saved variables (many more missing)
  • turn conf_phys.F90 into a module
  • update way of reading/writing startphy (iostart.F90/phyredem.F)

EM

File size: 1.6 KB
Line 
1MODULE clesphys_mod
2  IMPLICIT NONE
3
4  LOGICAL,SAVE :: cycle_diurne, soil_model
5!$OMP THREADPRIVATE(cycle_diurne, soil_model)
6  LOGICAL,SAVE :: ok_orodr, ok_orolf, ok_gw_nonoro
7!$OMP THREADPRIVATE(ok_orodr, ok_orolf, ok_gw_nonoro)
8  LOGICAL,SAVE :: ok_kzmin, tuneupperatm, ok_ionchem, ok_jonline
9!$OMP THREADPRIVATE(ok_kzmin, tuneupperatm, ok_ionchem, ok_jonline)
10  LOGICAL,SAVE :: ok_iondiff
11!$OMP THREADPRIVATE(ok_iondiff)
12  LOGICAL,SAVE :: callnlte, callnirco2, callthermos
13!$OMP THREADPRIVATE(callnlte, callnirco2, callthermos)
14  LOGICAL,SAVE :: ok_cloud, ok_chem, reinit_trac, ok_sedim
15!$OMP THREADPRIVATE(ok_cloud, ok_chem, reinit_trac, ok_sedim)
16  LOGICAL,SAVE :: ok_clmain, physideal, startphy_file
17!$OMP THREADPRIVATE(ok_clmain, physideal, startphy_file)
18
19  INTEGER,SAVE :: nbapp_rad, nbapp_chem, iflag_con, iflag_ajs
20!$OMP THREADPRIVATE(nbapp_rad, nbapp_chem, iflag_con, iflag_ajs)
21  INTEGER,SAVE :: lev_histins, lev_histday, lev_histmth
22!$OMP THREADPRIVATE(lev_histins, lev_histday, lev_histmth)
23  INTEGER,SAVE :: tr_scheme, cl_scheme
24!$OMP THREADPRIVATE(tr_scheme, cl_scheme)
25  INTEGER,SAVE :: nircorr, nltemodel, solvarmod
26!$OMP THREADPRIVATE(nircorr, nltemodel, solvarmod)
27  INTEGER,SAVE :: nb_mode
28!$OMP THREADPRIVATE(nb_mode)
29  INTEGER,SAVE :: solarchoice
30!$OMP THREADPRIVATE(solarchoice)
31
32  REAL,SAVE :: ecriphy
33!$OMP THREADPRIVATE(ecriphy)
34  REAL,SAVE :: z0, lmixmin
35!$OMP THREADPRIVATE(z0, lmixmin)
36  REAL,SAVE :: ksta, inertie
37!$OMP THREADPRIVATE(ksta, inertie)
38  REAL,SAVE :: euveff, fixed_euv_value
39!$OMP THREADPRIVATE(euveff, fixed_euv_value)
40
41END MODULE clesphys_mod
Note: See TracBrowser for help on using the repository browser.