Changeset 4855


Ignore:
Timestamp:
Mar 19, 2024, 4:25:22 PM (9 months ago)
Author:
yann meurdesoif
Message:
  • move dynamic etat0 initialisation into driver via new etat0 plugin functionnality.
  • move computation of parameter for gravity wave in driver
  • add method of computation of gravity wave parameters similar of what is done currently by lmdz (legacy method)
  • add switch between legacy method (old) sso method in .def file ( param_gw_method = 'legacy' / 'sso' )
  • add corresponding XML files
Location:
ICOSA_LMDZ
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • ICOSA_LMDZ/src/phydev/interface_icosa_lmdz.f90

    r4498 r4855  
    131131!$OMP PARALLEL
    132132    CALL initialize_physics_omp
     133    CALL param_gravity_wave
    133134!$OMP END PARALLEL           
    134135
  • ICOSA_LMDZ/src/phylmd/interface_icosa_lmdz.F90

    r4501 r4855  
    1 MODULE interface_icosa_lmdz_mod
     1MODULE interface_icosa_lmdz_mod 
    22
    33  USE field_mod, ONLY: t_field
     
    3838CONTAINS
    3939
     40  SUBROUTINE pre_initialize_physics
     41  USE etat0_plugin_mod
     42  USE icolmdz_etat0
     43  USE icolmdz_param_gravity_wave, ONLY: init_param_gravity_wave
     44  IMPLICIT NONE
     45  !$OMP PARALLEL
     46    init_etat0_plugin => init_etat0
     47    etat0_plugin => etat0
     48    CALL init_param_gravity_wave
     49  !$OMP END PARALLEL
     50  END SUBROUTINE pre_initialize_physics
     51
    4052  SUBROUTINE initialize_physics
    4153  USE distrib_icosa_lmdz_mod, ONLY : init_distrib_icosa_lmdz, transfer_icosa_to_lmdz
     
    5769  USE physics_distribution_mod, ONLY : init_physics_distribution
    5870  USE infotrac_phy, ONLY: init_infotrac_phy
     71  USE icolmdz_param_gravity_wave, ONLY: param_gravity_wave
    5972
    6073   
     
    178191!$OMP PARALLEL
    179192    CALL initialize_physics_omp
     193    CALL param_gravity_wave
    180194!$OMP END PARALLEL           
    181195
    182196    CALL xios_set_context   
    183 
    184 
    185      
    186197
    187198  END SUBROUTINE initialize_physics
     
    525536  USE geometry_mod, ONLY : cell_area
    526537  USE physiq_mod, ONLY: physiq
     538  USE icolmdz_param_gravity_wave, ONLY: param_gravity_wave
    527539  IMPLICIT NONE
    528540 
     
    627639      ALLOCATE(dps_phy(klon_omp))
    628640!$OMP BARRIER
     641     
     642!      CALL param_gravity_wave
    629643    ENDIF
    630644
  • ICOSA_LMDZ/src/wrapper.f90

    r4498 r4855  
     1SUBROUTINE pre_initialize_external_physics
     2  USE interface_icosa_lmdz_mod, ONLY: pre_initialize_physics
     3  IMPLICIT NONE
     4 
     5    CALL pre_initialize_physics 
     6
     7END SUBROUTINE pre_initialize_external_physics
     8
    19SUBROUTINE initialize_external_physics
    210  USE interface_icosa_lmdz_mod, ONLY: initialize_physics
Note: See TracChangeset for help on using the changeset viewer.