Ignore:
Timestamp:
07/21/14 12:02:38 (10 years ago)
Author:
ymipsl
Message:

calling iniphysics directly from dynamico

YM

Location:
codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src/earth_const.f90

    r234 r243  
    1313  REAL(rstd),SAVE :: scale_height=8000. ! atmospheric scale height (m) 
    1414  REAL(rstd),SAVE :: scale_factor=1. 
     15  REAL(rstd),SAVE :: gas_constant = 8.3144621  
     16  REAL(rstd),SAVE :: mu                 ! molar mass of the atmosphere 
    1517 
    1618  LOGICAL, SAVE :: boussinesq 
     
    3234    CALL getin("scale_height",scale_height) 
    3335     
     36    mu=kappa/cpp 
    3437    boussinesq=.FALSE. 
    3538    CALL getin("boussinesq",boussinesq)   
  • codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src/physics_lmdz_generic.f90

    r239 r243  
    4242  USE mpi_mod 
    4343  USE mpipara 
     44  USE disvert_mod 
     45   
    4446  IMPLICIT NONE 
    4547  INTEGER  :: distrib(0:mpi_size-1) 
     
    4951  REAL(rstd),ALLOCATABLE :: lonfi(:) 
    5052  REAL(rstd),ALLOCATABLE :: airefi(:) 
    51     
     53 
    5254    start_day=0 
    5355    day_length=86400 
     
    108110     
    109111    CALL init_gcm_lmdz(nbp_phys,mpi_size,distrib,latfi,lonfi,airefi) 
     112    CALL iniphysiq(llm,day_length,start_day,itau_physics*dt,     & 
     113                   latfi,lonfi,airefi,radius,g, gas_constant/mu, cpp,     & 
     114                   ap, bp) 
     115     
     116     
    110117     
    111118  END SUBROUTINE init_physics 
Note: See TracChangeset for help on using the changeset viewer.