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 10337 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src – NEMO

Ignore:
Timestamp:
2018-11-19T15:55:42+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: action 3d: force safe NPF (2 lines update) for field recieved from oasis, see #2133

Location:
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC/lib_mpp.F90

    r10330 r10337  
    163163   INTEGER, PUBLIC                               ::   n_sequence_glb = 0           !: # of global communications 
    164164   INTEGER, PUBLIC                               ::   numcom = -1                  !: logical unit for communicaton report 
     165   INTEGER, PUBLIC                               ::   l_full_nf_update = .FALSE.   !: logical for a full (2lines) update of bc at North fold report 
    165166 
    166167   ! timing summary report 
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/LBC/mpp_nfd_generic.h90

    r10175 r10337  
    9090         !  to correct possible incoherent values on North fold lines from restart  
    9191 
    92          DO jf = 1, ipf 
    93             IF ( ncom_stp <= nit000 ) ipj_s(jf) = 2 
    94          ENDDO 
     92         ! Two lines update (slower but necessary to avoid different values ion identical grid points 
     93         IF ( l_full_nf_update .OR.                          &    ! if coupling fields 
     94              ( ncom_stp == nit000 .AND. .NOT. ln_rstart ) ) &    ! at first time step, if not restart 
     95            ipj_s(:) = 2 
    9596 
    9697         ! Index of modifying lines in input 
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/SBC/cpl_oasis3.F90

    r10170 r10337  
    454454         !--- Fill the overlap areas and extra hallows (mpp) 
    455455         !--- check periodicity conditions (all cases) 
    456          IF( .not. llfisrt )   CALL lbc_lnk( 'cpl_oasis3', pdata(:,:,jc), srcv(kid)%clgrid, srcv(kid)%nsgn )    
     456         IF( .not. llfisrt ) THEN 
     457            l_full_nf_update = .TRUE.    ! enable full North fold update 
     458            CALL lbc_lnk( 'cpl_oasis3', pdata(:,:,jc), srcv(kid)%clgrid, srcv(kid)%nsgn )    
     459            l_full_nf_update = .FALSE.   ! disable full North fold update (performances) 
     460         ENDIF 
    457461  
    458462      ENDDO 
Note: See TracChangeset for help on using the changeset viewer.