Changeset 4237 for dynamico_lmdz
- Timestamp:
- May 18, 2020, 12:45:00 PM (5 years ago)
- Location:
- dynamico_lmdz/simple_physics/phyparam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/DYNAMICO/icosa_phyparam_mod.F90
r4235 r4237 64 64 65 65 CALL init_comgeomfi(ngrid, llm, inout%lon, inout%lat) 66 CALL iniphyparam(ngrid, llm, & 67 & unjours, dayref, timestep, & 68 & radius, g, cpp*kappa, cpp) 66 CALL iniphyparam(timestep, unjours, radius, g, cpp*kappa, cpp) 69 67 70 68 END SUBROUTINE init_physics … … 136 134 !--------------------------------------- Logging ------------------------------------ 137 135 138 SUBROUTINE flush_log_(lev, tag , buf)136 SUBROUTINE flush_log_(lev, taglen, tag, buflen, bufsize, buf) BIND(C) 139 137 USE mpipara, ONLY : is_mpi_master 140 138 USE logging, ONLY : dbtag 141 INTEGER, INTENT(IN) :: lev 142 CHARACTER(*), INTENT(IN) :: tag, buf(:) 139 USE, INTRINSIC :: iso_c_binding, ONLY : c_char, c_null_char, c_int 140 INTEGER(c_int), INTENT(IN), VALUE :: lev, taglen, buflen, bufsize 141 CHARACTER(KIND=c_char), INTENT(IN) :: tag(taglen), buf(buflen, bufsize) 142 CHARACTER(buflen+1) :: line 143 ! SUBROUTINE flush_log_(lev, tag, buf) 144 ! INTEGER, INTENT(IN) :: lev 145 ! CHARACTER(*), INTENT(IN) :: tag, buf(:) 143 146 CHARACTER(100) :: prefix 144 147 INTEGER :: i 145 148 146 149 IF(is_mpi_master) THEN 147 150 WRITE(prefix,*) '[', dbtag(lev), ' ', tag, ']' 148 DO i=1, SIZE(buf) 149 WRITE(log_unit,*) TRIM(prefix), TRIM(buf(i)) 151 DO i=1, bufsize 152 WRITE(line,*) buf(:,i) 153 WRITE(log_unit,*) TRIM(prefix), TRIM(line) 150 154 END DO 151 155 WRITE(log_unit, *) '' -
dynamico_lmdz/simple_physics/phyparam/physics/convection.F90
r4229 r4237 24 24 SUBROUTINE adjust_onecolumn(ngrid, nlay, i, sig, dsig, sdsig, zu2, zv2, zh2) 25 25 INTEGER, INTENT(IN) :: ngrid, nlay, i 26 REAL, INTENT( OUT):: sig(nlay+1), sdsig(nlay), dsig(nlay)26 REAL, INTENT(IN) :: sig(nlay+1), sdsig(nlay), dsig(nlay) 27 27 REAL, INTENT(INOUT) :: zu2(ngrid,nlay), zv2(ngrid,nlay), zh2(ngrid,nlay) 28 28
Note: See TracChangeset
for help on using the changeset viewer.