New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2218 – NEMO

Changeset 2218


Ignore:
Timestamp:
2010-10-12T14:41:25+02:00 (14 years ago)
Author:
rblod
Message:

Fix some 1D issues on DEV_r2191_3partymerge2010

Location:
branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC/ASM/asminc.F90

    r2128 r2218  
    4040      & umask,  & 
    4141      & vmask 
     42#if defined key_c1d 
    4243   USE c1d, ONLY : &    ! 1D initialization 
    4344      & lk_c1d 
     45#endif 
    4446   USE oce, ONLY : &      ! Dynamics and active tracers defined in memory 
    4547      & ub, un, ua,    & 
     
    775777            CALL eos( tb, sb, rhd, rhop )                ! Before potential and in situ densities 
    776778          
    777             IF( ln_zps .AND. .NOT. lk_c1d ) & 
     779#if ! defined key_c1d 
     780            IF( ln_zps ) & 
    778781               &  CALL zps_hde( nit000, tb, sb, rhd,  &  ! Partial steps: before horizontal derivative 
    779782               &                gtu, gsu, gru,        &  ! of T, S, rd at the bottom ocean level 
    780783               &                gtv, gsv, grv ) 
     784#endif 
    781785 
    782786            DEALLOCATE( t_bkginc ) 
  • branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC/opa.F90

    r2215 r2218  
    6767   USE dynspg_oce      ! Control choice of surface pressure gradient schemes 
    6868   USE prtctl          ! Print control                 (prt_ctl_init routine) 
     69#if defined key_c1d 
    6970   USE c1d             ! 1D configuration 
    7071   USE dyncor_c1d      ! Coriolis factor at T-point 
    7172   USE step_c1d        ! Time stepping loop for the 1D configuration 
     73#endif 
    7274#if defined key_top 
    7375   USE trcini          ! passive tracer initialisation 
     
    132134      !                            !-----------------------! 
    133135      istp = nit000 
    134       IF( lk_c1d ) THEN                 !==  1D configuration  ==! 
     136#if defined key_c1d 
    135137         DO WHILE ( istp <= nitend .AND. nstop == 0 ) 
    136138            CALL stp_c1d( istp ) 
    137139            istp = istp + 1 
    138140         END DO 
    139       ELSE                              !==  3D ocean with  ==! 
     141#else 
    140142          IF( lk_asminc ) THEN 
    141143             IF( ln_bkgwri ) CALL asm_bkg_wri( nit000 - 1 )    ! Output background fields 
     
    160162            IF( lk_mpp )   CALL mpp_max( nstop ) 
    161163         END DO 
    162       ENDIF 
     164#endif 
    163165 
    164166      IF( lk_diaobs ) CALL dia_obs_wri 
Note: See TracChangeset for help on using the changeset viewer.