Changeset 95 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Jun 2, 2007 4:48:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r94 r95 7 7 ! Actual revisions: 8 8 ! ----------------- 9 ! Initialization of salinity 9 ! Initialization of salinity, call of init_ocean 10 10 ! 11 11 ! Former revisions: … … 188 188 189 189 IF ( ocean ) THEN 190 ALLOCATE( saswst_1(nys-1:nyn+1,nxl-1:nxr+1) ) 191 ALLOCATE( r(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & 190 ALLOCATE( saswsb_1(nys-1:nyn+1,nxl-1:nxr+1), & 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), & 192 193 sa_1(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & 193 194 sa_2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), & … … 303 304 304 305 IF ( ocean ) THEN 306 saswsb => saswsb_1 305 307 saswst => saswst_1 306 308 sa => sa_1; sa_p => sa_2; tsa_m => sa_3 … … 602 604 603 605 IF ( ocean ) THEN 606 saswsb = bottom_salinityflux 604 607 saswst = top_salinityflux 605 608 ENDIF … … 821 824 CALL local_stop 822 825 ENDIF 826 827 ! 828 !-- If required, initialize quantities needed for the ocean model 829 IF ( ocean ) CALL init_ocean 823 830 824 831 !
Note: See TracChangeset
for help on using the changeset viewer.