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/caldyn_hevi.f90

    r377 r387  
    4949     
    5050    REAL(rstd),POINTER :: ps(:), dps(:) 
    51     REAL(rstd),POINTER :: mass(:,:), theta_rhodz(:,:), dtheta_rhodz(:,:) 
     51    REAL(rstd),POINTER :: mass(:,:), theta_rhodz(:,:,:), dtheta_rhodz(:,:,:) 
    5252    REAL(rstd),POINTER :: du(:,:), dW(:,:), dPhi(:,:), hflux(:,:), wflux(:,:) 
    5353    REAL(rstd),POINTER :: u(:,:), w(:,:), qu(:,:), qv(:,:) 
     
    107107       mass=f_mass(ind) 
    108108       theta = f_theta(ind) 
    109        CALL compute_theta(ps,theta_rhodz, mass,theta) 
     109       CALL compute_theta(ps,theta_rhodz(:,:,1), mass,theta) 
    110110       pk = f_pk(ind) 
    111111       geopot = f_geopot(ind) 
     
    163163          CALL compute_caldyn_slow_NH(u,mass,geopot,W, hflux,du,dPhi,dW) 
    164164       END IF 
    165        CALL compute_caldyn_Coriolis(hflux,theta,qu, convm,dtheta_rhodz,du) 
     165       CALL compute_caldyn_Coriolis(hflux,theta,qu, convm,dtheta_rhodz(:,:,1),du) 
    166166       IF(caldyn_eta==eta_mass) THEN 
    167167          wflux=f_wflux(ind) 
Note: See TracChangeset for help on using the changeset viewer.