Changeset 4223 for dynamico_lmdz/simple_physics/phyparam/dynphy_lonlat
- Timestamp:
- Jan 10, 2020, 12:09:43 AM (5 years ago)
- Location:
- dynamico_lmdz/simple_physics/phyparam/dynphy_lonlat
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/dynphy_lonlat/iniphysiq_mod.F90
r4222 r4223 21 21 USE phyaqua_mod, ONLY: iniaqua 22 22 USE nrtype, ONLY: pi 23 23 ! USE vertical_layers_mod, ONLY : presnivs 24 24 25 ! 25 26 !======================================================================= … … 81 82 CALL iniaqua(klon_omp,iflag_phys) 82 83 ENDIF 84 ! 85 ! call iophys_ini('phys.nc ',presnivs) 83 86 84 87 CALL setup_phyparam -
dynamico_lmdz/simple_physics/phyparam/dynphy_lonlat/iophys.F90
r4196 r4223 1 MODULE iophys 2 IMPLICIT NONE 3 PRIVATE 4 5 PUBLIC :: iophys_ini 6 7 CONTAINS 8 1 9 subroutine iophys_ecrit(nom,lllm,titre,unite,px) 2 10 USE dimphy … … 67 75 68 76 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 77 78 SUBROUTINE writefield1(name, longname, unit, var) 79 CHARACTER(*), INTENT(IN) :: name, longname, unit 80 REAL, INTENT(IN) :: var(:) 81 CALL iophys_ecrit(name, 1, longname, unit, var) 82 END SUBROUTINE writefield1 83 84 SUBROUTINE writefield2(name, longname, unit, var) 85 CHARACTER(*), INTENT(IN) :: name, longname, unit 86 REAL, INTENT(IN) :: var(:,:) 87 PRINT *, 'writefield2', name, SHAPE(var) 88 CALL iophys_ecrit(name, SIZE(var,2), longname, unit, var) 89 END SUBROUTINE writefield2 90 91 92 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 69 93 SUBROUTINE iophys_ini(fichnom,presnivs) 70 94 USE mod_phys_lmdz_para 71 95 USE writefield_mod 72 96 IMPLICIT NONE 73 97 … … 100 124 ! ---------- 101 125 126 writefield1_plugin => writefield1 127 writefield2_plugin => writefield2 128 102 129 !$OMP MASTER 103 130 IF (is_mpi_root) THEN … … 109 136 110 137 END 138 139 END MODULE -
dynamico_lmdz/simple_physics/phyparam/dynphy_lonlat/physiq_mod.F90
r4214 r4223 28 28 29 29 USE infotrac_phy, only : nqtot 30 USE iophys, ONLY : iophys_ini 30 31 USE phyparam_mod, ONLY : phyparam 31 32 ! … … 72 73 ENDIF 73 74 74 CALL phyparam(klon,klev,nqtot, & 75 debut,lafin, & 75 IF(debut) CALL iophys_ini('phys.nc ',presnivs) ! calls iotd_ini 76 77 CALL phyparam(klon,klev, & 78 debut,lafin, & 76 79 rjourvrai,gmtime,pdtphys, & 77 paprs,pplay,pphi,pphis,presnivs, & 78 u,v,t,qx, & 79 flxmass_w, & 80 d_u,d_v,d_t,d_qx,d_ps) 80 paprs,pplay,pphi, & 81 u,v,t, & 82 d_u,d_v,d_t,d_ps) 83 84 IF(lafin) THEN 85 call iotd_fin 86 PRINT*,'Ecriture du fichier de reinitialiastion de la physique' 87 ! write(75) tsurf,tsoil FIXME 88 ENDIF 89 81 90 82 91 print*,'PHYDEV: itau=',itau
Note: See TracChangeset
for help on using the changeset viewer.