Ignore:
Timestamp:
Feb 27, 2025, 2:53:11 PM (5 months ago)
Author:
emoisan
Message:

Titan CRM:
Add Titan interface in INTERFACES_V4
Adapt module_model_constants.F to Titan
Add new tracer_mode for Titan (CH4 scalar)
Add new communication of variables between LMDZ.TITAN and WRF
Allow microphysics for Mesoscale in physiq_mod.F90
EMo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/comm_wrf.F90

    r2291 r3661  
    1818  REAL,SAVE,ALLOCATABLE :: comm_FLUXSURF_LW(:)
    1919  REAL,SAVE,ALLOCATABLE :: comm_FLXGRD(:)
     20  REAL,SAVE,ALLOCATABLE :: comm_zqfi_omp(:,:,:)
     21  REAL,SAVE,ALLOCATABLE :: comm_zdtlc(:,:)
    2022
    2123contains
    2224
    23   subroutine allocate_comm_wrf(ngrid,nlayer)
     25  subroutine allocate_comm_wrf(ngrid,nlayer,nq)
    2426  implicit none
    25   integer,intent(in) :: ngrid ! number of atmospheric columns
     27  integer,intent(in) :: ngrid  ! number of atmospheric columns
    2628  integer,intent(in) :: nlayer ! number of atmospheric layers
     29  integer,intent(in) :: nq     ! number of tracers
    2730  allocate(comm_HR_SW(ngrid,nlayer))
    2831  allocate(comm_HR_LW(ngrid,nlayer))
     
    3841  allocate(comm_FLUXSURF_LW(ngrid))
    3942  allocate(comm_FLXGRD(ngrid))
     43  allocate(comm_zqfi_omp(ngrid,nlayer,nq))
     44  allocate(comm_zdtlc(ngrid,nlayer))
    4045
    4146  end subroutine allocate_comm_wrf
     
    5661  deallocate(comm_FLUXSURF_LW)
    5762  deallocate(comm_FLXGRD)
     63  deallocate(comm_zqfi_omp)
     64  deallocate(comm_zdtlc)
    5865
    5966  end subroutine deallocate_comm_wrf
Note: See TracChangeset for help on using the changeset viewer.