Ignore:
Timestamp:
08/01/15 15:05:27 (9 years ago)
Author:
dubos
Message:

Synced with aquaplanet branch HEAT@45 - tested with DCMIP4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/physics.f90

    r327 r347  
    55  PRIVATE 
    66 
    7   INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2, phys_lmdz_generic=3, phys_LB2012=4  
     7  INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2, phys_lmdz_generic=3, phys_LB2012=4, phys_external=5 
    88 
    99  INTEGER :: phys_type 
     
    2727    USE etat0_venus_mod, ONLY : init_phys_venus=>init_physics 
    2828    USE physics_lmdz_generic_mod, ONLY : init_physics_lmdz_generic=>init_physics 
     29    USE physics_external_mod, ONLY : init_physics_external=>init_physics 
    2930    IMPLICIT NONE 
    3031 
     
    4546       CALL init_physics_lmdz_generic 
    4647       phys_type=phys_lmdz_generic 
     48    CASE ('phys_external') 
     49       CALL init_physics_external 
     50       phys_type=phys_external 
    4751    CASE ('dcmip') 
    4852       CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') 
     
    5559    CASE DEFAULT 
    5660       IF(is_mpi_root) PRINT*, 'init_physics : Bad selector for variable physics <',& 
    57             TRIM(physics_type), '> options are <none>, <held_suarez>, <Lebonnois2012>, <dcmip>, <phys_lmdz_generic>' 
     61            TRIM(physics_type), '> options are <none>, <held_suarez>, <Lebonnois2012>, <dcmip>', & 
     62                                '<phys_lmdz_generic>, <phys_external>' 
    5863       STOP 
    5964    END SELECT 
     
    6671    USE physics_interface_mod 
    6772    USE physics_lmdz_generic_mod, ONLY : physics_lmdz_generic => physics 
     73    USE physics_external_mod, ONLY : physics_external => physics 
    6874    USE physics_dcmip_mod, ONLY : write_physics_dcmip => write_physics 
    6975    USE etat0_heldsz_mod 
     
    96102       CASE (phys_lmdz_generic) 
    97103         CALL physics_lmdz_generic(it ,f_phis, f_ps, f_theta_rhodz, f_ue, f_wflux, f_q) 
     104       CASE (phys_external) 
     105         CALL physics_external(it ,f_phis, f_ps, f_theta_rhodz, f_ue, f_wflux, f_q) 
    98106       CASE(phys_LB2012) 
    99107          CALL phys_venus(f_ps,f_theta_rhodz,f_ue)  
Note: See TracChangeset for help on using the changeset viewer.