Changeset 5116 for LMDZ6/branches/Amaury_dev/libf/dyn3d_common/iniconst.F90
- Timestamp:
- Jul 24, 2024, 2:54:37 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d_common/iniconst.F90
r5103 r5116 21 21 include "iniprint.h" 22 22 23 character(len=*),parameter :: modname="iniconst"24 character(len=80) :: abort_message23 CHARACTER(LEN=*),parameter :: modname="iniconst" 24 CHARACTER(LEN=80) :: abort_message 25 25 26 26 … … 48 48 r = cpp * kappa 49 49 50 write(lunout,*) trim(modname),': R CP Kappa ',r,cpp,kappa50 WRITE(lunout,*) trim(modname),': R CP Kappa ',r,cpp,kappa 51 51 52 52 !----------------------------------------------------------------------- 53 53 54 54 ! vertical discretization: default behavior depends on planet_type flag 55 if (planet_type=="earth") then55 if (planet_type=="earth") THEN 56 56 disvert_type=1 57 57 else … … 60 60 ! but user can also specify using one or the other in run.def: 61 61 CALL getin('disvert_type',disvert_type) 62 write(lunout,*) trim(modname),': disvert_type=',disvert_type62 WRITE(lunout,*) trim(modname),': disvert_type=',disvert_type 63 63 64 64 pressure_exner = disvert_type == 1 ! default value 65 65 CALL getin('pressure_exner', pressure_exner) 66 66 67 if (disvert_type==1) then67 if (disvert_type==1) THEN 68 68 ! standard case for Earth (automatic generation of levels) 69 69 CALL disvert() 70 else if (disvert_type==2) then70 else if (disvert_type==2) THEN 71 71 ! standard case for planets (levels generated using z2sig.def file) 72 72 CALL disvert_noterre 73 73 else 74 write(abort_message,*) "Wrong value for disvert_type: ", disvert_type74 WRITE(abort_message,*) "Wrong value for disvert_type: ", disvert_type 75 75 CALL abort_gcm(modname,abort_message,0) 76 76 endif
Note: See TracChangeset
for help on using the changeset viewer.