Changeset 5323 for LMDZ6


Ignore:
Timestamp:
Nov 12, 2024, 4:27:59 PM (6 weeks ago)
Author:
abarral
Message:

[WIP] add missing reprobus & inca wrappers

Location:
LMDZ6/trunk/libf
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/advtrac.f90

    r5285 r5323  
    1818   USE strings_mod, ONLY: int2str
    1919   USE dimensions_mod, ONLY: iim, jjm, llm, ndm
    20 USE paramet_mod_h
     20   USE paramet_mod_h
    2121IMPLICIT NONE
    2222   !
  • LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.f90

    r5292 r5323  
    4141         using_xios
    4242   USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_DEBUGIO
     43   USE lmdz_reprobus_wrappers, ONLY: finalize_reprobus
    4344   USE strings_mod, ONLY: int2str
    4445
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r5285 r5323  
    1919  USE infotrac_phy, ONLY: nbtr_bin, nbtr_sulgas, id_OCS_strat, &
    2020                      id_SO2_strat, id_H2SO4_strat, id_BIN01_strat
    21   USE lmdz_reprobus_wrappers, ONLY : Init_chem_rep_phys
     21  USE lmdz_reprobus_wrappers, ONLY : init_chem_rep_phys, init_reprobus_para
    2222#ifdef CPP_PARA
    2323  USE parallel_lmdz, ONLY : mpi_size, mpi_rank
  • LMDZ6/trunk/libf/misc/lmdz_inca_wrappers.F90

    r5251 r5323  
    314314END SUBROUTINE INIT_INCA_DIM_REG
    315315
     316SUBROUTINE INIT_INCA_DIM(nlon, nlev)
     317  IMPLICIT NONE
     318  INTEGER :: nlon, nlev
     319  CALL lmdz_inca_wrapper_abort
     320END SUBROUTINE INIT_INCA_DIM
     321
    316322SUBROUTINE AEROSOL_METEO_CALC(&
    317323        calday, delt, pmid, pfull, t_seri, &
     
    338344END SUBROUTINE AEROSOL_METEO_CALC
    339345
     346SUBROUTINE init_inca_para(nlon, nlat, nlev, klon, mpi_size, distrib_phys, nvertex, grid_type, communicator)
     347  INTEGER :: nlon, nlat, nlev, klon, mpi_size, distrib_phys(:), communicator, nvertex, grid_type
     348  CALL lmdz_inca_wrapper_abort
     349END SUBROUTINE init_inca_para
     350
    340351#endif
  • LMDZ6/trunk/libf/misc/lmdz_reprobus_wrappers.F90

    r5271 r5323  
    44
    55#ifdef REPROBUS
    6   USE CHEM_REP, ONLY: init_chem_rep_trac, itroprep
     6  USE CHEM_REP
    77#else
    88  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
     9
     10  IMPLICIT NONE
    911
    1012  ! TODO ugly temp solution until we properly wrap the REPROBUS code
     
    3941  END SUBROUTINE init_chem_rep_xjour
    4042
     43  SUBROUTINE finalize_reprobus
     44    CALL lmdz_reprobus_wrapper_abort
     45  END SUBROUTINE finalize_reprobus
     46
     47  SUBROUTINE init_reprobus_para(nlon, nlat, nlev, klon, mpi_size, distrib_phys, communicator)
     48    INTEGER :: nlon, nlat, nlev, klon, mpi_size, distrib_phys(:), communicator
     49    CALL lmdz_reprobus_wrapper_abort
     50  END SUBROUTINE init_reprobus_para
     51
     52  SUBROUTINE chemini_rep(presnivs, pdtphys, annee_ref, day_ref, day_ini, start_time, itau_phy, io_lon, io_lat)
     53    INTEGER :: presnivs, pdtphys, annee_ref, day_ref, day_ini, start_time, itau_phy, io_lon, io_lat
     54    CALL lmdz_reprobus_wrapper_abort
     55  END SUBROUTINE chemini_rep
     56
     57  SUBROUTINE chemtime_rep(it, date, tstep, itap)
     58    INTEGER :: it, date, tstep, itap
     59    CALL lmdz_reprobus_wrapper_abort
     60  END SUBROUTINE chemtime_rep
     61
     62  SUBROUTINE coord_hyb_rep(paprs, pplay, aps, bps, ap, bp, cell_area)
     63    REAL :: paprs(:,:), pplay(:,:), aps(:), bps(:), ap(:), bp(:), cell_area(:)
     64    CALL lmdz_reprobus_wrapper_abort
     65  END SUBROUTINE coord_hyb_rep
     66
     67  SUBROUTINE chemmain_rlong_1401(tr_seri, xlon, xlat, t_seri, pplay, paprs, pphi, pphis, presnivs, sh, debutphy)
     68    REAL :: tr_seri(:,:,:), xlon(:), xlat(:), t_seri(:,:), pplay(:,:), paprs(:,:), pphi(:,:), pphis(:), presnivs(:), sh(:,:)
     69    LOGICAL :: debutphy
     70    CALL lmdz_reprobus_wrapper_abort
     71  END SUBROUTINE chemmain_rlong_1401
     72
    4173#endif
    4274END MODULE lmdz_reprobus_wrappers
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r5315 r5323  
    107107    USE time_phylmdz_mod,  ONLY: ndays
    108108    USE infotrac_phy,      ONLY: nqCO2
    109     USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_xjour, d_q_rep, d_ql_rep, d_qi_rep, &
    110                         ptrop, ttrop, ztrop, gravit, itroprep, Z1, Z2, fac, B
     109    USE lmdz_reprobus_wrappers, ONLY: init_chem_rep_xjour, d_q_rep, d_ql_rep, d_qi_rep, &
     110                        ptrop, ttrop, ztrop, gravit, itroprep, Z1, Z2, fac, B, chemini_rep, chemtime_rep, coord_hyb_rep
    111111    USE strataer_local_var_mod
    112112    USE strataer_emiss_mod, ONLY: strataer_emiss_init
  • LMDZ6/trunk/libf/phylmd/tracreprobus_mod.f90

    r5268 r5323  
    1616         daynum, iter, &             ! jourjulien, iteration chimie
    1717         pdel,&
    18          d_q_rep,d_ql_rep,d_qi_rep
     18         d_q_rep,d_ql_rep,d_qi_rep, chemmain_rlong_1401
    1919    USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_REPROBUS
    2020    IMPLICIT NONE
Note: See TracChangeset for help on using the changeset viewer.