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 for branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC/opa.F90 – NEMO

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

Fix some 1D issues on DEV_r2191_3partymerge2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.