Changeset 3150 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Dec 6, 2023, 8:05:33 PM (12 months ago)
Author:
llange
Message:

Mars PCM
Switching vdif_cd to a module and convert it to F90.
Some cleaning have also been made (remove commented lines, outputs, etc.)
VDIFC: minor fix: zcdv_true zcdh_true are out and not in variables.
LL

Location:
trunk/LMDZ.MARS
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3148 r3150  
    43814381== 06/12/2023 == JBC
    43824382Tiny fix from r3147 (Fortran fixed format).
    4383  
     4383
     4384== 06/12/2023 == LL
     4385Switching vdif_cd to a module and convert it to F90.
     4386Some cleaning have also been made (remove commented lines, outputs, etc.)
     4387VDIFC: minor fix: zcdv_true zcdh_true are out and not in variables.
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3134 r3150  
    3535      use paleoclimate_mod, only: d_coef,h2o_ice_depth,lag_layer
    3636      use comsoil_h, only: layer, mlayer,adsorption_soil
    37 
     37      use vdif_cd_mod, only: vdif_cd
    3838      IMPLICIT NONE
    3939
     
    113113      REAL zkq(ngrid,nlay+1)
    114114      REAL zcdv(ngrid),zcdh(ngrid)
    115       REAL, INTENT(IN) :: zcdv_true(ngrid),zcdh_true(ngrid)    ! drag coeff are used by the LES to recompute u* and hfx
     115      REAL, INTENT(OUT) :: zcdv_true(ngrid),zcdh_true(ngrid)    ! drag coeff are used by the LES to recompute u* and hfx
    116116      REAL zu(ngrid,nlay),zv(ngrid,nlay)
    117117      REAL zh(ngrid,nlay)
     
    14101410     &                     "Ground ice latent heat flux",
    14111411     &                     "W.m-2",surf_h2o_lh(:,iflat))
    1412          call write_output('zdqsdif_ssi_frost',
    1413      &          'Flux between frost and subsurface','kg.m-2.s-1',
    1414      &                zdqsdif_ssi_frost(:,1))
    1415 
    1416          call write_output('zdq_subtimestep',
    1417      &          'Actual flux zdqsdif_surf*subtimestep',
    1418      &          'kg.m-2',zdqsdif_tot(:)*subtimestep)
     1412!         call write_output('zdqsdif_ssi_frost',
     1413!     &          'Flux between frost and subsurface','kg.m-2.s-1',
     1414!     &                zdqsdif_ssi_frost(:,1))
     1415
     1416!         call write_output('zdq_subtimestep',
     1417!     &          'Actual flux zdqsdif_surf*subtimestep',
     1418!     &          'kg.m-2',zdqsdif_tot(:)*subtimestep)
    14191419!         call write_output('zdq_end',
    14201420!     &          'Flux after all contributions',
Note: See TracChangeset for help on using the changeset viewer.