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/exner_milieu_m.F90

    r5106 r5116  
    5151
    5252    logical,save :: firstcall=.TRUE.
    53     character(len=*),parameter :: modname="exner_milieu"
     53    CHARACTER(LEN=*),parameter :: modname="exner_milieu"
    5454
    5555    ! Sanity check
    56     if (firstcall) then
     56    if (firstcall) THEN
    5757       ! sanity checks for Shallow Water case (1 vertical layer)
    58        if (llm==1) then
    59           if (kappa/=1) then
     58       if (llm==1) THEN
     59          if (kappa/=1) THEN
    6060             CALL abort_gcm(modname, &
    6161                  "kappa!=1 , but running in Shallow Water mode!!",42)
    6262          endif
    63           if (cpp/=r) then
     63          if (cpp/=r) THEN
    6464             CALL abort_gcm(modname, &
    6565                  "cpp!=r , but running in Shallow Water mode!!",42)
     
    7171
    7272    ! Specific behaviour for Shallow Water (1 vertical layer) case:
    73     if (llm==1) then
    74 
     73    if (llm==1) THEN
    7574       ! Compute pks(:),pk(:),pkf(:)
    7675
     
    8079       ENDDO
    8180
    82        if (present(pkf)) then
     81       if (present(pkf)) THEN
    8382          pkf = pk
    8483          CALL filtreg ( pkf, jmp1, llm, 2, 1, .TRUE., 1 )
     
    8685
    8786       ! our work is done, exit routine
    88        return
     87       RETURN
    8988    endif ! of if (llm.eq.1)
    9089
     
    117116    ENDDO
    118117
    119     if (present(pkf)) then
     118    if (present(pkf)) THEN
    120119       !    calcul de pkf
    121120       pkf = pk
Note: See TracChangeset for help on using the changeset viewer.