Changeset 96 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Jun 4, 2007 8:07:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r95 r96 190 190 ALLOCATE( saswsb_1(nys-1:nyn+1,nxl-1:nxr+1), & 191 191 saswst_1(nys-1:nyn+1,nxl-1:nxr+1) ) 192 ALLOCATE( rho (nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1),&193 sa_1(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), &194 sa_2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), &192 ALLOCATE( rho_1(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & 193 sa_1(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & 194 sa_2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & 195 195 sa_3(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ) 196 rho => rho_1 ! routine calc_mean_profile requires density to be a 197 ! pointer 196 198 ENDIF 197 199 … … 826 828 827 829 ! 828 !-- If required, initialize quantities needed for the ocean model829 IF ( ocean ) CALL init_ocean830 831 !832 830 !-- If required, initialize dvrp-software 833 831 IF ( dt_dvrp /= 9999999.9 ) CALL init_dvrp 834 832 835 ! 836 !-- If required, initialize quantities for handling cloud physics 837 !-- This routine must be called before init_particles, because 838 !-- otherwise, array pt_d_t, needed in data_output_dvrp (called by 839 !-- init_particles) is not defined. 840 CALL init_cloud_physics 833 IF ( ocean ) THEN 834 ! 835 !-- Initialize quantities needed for the ocean model 836 CALL init_ocean 837 ELSE 838 ! 839 !-- Initialize quantities for handling cloud physics 840 !-- This routine must be called before init_particles, because 841 !-- otherwise, array pt_d_t, needed in data_output_dvrp (called by 842 !-- init_particles) is not defined. 843 CALL init_cloud_physics 844 ENDIF 841 845 842 846 !
Note: See TracChangeset
for help on using the changeset viewer.