Changeset 347 for codes/icosagcm/trunk/src/physics.f90
- Timestamp:
- 08/01/15 15:05:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/physics.f90
r327 r347 5 5 PRIVATE 6 6 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 8 8 9 9 INTEGER :: phys_type … … 27 27 USE etat0_venus_mod, ONLY : init_phys_venus=>init_physics 28 28 USE physics_lmdz_generic_mod, ONLY : init_physics_lmdz_generic=>init_physics 29 USE physics_external_mod, ONLY : init_physics_external=>init_physics 29 30 IMPLICIT NONE 30 31 … … 45 46 CALL init_physics_lmdz_generic 46 47 phys_type=phys_lmdz_generic 48 CASE ('phys_external') 49 CALL init_physics_external 50 phys_type=phys_external 47 51 CASE ('dcmip') 48 52 CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') … … 55 59 CASE DEFAULT 56 60 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>' 58 63 STOP 59 64 END SELECT … … 66 71 USE physics_interface_mod 67 72 USE physics_lmdz_generic_mod, ONLY : physics_lmdz_generic => physics 73 USE physics_external_mod, ONLY : physics_external => physics 68 74 USE physics_dcmip_mod, ONLY : write_physics_dcmip => write_physics 69 75 USE etat0_heldsz_mod … … 96 102 CASE (phys_lmdz_generic) 97 103 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) 98 106 CASE(phys_LB2012) 99 107 CALL phys_venus(f_ps,f_theta_rhodz,f_ue)
Note: See TracChangeset
for help on using the changeset viewer.