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 7781 for branches/UKMO – NEMO

Changeset 7781 for branches/UKMO


Ignore:
Timestamp:
2017-03-09T16:06:53+01:00 (7 years ago)
Author:
timgraham
Message:

Move swap of runoff forcing fields to sbc_mod

Location:
branches/UKMO/dev_r5518_GO6_package_fix_rnf/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_fix_rnf/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r6498 r7781  
    340340         emp_b(:,:) = emp(:,:) 
    341341         sfx_b(:,:) = sfx(:,:) 
     342         IF ( ln_rnf ) THEN  ! Need to be here so that order is correct in coupled mode 
     343            rnf_b    (:,:  ) = rnf    (:,:  ) 
     344            rnf_tsc_b(:,:,:) = rnf_tsc(:,:,:)  
     345         ENDIF 
     346         ! 
     347      ENDIF 
     348 
    342349      ENDIF 
    343350      !                                            ! ---------------------------------------- ! 
  • branches/UKMO/dev_r5518_GO6_package_fix_rnf/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r6498 r7781  
    110110      CALL wrk_alloc( jpi,jpj, ztfrz) 
    111111 
    112       !                                            ! ---------------------------------------- ! 
    113       IF( kt /= nit000 ) THEN                      !          Swap of forcing fields          ! 
    114          !                                         ! ---------------------------------------- ! 
    115          rnf_b    (:,:  ) = rnf    (:,:  )               ! Swap the ocean forcing fields except at nit000 
    116          rnf_tsc_b(:,:,:) = rnf_tsc(:,:,:)               ! where before fields are set at the end of the routine 
    117          ! 
    118       ENDIF 
    119  
    120112      !                                            !-------------------! 
    121113      !                                            !   Update runoff   ! 
Note: See TracChangeset for help on using the changeset viewer.