Changeset 2601 for LMDZ5/trunk/libf/dyn3dmem
- Timestamp:
- Jul 24, 2016, 11:51:55 AM (9 years ago)
- Location:
- LMDZ5/trunk/libf/dyn3dmem
- Files:
-
- 15 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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"
Note: See TracChangeset
for help on using the changeset viewer.