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 6328 for branches/UKMO/dev_r5518_pcbias/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2016-02-18T17:46:36+01:00 (8 years ago)
Author:
jenniewaters
Message:

Make reviewer suggested changes. Update code to allow key_bias to be removed. Fixe a few minor bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_pcbias/NEMOGCM/NEMO/OPA_SRC/step.F90

    r6278 r6328  
    9797      IF( ln_crs     )       CALL iom_setkt( kstp - nit000 + 1, TRIM(cxios_context)//"_crs" )   ! tell iom we are at time step kstp 
    9898 
    99       IF( lk_bias ) THEN 
    100          IF( ln_bias )          CALL bias_opn( kstp ) 
    101       ENDIF 
     99      IF( ln_bias )          CALL bias_opn( kstp ) 
    102100 
    103101      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    259257      IF( lk_trabbl      )   CALL tra_bbl    ( kstp )       ! advective (and/or diffusive) bottom boundary layer scheme 
    260258      IF( ln_tradmp      )   CALL tra_dmp    ( kstp )       ! internal damping trends 
    261       IF( lk_bias  ) THEN 
    262          IF( ln_bias     )   CALL tra_bias   ( kstp ) 
    263       ENDIF 
     259      IF( ln_bias        )   CALL tra_bias   ( kstp ) 
    264260      IF( lk_bdy         )   CALL bdy_tra_dmp( kstp )       ! bdy damping trends 
    265261                             CALL tra_adv    ( kstp )       ! horizontal & vertical advection 
     
    286282               &                                           rhd, gru , grv , aru , arv , gzu , gzv , ge3ru , ge3rv ,   & 
    287283               &                                    gtui, gtvi, grui, grvi, arui, arvi, gzui, gzvi, ge3rui, ge3rvi    ) ! of t, s, rd at the last ocean level 
    288             IF( lk_bias  ) THEN 
    289                IF( ln_bias ) CALL dyn_bias( kstp ) 
    290             ENDIF 
     284            IF( ln_bias )    CALL dyn_bias( kstp ) 
    291285      ELSE                                                  ! centered hpg  (eos then time stepping) 
    292286         IF ( .NOT. lk_dynspg_ts ) THEN                     ! eos already called in time-split case 
     
    303297         IF( ln_zdfnpc   )   CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
    304298                             CALL tra_nxt( kstp )                ! tracer fields at next time step 
    305          IF( lk_bias  ) THEN 
    306             IF( ln_bias ) CALL dyn_bias( kstp ) 
    307          ENDIF 
     299         IF( ln_bias )       CALL dyn_bias( kstp ) 
    308300      ENDIF 
    309301 
     
    366358      ENDIF 
    367359      IF( lrst_oce         )   CALL rst_write    ( kstp )   ! write output ocean restart file 
    368       IF( lk_bias  ) THEN 
    369          IF( lrst_bias )       CALL bias_wrt     ( kstp ) 
    370       ENDIF 
     360      IF( lrst_bias )          CALL bias_wrt     ( kstp ) 
    371361 
    372362      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Note: See TracChangeset for help on using the changeset viewer.