- Timestamp:
- Jul 24, 2016, 11:51:55 AM (8 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 1 added
- 1 deleted
- 60 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/advtrac.F90
r2600 r2601 20 20 include "comgeom2.h" 21 21 include "logic.h" 22 include "temps.h"23 22 include "ener.h" 24 23 include "description.h" -
LMDZ5/trunk/libf/dyn3d/bilan_dyn.F
r2600 r2601 15 15 USE comconst_mod, ONLY: pi, cpp 16 16 USE comvert_mod, ONLY: presnivs 17 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 17 18 18 19 IMPLICIT NONE … … 21 22 include "paramet.h" 22 23 include "comgeom2.h" 23 include "temps.h"24 24 include "iniprint.h" 25 25 -
LMDZ5/trunk/libf/dyn3d/conf_gcm.F90
r2598 r2601 18 18 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 19 19 alphax,alphay,taux,tauy 20 USE temps_mod, ONLY: calend 20 21 21 22 IMPLICIT NONE … … 38 39 include "logic.h" 39 40 include "comdissnew.h" 40 include "temps.h"41 41 include "iniprint.h" 42 42 -
LMDZ5/trunk/libf/dyn3d/dynetat0.f90
r2600 r2601 14 14 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, im, jm, kappa, lllm, omeg, rad 15 15 USE serre_mod, ONLY: clon, clat, grossismx, grossismy 16 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, itau_dyn, start_time 16 17 17 18 IMPLICIT NONE 18 19 include "dimensions.h" 19 20 include "paramet.h" 20 include "temps.h"21 21 include "comgeom2.h" 22 22 include "ener.h" -
LMDZ5/trunk/libf/dyn3d/dynredem.F90
r2600 r2601 16 16 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 17 17 taux,tauy 18 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn, itaufin, start_time 19 18 20 IMPLICIT NONE 19 21 include "dimensions.h" 20 22 include "paramet.h" 21 23 include "comgeom2.h" 22 include "temps.h"23 24 include "ener.h" 24 25 include "logic.h" … … 170 171 USE dynredem_mod, ONLY: dynredem_write_u, dynredem_write_v, dynredem_read_u, & 171 172 err, modname, fil, msg 173 USE temps_mod, ONLY: itau_dyn, itaufin 174 172 175 IMPLICIT NONE 173 176 include "dimensions.h" … … 175 178 include "description.h" 176 179 include "comgeom.h" 177 include "temps.h"178 180 include "iniprint.h" 179 181 !=============================================================================== -
LMDZ5/trunk/libf/dyn3d/fluxstokenc.F
r2600 r2601 20 20 include "comgeom.h" 21 21 include "tracstoke.h" 22 include "temps.h"23 22 include "iniprint.h" 24 23 -
LMDZ5/trunk/libf/dyn3d/gcm.F90
r2600 r2601 23 23 USE control_mod 24 24 USE mod_const_mpi, ONLY: COMM_LMDZ 25 USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, & 26 itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end 25 27 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad 26 28 … … 71 73 include "comgeom.h" 72 74 include "logic.h" 73 include "temps.h"74 75 include "ener.h" 75 76 include "description.h" -
LMDZ5/trunk/libf/dyn3d/iniacademic.F90
r2600 r2601 18 18 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 19 19 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 20 USE temps_mod, ONLY: annee_ref, day_ini, day_ref 20 21 21 22 ! Author: Frederic Hourdin original: 15/01/93 … … 33 34 include "academic.h" 34 35 include "ener.h" 35 include "temps.h"36 36 include "iniprint.h" 37 37 include "logic.h" -
LMDZ5/trunk/libf/dyn3d/integrd.F
r2600 r2601 10 10 use comconst_mod, only: pi 11 11 use comvert_mod, only: ap, bp 12 USE temps_mod, ONLY: dt 12 13 13 14 IMPLICIT NONE … … 33 34 include "comgeom.h" 34 35 include "logic.h" 35 include "temps.h"36 36 include "iniprint.h" 37 37 -
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r2600 r2601 22 22 USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs 23 23 USE comconst_mod, ONLY: cpp, dtphys, dtvr, pi, ihf 24 USE temps_mod, ONLY: jD_ref,jH_ref,itaufin,day_ini,day_ref, 25 & start_time,dt 24 26 25 27 IMPLICIT NONE … … 61 63 include "comgeom.h" 62 64 include "logic.h" 63 include "temps.h"64 65 include "ener.h" 65 66 include "description.h" -
LMDZ5/trunk/libf/dyn3d/temps_mod.F90
r2600 r2601 2 2 ! $Id$ 3 3 ! 4 ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre 5 ! veillez n'utiliser que des ! pour les commentaires 6 ! et bien positionner les & des lignes de continuation 7 ! (les placer en colonne 6 et en colonne 73) 8 ! 9 ! 10 ! jD_ref = jour julien de la date de reference (lancement de l'experience) 11 ! hD_ref = "heure" julienne de la date de reference 12 !----------------------------------------------------------------------- 13 ! INCLUDE 'temps.h' 4 MODULE temps_mod 14 5 15 COMMON/temps/ dt, jD_ref, jH_ref, start_time, & 16 & day_ini, day_end, annee_ref, day_ref, & 17 & itau_dyn, itau_phy, itaufin, calend 6 IMPLICIT NONE 18 7 8 INTEGER itaufin ! total number of dynamical steps for the run 9 INTEGER itau_dyn 10 INTEGER itau_phy 11 INTEGER day_ini ! initial day # of simulation sequence 12 INTEGER day_end ! final day # ; i.e. day # when this simulation ends 13 INTEGER annee_ref 14 INTEGER day_ref 15 REAL dt ! (dynamics) time step (changes if doing Matsuno or LF step) 16 REAL jD_ref ! reference julian day date (beginning of experiment) 17 REAL jH_ref ! reference julian "hour" of reference julian date 18 REAL start_time 19 CHARACTER (len=10) :: calend ! calendar type 19 20 20 INTEGER itaufin 21 INTEGER itau_dyn, itau_phy 22 INTEGER day_ini, day_end, annee_ref, day_ref 23 REAL dt, jD_ref, jH_ref, start_time 24 CHARACTER (len=10) :: calend 21 ! Additionnal Mars stuff: 22 REAL hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1) 25 23 26 !----------------------------------------------------------------------- 24 END MODULE temps_mod -
LMDZ5/trunk/libf/dyn3d_common/adaptdt.F
r2600 r2601 5 5 c masse) 6 6 7 ! USE control_mod8 7 USE comconst_mod, ONLY: dtvr 9 8 IMPLICIT NONE … … 14 13 include "comgeom2.h" 15 14 include "logic.h" 16 include "temps.h"17 15 include "ener.h" 18 16 include "description.h" -
LMDZ5/trunk/libf/dyn3d_common/iniconst.F90
r2600 r2601 24 24 include "dimensions.h" 25 25 include "paramet.h" 26 include "temps.h"27 26 include "iniprint.h" 28 27 -
LMDZ5/trunk/libf/dyn3d_common/initdynav.F90
r2600 r2601 11 11 USE comconst_mod, ONLY: pi 12 12 USE comvert_mod, ONLY: presnivs 13 USE temps_mod, ONLY: itau_dyn 14 13 15 implicit none 14 16 … … 37 39 include "paramet.h" 38 40 include "comgeom.h" 39 include "temps.h"40 41 include "ener.h" 41 42 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/initfluxsto.F
r2600 r2601 11 11 USE comconst_mod, ONLY: pi 12 12 USE comvert_mod, ONLY: nivsigs 13 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 14 13 15 implicit none 14 16 … … 43 45 include "paramet.h" 44 46 include "comgeom.h" 45 include "temps.h"46 47 include "ener.h" 47 48 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/inithist.F
r2600 r2601 12 12 USE comconst_mod, ONLY: pi 13 13 USE comvert_mod, ONLY: presnivs 14 USE temps_mod, ONLY: itau_dyn 15 14 16 implicit none 15 17 … … 42 44 include "paramet.h" 43 45 include "comgeom.h" 44 include "temps.h"45 46 include "ener.h" 46 47 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/interpre.F
r2600 r2601 16 16 include "comgeom2.h" 17 17 include "logic.h" 18 include "temps.h"19 18 include "ener.h" 20 19 include "description.h" -
LMDZ5/trunk/libf/dyn3d_common/sortvarc.F
r2600 r2601 31 31 INCLUDE "ener.h" 32 32 INCLUDE "logic.h" 33 INCLUDE "temps.h"34 33 INCLUDE "iniprint.h" 35 34 -
LMDZ5/trunk/libf/dyn3d_common/traceurpole.F
r2600 r2601 11 11 include "comgeom2.h" 12 12 include "logic.h" 13 include "temps.h"14 13 include "ener.h" 15 14 include "description.h" -
LMDZ5/trunk/libf/dyn3d_common/writedynav.F90
r2600 r2601 9 9 use com_io_dyn_mod, only : histaveid, histvaveid, histuaveid 10 10 USE comconst_mod, ONLY: cpp 11 USE temps_mod, ONLY: itau_dyn 11 12 12 13 implicit none … … 33 34 include "paramet.h" 34 35 include "comgeom.h" 35 include "temps.h"36 36 include "ener.h" 37 37 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/writehist.F
r2600 r2601 9 9 USE infotrac, ONLY : nqtot, ttext 10 10 use com_io_dyn_mod, only : histid,histvid,histuid 11 USE temps_mod, ONLY: itau_dyn 12 11 13 implicit none 12 14 … … 36 38 include "paramet.h" 37 39 include "comgeom.h" 38 include "temps.h"39 40 include "ener.h" 40 41 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/advtrac_loc.F
r2600 r2601 35 35 include "comgeom2.h" 36 36 include "logic.h" 37 include "temps.h"38 37 include "ener.h" 39 38 include "description.h" -
LMDZ5/trunk/libf/dyn3dmem/bilan_dyn_loc.F
r2600 r2601 19 19 USE comconst_mod, ONLY: cpp, pi 20 20 USE comvert_mod, ONLY: presnivs 21 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 21 22 22 23 IMPLICIT NONE … … 25 26 include "paramet.h" 26 27 include "comgeom2.h" 27 include "temps.h"28 28 include "iniprint.h" 29 29 -
LMDZ5/trunk/libf/dyn3dmem/call_calfis_mod.F90
r2600 r2601 84 84 USE comconst_mod, ONLY: dtphys 85 85 USE comvert_mod, ONLY: ap, bp, pressure_exner 86 USE temps_mod, ONLY: day_ini, day_ref, jd_ref, jh_ref, start_time 86 87 87 88 IMPLICIT NONE 88 89 INCLUDE "logic.h" 89 INCLUDE "temps.h"90 90 INCLUDE "iniprint.h" 91 91 -
LMDZ5/trunk/libf/dyn3dmem/conf_gcm.F90
r2598 r2601 22 22 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 23 23 alphax,alphay,taux,tauy 24 USE temps_mod, ONLY: calend 24 25 25 26 IMPLICIT NONE … … 42 43 include "logic.h" 43 44 include "comdissnew.h" 44 include "temps.h"45 45 include "iniprint.h" 46 46 -
LMDZ5/trunk/libf/dyn3dmem/dynetat0_loc.f90
r2600 r2601 16 16 omeg, rad 17 17 USE serre_mod, ONLY: clon, clat, grossismx, grossismy 18 USE temps_mod, ONLY: annee_ref,day_ref,itau_dyn, & 19 start_time,day_ini,hour_ini 18 20 19 21 IMPLICIT NONE 20 22 include "dimensions.h" 21 23 include "paramet.h" 22 include "temps.h"23 24 include "comgeom.h" 24 25 include "ener.h" -
LMDZ5/trunk/libf/dyn3dmem/dynredem_loc.F90
r2600 r2601 18 18 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 19 19 taux,tauy 20 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn, itaufin, start_time 20 21 21 22 IMPLICIT NONE … … 23 24 include "paramet.h" 24 25 include "comgeom.h" 25 include "temps.h"26 26 include "ener.h" 27 27 include "logic.h" … … 179 179 USE dynredem_mod, ONLY: dynredem_write_u, dynredem_write_v, dynredem_read_u, & 180 180 err, modname, fil, msg 181 USE temps_mod, ONLY: itau_dyn, itaufin 182 181 183 IMPLICIT NONE 182 184 include "dimensions.h" … … 184 186 include "description.h" 185 187 include "comgeom.h" 186 include "temps.h"187 188 include "iniprint.h" 188 189 !=============================================================================== -
LMDZ5/trunk/libf/dyn3dmem/gcm.F90
r2600 r2601 22 22 #endif 23 23 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad 24 USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, & 25 itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, & 26 dt,hour_ini,itaufin 27 24 28 IMPLICIT NONE 25 29 … … 58 62 include "comgeom.h" 59 63 include "logic.h" 60 include "temps.h"61 64 include "ener.h" 62 65 include "description.h" … … 449 452 ! write(78,*) 'q',q 450 453 451 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/) 454 !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/) 455 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/logici/,/logicl/) & 456 ! Copy all threadprivate variables in temps_mod 457 !$OMP COPYIN(dt,jD_ref,jH_ref,start_time,hour_ini,day_ini,day_end) & 458 !$OMP COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend) 452 459 CALL leapfrog_loc(ucov,vcov,teta,ps,masse,phis,q,time_0) 453 460 !$OMP END PARALLEL -
LMDZ5/trunk/libf/dyn3dmem/iniacademic_loc.F90
r2600 r2601 20 20 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 21 21 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 22 USE temps_mod, ONLY: annee_ref, day_ini, day_ref 22 23 23 24 ! Author: Frederic Hourdin original: 15/01/93 … … 35 36 include "academic.h" 36 37 include "ener.h" 37 include "temps.h"38 38 include "iniprint.h" 39 39 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/initdynav_loc.F
r2600 r2601 16 16 USE comconst_mod, ONLY: pi 17 17 USE comvert_mod, ONLY: presnivs 18 USE temps_mod, ONLY: itau_dyn 18 19 19 20 implicit none … … 47 48 include "paramet.h" 48 49 include "comgeom.h" 49 include "temps.h"50 50 include "ener.h" 51 51 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/initfluxsto_p.F
r2600 r2601 15 15 USE comconst_mod, ONLY: pi 16 16 USE comvert_mod, ONLY: nivsigs 17 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 17 18 18 19 implicit none … … 48 49 include "paramet.h" 49 50 include "comgeom.h" 50 include "temps.h"51 51 include "ener.h" 52 52 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/inithist_loc.F
r2600 r2601 16 16 USE comconst_mod, ONLY: pi 17 17 USE comvert_mod, ONLY: presnivs 18 USE temps_mod, ONLY: itau_dyn 18 19 19 20 implicit none … … 46 47 include "paramet.h" 47 48 include "comgeom.h" 48 include "temps.h"49 49 include "ener.h" 50 50 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/integrd_loc.F
r2600 r2601 14 14 USE comconst_mod, ONLY: pi 15 15 USE comvert_mod, ONLY: ap, bp 16 USE temps_mod, ONLY: dt 16 17 17 18 IMPLICIT NONE … … 37 38 include "comgeom.h" 38 39 include "logic.h" 39 include "temps.h"40 40 include "iniprint.h" 41 41 -
LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
r2600 r2601 34 34 USE comconst_mod, ONLY: cpp, dtvr, ihf 35 35 USE comvert_mod, ONLY: ap, bp, pressure_exner 36 USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini, 37 & day_ref,start_time,dt 36 38 37 39 IMPLICIT NONE … … 73 75 include "comgeom.h" 74 76 include "logic.h" 75 include "temps.h"76 77 include "ener.h" 77 78 include "description.h" -
LMDZ5/trunk/libf/dyn3dmem/temps_mod.F90
r2600 r2601 1 1 ! 2 ! $Id $2 ! $Id: temps_mod.F90 -1 $ 3 3 ! 4 ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre 5 ! veillez n'utiliser que des ! pour les commentaires 6 ! et bien positionner les & des lignes de continuation 7 ! (les placer en colonne 6 et en colonne 73) 8 ! 9 ! 10 ! jD_ref = jour julien de la date de reference (lancement de l'experience) 11 ! hD_ref = "heure" julienne de la date de reference 12 !----------------------------------------------------------------------- 13 ! INCLUDE 'temps.h' 4 MODULE temps_mod 14 5 15 COMMON/temps/ dt, jD_ref, jH_ref, start_time, & 16 & day_ini, day_end, annee_ref, day_ref, & 17 & itau_dyn, itau_phy, itaufin, calend 6 IMPLICIT NONE 18 7 8 INTEGER itaufin ! total number of dynamical steps for the run 9 INTEGER itau_dyn 10 INTEGER itau_phy 11 INTEGER day_ini ! initial day # of simulation sequence 12 INTEGER day_end ! final day # ; i.e. day # when this simulation ends 13 INTEGER annee_ref 14 INTEGER day_ref 15 REAL dt ! (dynamics) time step (changes if doing Matsuno or LF step) 16 REAL jD_ref ! reference julian day date (beginning of experiment) 17 REAL jH_ref ! reference julian "hour" of reference julian date 18 REAL start_time 19 CHARACTER (len=10) :: calend ! calendar type 19 20 20 INTEGER itaufin 21 INTEGER itau_dyn, itau_phy 22 INTEGER day_ini, day_end, annee_ref, day_ref 23 REAL dt, jD_ref, jH_ref, start_time 24 CHARACTER (len=10) :: calend 21 ! Additionnal Mars stuff: 22 REAL hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1) 25 23 26 !$OMP THREADPRIVATE(/temps/) 27 !----------------------------------------------------------------------- 24 !$OMP THREADPRIVATE(dt,jD_ref,jH_ref,start_time,hour_ini, & 25 !$OMP day_ini,day_end,annee_ref,day_ref,itau_dyn,itau_phy,itaufin,& 26 !$OMP calend) 27 28 !WARNING: when adding a threadprivate variable in this module 29 ! do not forget to add it to the copyin clause when opening an OpenMP 30 ! parallel section. e.g. in gcm before call leapfrog_loc and/or 31 ! possibly in iniphysiq 32 33 END MODULE temps_mod -
LMDZ5/trunk/libf/dyn3dmem/writedynav_loc.F
r2600 r2601 14 14 use com_io_dyn_mod, only : histaveid,histvaveid,histuaveid 15 15 USE comconst_mod, ONLY: cpp 16 USE temps_mod, ONLY: itau_dyn 17 16 18 implicit none 17 19 … … 45 47 include "paramet.h" 46 48 include "comgeom.h" 47 include "temps.h"48 49 include "ener.h" 49 50 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/writehist_loc.F
r2600 r2601 14 14 use com_io_dyn_mod, only : histid,histvid,histuid 15 15 USE comconst_mod, ONLY: cpp 16 USE temps_mod, ONLY: itau_dyn 17 16 18 implicit none 17 19 … … 45 47 include "paramet.h" 46 48 include "comgeom.h" 47 include "temps.h"48 49 include "ener.h" 49 50 include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/advtrac_p.F90
r2600 r2601 27 27 include "comgeom2.h" 28 28 include "logic.h" 29 include "temps.h"30 29 include "ener.h" 31 30 include "description.h" -
LMDZ5/trunk/libf/dyn3dpar/bilan_dyn_p.F
r2600 r2601 19 19 USE comconst_mod, ONLY: cpp, pi 20 20 USE comvert_mod, ONLY: presnivs 21 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 21 22 22 23 IMPLICIT NONE … … 25 26 #include "paramet.h" 26 27 #include "comgeom2.h" 27 #include "temps.h"28 28 #include "iniprint.h" 29 29 -
LMDZ5/trunk/libf/dyn3dpar/conf_gcm.F90
r2598 r2601 21 21 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 22 22 alphax,alphay,taux,tauy 23 USE temps_mod, ONLY: calend 23 24 24 25 IMPLICIT NONE … … 41 42 include "logic.h" 42 43 include "comdissnew.h" 43 include "temps.h"44 44 include "iniprint.h" 45 45 -
LMDZ5/trunk/libf/dyn3dpar/dynetat0.F
r2600 r2601 14 14 15 15 USE serre_mod, ONLY: clon,clat,grossismx,grossismy 16 USE temps_mod, ONLY: annee_ref,day_ref,itau_dyn, 17 & start_time,day_ini,hour_ini 16 18 17 19 IMPLICIT NONE … … 34 36 #include "dimensions.h" 35 37 #include "paramet.h" 36 #include "temps.h"37 38 #include "comgeom2.h" 38 39 #include "ener.h" -
LMDZ5/trunk/libf/dyn3dpar/dynredem.F
r2600 r2601 14 14 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, 15 15 & taux,tauy 16 USE temps_mod, ONLY: annee_ref,day_ref,itau_dyn,itaufin, 17 & start_time,hour_ini 16 18 17 19 IMPLICIT NONE … … 24 26 #include "paramet.h" 25 27 #include "comgeom2.h" 26 #include "temps.h"27 28 #include "ener.h" 28 29 #include "logic.h" … … 473 474 use netcdf, only: NF90_get_VAR 474 475 use netcdf95, only: NF95_PUT_VAR 476 USE temps_mod, ONLY: itau_dyn, itaufin 475 477 476 478 IMPLICIT NONE … … 483 485 #include "netcdf.inc" 484 486 #include "comgeom.h" 485 #include "temps.h"486 487 #include "iniprint.h" 487 488 -
LMDZ5/trunk/libf/dyn3dpar/dynredem_p.F
r2600 r2601 15 15 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, 16 16 & taux,tauy 17 USE temps_mod, ONLY: annee_ref,day_ref,itau_dyn,itaufin, 18 & start_time,hour_ini 17 19 18 20 IMPLICIT NONE … … 25 27 #include "paramet.h" 26 28 #include "comgeom2.h" 27 #include "temps.h"28 29 #include "ener.h" 29 30 #include "logic.h" … … 474 475 use netcdf, only: NF90_get_VAR 475 476 use netcdf95, only: NF95_PUT_VAR 477 USE temps_mod, ONLY: itau_dyn, itaufin 476 478 477 479 IMPLICIT NONE … … 484 486 #include "netcdf.inc" 485 487 #include "comgeom.h" 486 #include "temps.h"487 488 488 489 -
LMDZ5/trunk/libf/dyn3dpar/fluxstokenc_p.F
r2600 r2601 23 23 #include "comgeom.h" 24 24 #include "tracstoke.h" 25 #include "temps.h"26 25 #include "iniprint.h" 27 26 -
LMDZ5/trunk/libf/dyn3dpar/gcm.F
r2600 r2601 33 33 #endif 34 34 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad 35 USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, 36 & itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, 37 & dt,hour_ini,itaufin 35 38 36 39 IMPLICIT NONE … … 70 73 #include "comgeom.h" 71 74 #include "logic.h" 72 #include "temps.h"73 75 #include "ener.h" 74 76 #include "description.h" … … 498 500 c write(78,*) 'q',q 499 501 500 c$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/) 502 !c$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/) 503 c$OMP PARALLEL DEFAULT(SHARED) COPYIN(/logici/,/logicl/) 504 c Copy all threadprivate variables from temps_mod 505 c$OMP1 COPYIN(dt,jD_ref,jH_ref,start_time,hour_ini,day_ini,day_end) 506 c$OMP1 COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend) 501 507 CALL leapfrog_p(ucov,vcov,teta,ps,masse,phis,q,time_0) 502 508 c$OMP END PARALLEL -
LMDZ5/trunk/libf/dyn3dpar/iniacademic.F90
r2600 r2601 18 18 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 19 19 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 20 USE temps_mod, ONLY: annee_ref, day_ini, day_ref 20 21 21 22 ! Author: Frederic Hourdin original: 15/01/93 … … 33 34 include "academic.h" 34 35 include "ener.h" 35 include "temps.h"36 36 include "iniprint.h" 37 37 include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/initdynav_p.F
r2600 r2601 14 14 USE comconst_mod, ONLY: pi 15 15 USE comvert_mod, ONLY: nivsigs 16 USE temps_mod, ONLY: itau_dyn 16 17 17 18 implicit none … … 46 47 #include "paramet.h" 47 48 #include "comgeom.h" 48 #include "temps.h"49 49 #include "ener.h" 50 50 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/initfluxsto_p.F
r2600 r2601 15 15 USE comconst_mod, ONLY: pi 16 16 USE comvert_mod, ONLY: nivsigs 17 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn 17 18 18 19 implicit none … … 48 49 #include "paramet.h" 49 50 #include "comgeom.h" 50 #include "temps.h"51 51 #include "ener.h" 52 52 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/inithist_p.F
r2600 r2601 15 15 USE comconst_mod, ONLY: pi 16 16 USE comvert_mod, ONLY: nivsigs 17 USE temps_mod, ONLY: itau_dyn 17 18 18 19 implicit none … … 48 49 #include "paramet.h" 49 50 #include "comgeom.h" 50 #include "temps.h"51 51 #include "ener.h" 52 52 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/integrd_p.F
r2600 r2601 9 9 USE comconst_mod, ONLY: pi 10 10 USE comvert_mod, ONLY: ap, bp 11 USE temps_mod, ONLY: dt 12 11 13 IMPLICIT NONE 12 14 … … 31 33 #include "comgeom.h" 32 34 #include "logic.h" 33 #include "temps.h"34 35 #include "iniprint.h" 35 36 … … 283 284 ije=ij_end 284 285 285 286 if (planet_type.eq."earth") then 286 287 ! Earth-specific treatment of first 2 tracers (water) 287 288 c$OMP BARRIER … … 384 385 DO l = 1, llm 385 386 massem1(ijb:ije,l)=massescr(ijb:ije,l) 386 387 c$OMP END DO NOWAIT 387 ENDDO 388 c$OMP END DO NOWAIT 388 389 END IF 389 390 c$OMP BARRIER -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r2600 r2601 30 30 USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs 31 31 USE comconst_mod, ONLY: cpp, dtvr, ihf, dtphys, pi, jmp1 32 USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini, 33 & day_ref,start_time,dt 34 32 35 IMPLICIT NONE 33 36 … … 68 71 #include "comgeom.h" 69 72 #include "logic.h" 70 #include "temps.h"71 73 #include "ener.h" 72 74 #include "description.h" -
LMDZ5/trunk/libf/dyn3dpar/temps_mod.F90
r2600 r2601 2 2 ! $Id$ 3 3 ! 4 ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre 5 ! veillez n'utiliser que des ! pour les commentaires 6 ! et bien positionner les & des lignes de continuation 7 ! (les placer en colonne 6 et en colonne 73) 8 ! 9 ! 10 ! jD_ref = jour julien de la date de reference (lancement de l'experience) 11 ! hD_ref = "heure" julienne de la date de reference 12 !----------------------------------------------------------------------- 13 ! INCLUDE 'temps.h' 4 MODULE temps_mod 14 5 15 COMMON/temps/ dt, jD_ref, jH_ref, start_time, & 16 & day_ini, day_end, annee_ref, day_ref, & 17 & itau_dyn, itau_phy, itaufin, calend 6 IMPLICIT NONE 18 7 8 INTEGER itaufin ! total number of dynamical steps for the run 9 INTEGER itau_dyn 10 INTEGER itau_phy 11 INTEGER day_ini ! initial day # of simulation sequence 12 INTEGER day_end ! final day # ; i.e. day # when this simulation ends 13 INTEGER annee_ref 14 INTEGER day_ref 15 REAL dt ! (dynamics) time step (changes if doing Matsuno or LF step) 16 REAL jD_ref ! reference julian day date (beginning of experiment) 17 REAL jH_ref ! reference julian "hour" of reference julian date 18 REAL start_time 19 CHARACTER (len=10) :: calend ! calendar type 19 20 20 INTEGER itaufin 21 INTEGER itau_dyn, itau_phy 22 INTEGER day_ini, day_end, annee_ref, day_ref 23 REAL dt, jD_ref, jH_ref, start_time 24 CHARACTER (len=10) :: calend 21 ! Additionnal Mars stuff: 22 REAL hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1) 25 23 26 !$OMP THREADPRIVATE(/temps/) 27 !----------------------------------------------------------------------- 24 !$OMP THREADPRIVATE(dt,jD_ref,jH_ref,start_time,hour_ini, & 25 !$OMP day_ini,day_end,annee_ref,day_ref,itau_dyn,itau_phy,itaufin,& 26 !$OMP calend) 27 28 !WARNING: when adding a threadprivate variable in this module 29 ! do not forget to add it to the copyin clause when opening an OpenMP 30 ! parallel section. e.g. in gcm before call leapfrog_loc and/or 31 ! possibly in iniphysiq 32 33 END MODULE temps_mod -
LMDZ5/trunk/libf/dyn3dpar/writedynav_p.F
r2600 r2601 13 13 USE infotrac 14 14 USE comconst_mod, ONLY: cpp 15 USE temps_mod, ONLY: itau_dyn 16 15 17 implicit none 16 18 … … 44 46 #include "paramet.h" 45 47 #include "comgeom.h" 46 #include "temps.h"47 48 #include "ener.h" 48 49 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/writehist_p.F
r2600 r2601 12 12 USE misc_mod 13 13 USE infotrac 14 USE temps_mod, ONLY: itau_dyn 15 14 16 implicit none 15 17 … … 44 46 #include "paramet.h" 45 47 #include "comgeom.h" 46 #include "temps.h"47 48 #include "ener.h" 48 49 #include "logic.h" -
LMDZ5/trunk/libf/dynphy_lonlat/calfis.F
r2600 r2601 93 93 include "dimensions.h" 94 94 include "paramet.h" 95 include "temps.h"96 95 97 96 INTEGER ngridmx -
LMDZ5/trunk/libf/dynphy_lonlat/calfis_loc.F
r2600 r2601 111 111 include "dimensions.h" 112 112 include "paramet.h" 113 include "temps.h"114 113 115 114 INTEGER ngridmx -
LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F
r2600 r2601 107 107 #include "dimensions.h" 108 108 #include "paramet.h" 109 #include "temps.h"110 109 111 110 INTEGER ngridmx -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90
r2600 r2601 37 37 pi, jmp1 38 38 USE comvert_mod, ONLY: pa, preff, pressure_exner 39 USE temps_mod, ONLY: calend, day_ini, dt 39 40 40 41 IMPLICIT NONE … … 46 47 include "comgeom2.h" 47 48 include "iniprint.h" 48 include "temps.h"49 49 include "logic.h" 50 50 REAL :: masque(iip1,jjp1) !--- CONTINENTAL MASK -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/etat0dyn_netcdf.F90
r2600 r2601 38 38 USE comconst_mod, ONLY: pi, cpp, kappa 39 39 USE comvert_mod, ONLY: ap, bp, preff, pressure_exner 40 USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn, itau_phy 41 40 42 IMPLICIT NONE 41 43 … … 47 49 include "paramet.h" 48 50 include "comgeom2.h" 49 include "temps.h"50 51 include "comdissnew.h" 51 52 REAL, SAVE :: deg2rad -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.F90
r2597 r2601 54 54 include "comgeom2.h" 55 55 include "dimsoil.h" 56 include "temps.h"57 56 include "clesphys.h" 58 57 REAL, SAVE :: deg2rad -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r2600 r2601 32 32 USE inifis_mod, ONLY: inifis 33 33 USE time_phylmdz_mod, ONLY: init_time 34 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, start_time 34 35 USE infotrac_phy, ONLY: init_infotrac_phy 35 36 USE phystokenc_mod, ONLY: init_phystokenc … … 52 53 include "dimensions.h" 53 54 include "iniprint.h" 54 include "temps.h"55 55 include "tracstoke.h" 56 56 … … 98 98 ! --> now initialize things specific to the phylmd physics package 99 99 100 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/) 100 !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/) 101 !$OMP PARALLEL DEFAULT(SHARED) & 102 ! Copy all threadprivate variables in temps_mod 103 !$OMP COPYIN(annee_ref, day_ini, day_ref, start_time) 101 104 102 105 ! copy over preff , ap(), bp(), etc … … 144 147 #endif 145 148 END IF 146 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)147 149 150 !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/) 151 !$OMP PARALLEL DEFAULT(SHARED) 148 152 ! Additional initializations for aquaplanets 149 153 IF (iflag_phys>=100) THEN -
LMDZ5/trunk/libf/phylmd/dyn1d/1DUTILS.h
r2597 r2601 436 436 use control_mod 437 437 USE comconst_mod, ONLY: im, jm, lllm 438 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, itau_dyn 438 439 439 440 IMPLICIT NONE … … 444 445 ! ------------- 445 446 include "dimensions.h" 446 include "temps.h"447 447 !!#include "control.h" 448 448 include "logic.h" … … 580 580 use control_mod 581 581 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 582 USE temps_mod, ONLY: annee_ref,day_end,day_ref,itau_dyn,itaufin 582 583 583 584 IMPLICIT NONE … … 588 589 ! ------------- 589 590 include "dimensions.h" 590 include "temps.h"591 591 !!#include "control.h" 592 592 include "logic.h" -
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2600 r2601 37 37 USE mod_const_mpi, ONLY: comm_lmdz 38 38 USE physiq_mod, ONLY: physiq 39 USE temps_mod, ONLY: annee_ref, calend, day_end, day_ini, day_ref, & 40 itau_dyn, itau_phy, start_time 39 41 40 42 implicit none 41 43 #include "dimensions.h" 42 44 #include "YOMCST.h" 43 #include "temps.h"44 45 !!#include "control.h" 45 46 #include "clesphys.h"
Note: See TracChangeset
for help on using the changeset viewer.