Ignore:
Timestamp:
05/28/16 00:32:21 (8 years ago)
Author:
dubos
Message:

Infrastructure for multiple dynamical tracers - tested with JW06 and moist baroclinic wave

File:
1 edited

Legend:

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

    r323 r387  
    5858   
    5959    REAL(rstd), POINTER :: ps(:) 
    60     REAL(rstd), POINTER :: theta_rhodz(:,:) 
     60    REAL(rstd), POINTER :: theta_rhodz(:,:,:) 
    6161    REAL(rstd), POINTER :: temp(:,:) 
    6262    REAL(rstd), POINTER :: p(:,:) 
     
    8181      CALL compute_exner(ps,p,pks,pk,0) 
    8282!$OMP BARRIER 
    83       CALL compute_theta_rhodz2temperature(p, pk, theta_rhodz,temp,0) 
     83      CALL compute_theta_rhodz2temperature(p, pk, theta_rhodz(:,:,1),temp,0) 
    8484    ENDDO 
    8585!$OMP BARRIER 
     
    9797   
    9898    REAL(rstd), POINTER :: ps(:) 
    99     REAL(rstd), POINTER :: theta_rhodz(:,:) 
     99    REAL(rstd), POINTER :: theta_rhodz(:,:,:) 
    100100    REAL(rstd), POINTER :: temp(:,:) 
    101101    REAL(rstd), POINTER :: p(:,:) 
     
    120120      CALL compute_exner(ps,p,pks,pk,0) 
    121121!$OMP BARRIER 
    122       CALL compute_temperature2theta_rhodz(p, pk, temp, theta_rhodz, 0) 
     122      CALL compute_temperature2theta_rhodz(p, pk, temp, theta_rhodz(:,:,1), 0) 
    123123    ENDDO 
    124124!$OMP BARRIER 
Note: See TracChangeset for help on using the changeset viewer.