Ignore:
Timestamp:
Jul 24, 2024, 2:54:37 PM (2 months ago)
Author:
abarral
Message:

rename modules properly lmdz_*
move ismin, ismax, minmax into new lmdz_libmath.f90
(lint) uppercase fortran keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d_common/iniconst.F90

    r5103 r5116  
    2121  include "iniprint.h"
    2222
    23   character(len=*),parameter :: modname="iniconst"
    24   character(len=80) :: abort_message
     23  CHARACTER(LEN=*),parameter :: modname="iniconst"
     24  CHARACTER(LEN=80) :: abort_message
    2525
    2626
     
    4848  r       = cpp * kappa
    4949
    50   write(lunout,*) trim(modname),': R  CP  Kappa ',r,cpp,kappa
     50  WRITE(lunout,*) trim(modname),': R  CP  Kappa ',r,cpp,kappa
    5151
    5252  !-----------------------------------------------------------------------
    5353
    5454  ! vertical discretization: default behavior depends on planet_type flag
    55   if (planet_type=="earth") then
     55  if (planet_type=="earth") THEN
    5656     disvert_type=1
    5757  else
     
    6060  ! but user can also specify using one or the other in run.def:
    6161  CALL getin('disvert_type',disvert_type)
    62   write(lunout,*) trim(modname),': disvert_type=',disvert_type
     62  WRITE(lunout,*) trim(modname),': disvert_type=',disvert_type
    6363
    6464  pressure_exner = disvert_type == 1 ! default value
    6565  CALL getin('pressure_exner', pressure_exner)
    6666
    67   if (disvert_type==1) then
     67  if (disvert_type==1) THEN
    6868     ! standard case for Earth (automatic generation of levels)
    6969     CALL disvert()
    70   else if (disvert_type==2) then
     70  else if (disvert_type==2) THEN
    7171     ! standard case for planets (levels generated using z2sig.def file)
    7272     CALL disvert_noterre
    7373  else
    74      write(abort_message,*) "Wrong value for disvert_type: ", disvert_type
     74     WRITE(abort_message,*) "Wrong value for disvert_type: ", disvert_type
    7575     CALL abort_gcm(modname,abort_message,0)
    7676  endif
Note: See TracChangeset for help on using the changeset viewer.