Changeset 327 for codes/icosagcm/trunk/src/physics.f90
- Timestamp:
- 02/09/15 20:18:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/physics.f90
r325 r327 5 5 PRIVATE 6 6 7 INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2, phys_ LB2012=37 INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2, phys_lmdz_generic=3, phys_LB2012=4 8 8 9 9 INTEGER :: phys_type … … 26 26 USE physics_dcmip_mod, ONLY : init_physics_dcmip=>init_physics 27 27 USE etat0_venus_mod, ONLY : init_phys_venus=>init_physics 28 USE physics_lmdz_generic_mod, ONLY : init_physics_lmdz_generic=>init_physics 28 29 IMPLICIT NONE 29 30 … … 40 41 phys_type = phys_LB2012 41 42 CALL init_phys_venus 43 44 CASE ('phys_lmdz_generic') 45 CALL init_physics_lmdz_generic 46 phys_type=phys_lmdz_generic 42 47 CASE ('dcmip') 43 48 CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') … … 50 55 CASE DEFAULT 51 56 IF(is_mpi_root) PRINT*, 'init_physics : Bad selector for variable physics <',& 52 TRIM(physics_type), '> options are <none>, <held_suarez>, <Lebonnois2012>, <dcmip> '57 TRIM(physics_type), '> options are <none>, <held_suarez>, <Lebonnois2012>, <dcmip>, <phys_lmdz_generic>' 53 58 STOP 54 59 END SELECT … … 57 62 END SUBROUTINE init_physics 58 63 59 SUBROUTINE physics(it,f_phis, f_ps, f_theta_rhodz, f_ue, f_q) 60 USE icosa 61 USE physics_interface_mod 64 SUBROUTINE physics(it,f_phis, f_ps, f_theta_rhodz, f_ue, f_wflux, f_q) 65 USE icosa 66 USE physics_interface_mod 67 USE physics_lmdz_generic_mod, ONLY : physics_lmdz_generic => physics 62 68 USE physics_dcmip_mod, ONLY : write_physics_dcmip => write_physics 63 69 USE etat0_heldsz_mod … … 69 75 TYPE(t_field),POINTER :: f_theta_rhodz(:) 70 76 TYPE(t_field),POINTER :: f_ue(:) 77 TYPE(t_field),POINTER :: f_wflux(:) 71 78 TYPE(t_field),POINTER :: f_q(:) 72 79 REAL(rstd),POINTER :: phis(:) … … 87 94 CASE(phys_HS94) 88 95 CALL held_suarez(f_ps,f_theta_rhodz,f_ue) 96 CASE (phys_lmdz_generic) 97 CALL physics_lmdz_generic(it ,f_phis, f_ps, f_theta_rhodz, f_ue, f_wflux, f_q) 89 98 CASE(phys_LB2012) 90 99 CALL phys_venus(f_ps,f_theta_rhodz,f_ue)
Note: See TracChangeset
for help on using the changeset viewer.