Changeset 366 for codes/icosagcm/trunk/src/caldyn_kernels_base.f90
- Timestamp:
- 10/30/15 15:41:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/caldyn_kernels_base.f90
r362 r366 18 18 !$OMP THREADPRIVATE(caldyn_conserv) 19 19 20 TYPE(t_message),PUBLIC :: req_ps, req_mass, req_theta_rhodz, req_u, req_qu 20 TYPE(t_message),PUBLIC :: req_ps, req_mass, req_theta_rhodz, req_u, req_qu, req_geopot, req_w 21 21 22 22 PUBLIC :: compute_geopot, compute_caldyn_vert … … 51 51 52 52 IF(caldyn_eta==eta_mass .AND. .NOT. DEC) THEN 53 54 53 !!! Compute exner function and geopotential 55 54 DO l = 1,llm … … 64 63 ENDDO 65 64 ELSE 66 ! We are using a Lagrangian vertical coordinate67 ! Pressure must becomputed first top-down (temporarily stored in pk)65 ! We are using DEC or a Lagrangian vertical coordinate 66 ! Pressure is computed first top-down (temporarily stored in pk) 68 67 ! Then Exner pressure and geopotential are computed bottom-up 69 ! Notice that the computation below should workalso when caldyn_eta=eta_mass68 ! Works also when caldyn_eta=eta_mass 70 69 71 70 IF(boussinesq) THEN ! compute geopotential and pk=Lagrange multiplier
Note: See TracChangeset
for help on using the changeset viewer.