Ignore:
Timestamp:
Jul 24, 2024, 2:54:37 PM (4 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/dyn3dmem/exner_hyb_loc_m.F90

    r5106 r5116  
    5858    logical, save :: firstcall = .TRUE.
    5959    !$OMP THREADPRIVATE(firstcall)
    60     character(len = *), parameter :: modname = "exner_hyb_loc"
     60    CHARACTER(LEN = *), parameter :: modname = "exner_hyb_loc"
    6161
    6262    !$OMP BARRIER
    6363
    6464    ! Sanity check
    65     if (firstcall) then
     65    if (firstcall) THEN
    6666      ! sanity checks for Shallow Water case (1 vertical layer)
    67       if (llm==1) then
    68         if (kappa/=1) then
     67      if (llm==1) THEN
     68        if (kappa/=1) THEN
    6969          CALL abort_gcm(modname, &
    7070                  "kappa!=1 , but running in Shallow Water mode!!", 42)
    7171        endif
    72         if (cpp/=r) then
     72        if (cpp/=r) THEN
    7373          CALL abort_gcm(modname, &
    7474                  "cpp!=r , but running in Shallow Water mode!!", 42)
     
    8282
    8383    ! Specific behaviour for Shallow Water (1 vertical layer) case:
    84     if (llm==1) then
    85 
     84    if (llm==1) THEN
    8685      ! Compute pks(:),pk(:),pkf(:)
    8786      ijb = ij_begin
     
    9695
    9796      !$OMP BARRIER
    98       if (present(pkf)) then
     97      if (present(pkf)) THEN
    9998        jjb = jj_begin
    10099        jje = jj_end
     
    104103
    105104      ! our work is done, exit routine
    106       return
     105      RETURN
    107106    endif ! of if (llm.eq.1)
    108107
     
    170169    ENDDO
    171170
    172     if (present(pkf)) then
     171    if (present(pkf)) THEN
    173172      !    calcul de pkf
    174173
Note: See TracChangeset for help on using the changeset viewer.