Ignore:
Timestamp:
Jun 2, 2007 4:48:38 PM (17 years ago)
Author:
raasch
Message:

further preliminary uncomplete changes for ocean version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_3d_model.f90

    r94 r95  
    77! Actual revisions:
    88! -----------------
    9 ! Initialization of salinity
     9! Initialization of salinity, call of init_ocean
    1010!
    1111! Former revisions:
     
    188188
    189189    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),  &
    192193                 sa_1(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), &
    193194                 sa_2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1), &
     
    303304
    304305       IF ( ocean )  THEN
     306          saswsb => saswsb_1
    305307          saswst => saswst_1
    306308          sa     => sa_1;    sa_p => sa_2;    tsa_m => sa_3
     
    602604
    603605             IF ( ocean )  THEN
     606                saswsb = bottom_salinityflux
    604607                saswst = top_salinityflux
    605608             ENDIF
     
    821824       CALL local_stop
    822825    ENDIF
     826
     827!
     828!-- If required, initialize quantities needed for the ocean model
     829    IF ( ocean )  CALL init_ocean
    823830
    824831!
Note: See TracChangeset for help on using the changeset viewer.