Changeset 485 for codes


Ignore:
Timestamp:
10/12/16 10:07:58 (8 years ago)
Author:
ymipsl
Message:

Fix extra-dimension to theta_rhodz for etat0 h&Z

YM

File:
1 edited

Legend:

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

    r428 r485  
    3636    CALL allocate_field(f_ps,field_t,type_real) 
    3737    CALL allocate_field(f_phis,field_t,type_real) 
    38     CALL allocate_field(f_theta_rhodz,field_t,type_real,llm) 
     38    CALL allocate_field(f_theta_rhodz,field_t,type_real,llm,2) 
    3939    CALL allocate_field(f_u,field_u,type_real,llm) 
    4040    CALL allocate_field(f_Ki,field_t,type_real,llm) 
     
    5858    REAL(rstd),POINTER :: ps(:) 
    5959    REAL(rstd),POINTER :: phis(:) 
    60     REAL(rstd),POINTER :: theta_rhodz(:,:) 
     60    REAL(rstd),POINTER :: theta_rhodz(:,:,:) 
    6161    REAL(rstd),POINTER :: u(:,:) 
    6262    REAL(rstd),POINTER :: q(:,:,:) 
     
    8585       theta=f_theta(ind) 
    8686       CALL compute_etat0_heldsz(theta_eq,theta) 
    87        CALL compute_theta2theta_rhodz(ps,theta,theta_rhodz,1) 
     87       CALL compute_theta2theta_rhodz(ps,theta,theta_rhodz(:,:,1),1) 
    8888       IF(nqtot>0) THEN 
    8989          q=f_q(ind) 
Note: See TracChangeset for help on using the changeset viewer.