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 14223 for NEMO/trunk/src – NEMO

Changeset 14223 for NEMO/trunk/src


Ignore:
Timestamp:
2020-12-19T11:22:45+01:00 (3 years ago)
Author:
smasson
Message:

trunk: remove patch for compatibility with the old trunk

Location:
NEMO/trunk/src/OCE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/DOM/dom_oce.F90

    r14143 r14223  
    107107   INTEGER, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) ::   mig0       !: local ==> global domain, excluding halos (Ni0glo), i-index 
    108108   INTEGER, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) ::   mjg0       !: local ==> global domain, excluding halos (Nj0glo), j-index 
    109    INTEGER, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) ::   mig0_oldcmp !: local ==> global domain, excluding halos (Ni0glo), i-index 
    110    INTEGER, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) ::   mjg0_oldcmp !: local ==> global domain, excluding halos (Nj0glo), j-index 
    111109   INTEGER, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) ::   mi0, mi1   !: global, including halos (jpiglo) ==> local domain i-index 
    112110   !                                                                !:    (mi0=1 and mi1=0 if global index not in local domain) 
     
    292290      ! 
    293291      ii = ii+1 
    294       ALLOCATE( mig(jpi), mjg(jpj), mig0(jpi), mjg0(jpj), mig0_oldcmp(jpi), mjg0_oldcmp(jpj), STAT=ierr(ii) ) 
     292      ALLOCATE( mig(jpi), mjg(jpj), mig0(jpi), mjg0(jpj), STAT=ierr(ii) ) 
    295293         ! 
    296294      ii = ii+1 
  • NEMO/trunk/src/OCE/DOM/domain.F90

    r14171 r14223  
    283283      mig0(:) = mig(:) - nn_hls 
    284284      mjg0(:) = mjg(:) - nn_hls 
    285       ! WARNING: to keep compatibility with the trunk that was including periodocity into the input data, 
    286       ! we must define mig0 and mjg0 as bellow. 
    287       ! Once we decide to forget trunk compatibility, we must simply define mig0 and mjg0 as: 
    288       mig0_oldcmp(:) = mig0(:) + COUNT( (/ jperio == 1 .OR. jperio == 4 .OR. jperio == 6 .OR. jperio == 7 /) ) 
    289       mjg0_oldcmp(:) = mjg0(:) + COUNT( (/ jperio == 2 .OR. jperio == 7 /) ) 
    290       ! 
    291285      !                              ! global domain, including halos, indices ==> local domain indices 
    292286      !                                   ! (return (m.0,m.1)=(1,0) if data domain gridpoint is to the west/south of the 
  • NEMO/trunk/src/OCE/USR/usrdef_hgr.F90

    r13295 r14223  
    115115      ENDIF 
    116116      !    
    117       DO_2D( 1, 1, 1, 1 ) 
    118          zim1 = REAL( mig0_oldcmp(ji), wp ) - 1.   ;   zim05 = REAL( mig0_oldcmp(ji), wp ) - 1.5 
    119          zjm1 = REAL( mjg0_oldcmp(jj), wp ) - 1.   ;   zjm05 = REAL( mjg0_oldcmp(jj), wp ) - 1.5 
     117      DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
     118         zim1 = REAL( mig0(ji), wp ) - 1.   ;   zim05 = REAL( mig0(ji), wp ) - 1.5 
     119         zjm1 = REAL( mjg0(jj), wp ) - 1.   ;   zjm05 = REAL( mjg0(jj), wp ) - 1.5 
    120120         !    
    121121         !glamt(i,j) longitude at T-point 
Note: See TracChangeset for help on using the changeset viewer.