Ignore:
Timestamp:
08/22/18 17:28:01 (6 years ago)
Author:
dubos
Message:

devel : backported from trunk commits r707-r711,r713

File:
1 edited

Legend:

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

    r714 r726  
    3939    SELECT CASE(TRIM(physics_type)) 
    4040    CASE ('none') 
     41 
     42!$OMP PARALLEL 
    4143       IF(is_mpi_root) PRINT*,"NO PHYSICAL PACKAGE USED" 
    4244       phys_type = phys_none 
     45!$OMP END PARALLEL 
     46 
    4347    CASE ('held_suarez') 
     48 
     49!$OMP PARALLEL 
    4450       phys_type = phys_HS94 
     51!$OMP END PARALLEL 
     52 
    4553    CASE ('Lebonnois2012') 
     54 
     55!$OMP PARALLEL 
    4656       phys_type = phys_LB2012 
    4757       CALL init_phys_venus 
     58!$OMP END PARALLEL 
    4859 
    4960    CASE ('phys_lmdz_generic') 
     61 
     62!$OMP PARALLEL 
    5063       CALL init_physics_lmdz_generic 
    5164       phys_type=phys_lmdz_generic 
     65!$OMP END PARALLEL 
     66 
    5267    CASE ('phys_external') 
     68 
    5369       CALL init_physics_external 
     70!$OMP PARALLEL 
    5471       phys_type=phys_external 
     72!$OMP END PARALLEL 
     73 
    5574    CASE ('dcmip') 
     75 
     76!$OMP PARALLEL 
    5677       CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') 
    5778       CALL allocate_field(f_dulat,field_t,type_real,llm, name='dulat') 
     
    6586       CALL init_pack_after ! Defines Ai, lon, lat in physics_inout 
    6687       phys_type = phys_DCMIP 
     88!$OMP END PARALLEL 
     89 
    6790    CASE ('dcmip2016') 
     91 
     92!$OMP PARALLEL 
    6893       CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') 
    6994       CALL allocate_field(f_dulat,field_t,type_real,llm, name='dulat') 
     
    77102       CALL init_pack_after ! Defines Ai, lon, lat in physics_inout 
    78103       phys_type = phys_DCMIP2016 
     104!$OMP END PARALLEL 
     105 
    79106    CASE DEFAULT 
    80107       IF(is_mpi_root) PRINT*, 'init_physics : Bad selector for variable physics <',& 
     
    84111    END SELECT 
    85112 
     113!$OMP PARALLEL 
    86114    CALL allocate_field(f_du_phys,field_u,type_real,llm, name='du_phys') 
    87115 
    88116    IF(is_mpi_root) PRINT *, 'phys_type = ',phys_type 
     117!$OMP END PARALLEL 
    89118  END SUBROUTINE init_physics 
    90119 
Note: See TracChangeset for help on using the changeset viewer.