Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (4 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ocean_forced_mod.F90

    r5087 r5099  
    1 !
     1
    22! $Id$
    3 !
     3
    44MODULE ocean_forced_mod
    5 !
     5
    66! This module is used for both the sub-surfaces ocean and sea-ice for the case of a
    77! forced ocean,  "ocean=force".
    8 !
     8
    99  IMPLICIT NONE
    1010
    1111CONTAINS
    12 !
    13 !****************************************************************************************
    14 !
     12
     13!****************************************************************************************
     14
    1515  SUBROUTINE ocean_forced_noice( &
    1616       itime, dtime, jour, knon, knindex, &
     
    2828#endif           
    2929       )
    30 !
     30
    3131! This subroutine treats the "open ocean", all grid points that are not entierly covered
    3232! by ice.
    3333! The routine receives data from climatologie file limit.nc and does some calculations at the
    3434! surface.
    35 !
     35
    3636    USE dimphy
    3737    USE calcul_fluxs_mod
     
    139139! 1)   
    140140! Read sea-surface temperature from file limit.nc
    141 !
     141
    142142!****************************************************************************************
    143143!--sb:
     
    162162! 2)
    163163! Flux calculation
    164 !
     164
    165165!****************************************************************************************
    166166! Set some variables for calcul_fluxs
     
    237237
    238238  END SUBROUTINE ocean_forced_noice
    239 !
     239
    240240!***************************************************************************************
    241 !
     241
    242242  SUBROUTINE ocean_forced_ice( &
    243243       itime, dtime, jour, knon, knindex, &
     
    254254#endif           
    255255       )
    256 !
     256
    257257! This subroutine treats the ocean where there is ice.
    258258! The routine reads data from climatologie file and does flux calculations at the
    259259! surface.
    260 !
     260
    261261    USE dimphy
    262262    USE geometry_mod, ONLY: longitude,latitude
     
    421421! 2)
    422422! Calculations due to snow and runoff
    423 !
     423
    424424!****************************************************************************************
    425425#ifdef ISO
     
    489489   
    490490! Calculation of albedo at snow (alb_neig) and update the age of snow (agesno)
    491 !
     491
    492492    CALL albsno(klon, knon, dtime, agesno(:), alb_neig(:), precip_snow(:)) 
    493493
     
    508508!************************************************************************
    509509!  SUBROUTINE read_tsurf1d(knon,sst_out)
    510 !
     510
    511511! This subroutine specifies the surface temperature to be used in 1D simulations
    512 !
     512
    513513!      USE dimphy, ONLY : klon
    514 !
     514
    515515!      INTEGER, INTENT(IN)                  :: knon     ! nomber of points on compressed grid
    516516!      REAL, DIMENSION(klon), INTENT(OUT)   :: sst_out  ! tsurf used to force the single-column model
    517 !
     517
    518518!       INTEGER :: i
    519519! COMMON defined in lmdz1d.F:
    520520!       real ts_cur
    521521!       common /sst_forcing/ts_cur
    522 !
     522
    523523!       DO i = 1, knon
    524524!        sst_out(i) = ts_cur
    525525!       ENDDO
    526 !
     526
    527527!      END SUBROUTINE read_tsurf1d
    528 !
    529 !
     528
     529
    530530!************************************************************************
    531531END MODULE ocean_forced_mod
Note: See TracChangeset for help on using the changeset viewer.