Ignore:
Timestamp:
04/08/16 09:34:17 (8 years ago)
Author:
dubos
Message:

Mass-based NH

File:
1 edited

Legend:

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

    r369 r373  
    118118          dW = f_dW_fast(ind) 
    119119          dPhi = f_dPhi_fast(ind) 
    120           CALL compute_caldyn_solver(tau,mass,theta,pk,geopot,W,dPhi,dW,du) ! computes d(Phi,W)_fast and updates Phi,W 
     120          CALL compute_caldyn_solver(tau,mass,theta,pk,geopot,W,dPhi,dW,du) ! computes d(Phi,W,du)_fast and updates Phi,W 
    121121       END IF 
    122122       u=f_u(ind) 
    123        CALL compute_caldyn_fast(tau,u,mass,theta,pk,geopot,du) ! computes du_fast and updates du 
     123       CALL compute_caldyn_fast(tau,u,mass,theta,pk,geopot,du) ! computes du_fast and updates u 
    124124    ENDDO 
    125125     
     
    167167          wwuu=f_wwuu(ind) 
    168168          dps=f_dps(ind) 
    169           IF(hydrostatic) THEN 
    170              CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz, du) 
    171           ELSE 
    172              PRINT *, 'NH dynamics limited to Lagrangian vertical coordinate so far !'  
    173              STOP 
     169          CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz, du) 
     170          IF(.NOT.hydrostatic) THEN 
     171             CALL compute_caldyn_vert_NH(mass,geopot,W,wflux, du,dPhi,dW) 
    174172          END IF 
    175173       END IF 
Note: See TracChangeset for help on using the changeset viewer.