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 9125 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY – NEMO

Ignore:
Timestamp:
2017-12-19T09:47:17+01:00 (7 years ago)
Author:
timgraham
Message:

Removed wrk_arrays from whole code. No change in SETTE results from this.

Location:
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY/bdydyn.F90

    r9124 r9125  
    1616   !!                    conditions 
    1717   !!---------------------------------------------------------------------- 
    18    USE wrk_nemo        ! Memory Allocation 
    1918   USE oce             ! ocean dynamics and tracers  
    2019   USE dom_oce         ! ocean space and time domain 
     
    5049      INTEGER ::   jk, ii, ij, ib_bdy, ib, igrd     ! Loop counter 
    5150      LOGICAL ::   ll_dyn2d, ll_dyn3d, ll_orlanski 
    52       REAL(wp), POINTER, DIMENSION(:,:) :: pua2d, pva2d     ! after barotropic velocities 
     51      REAL(wp), DIMENSION(jpi,jpj) :: pua2d, pva2d     ! after barotropic velocities 
    5352      !!---------------------------------------------------------------------- 
    5453      ! 
     
    6564     &   .OR. cn_dyn3d(ib_bdy) == 'orlanski' .OR. cn_dyn3d(ib_bdy) == 'orlanski_npo')   ll_orlanski = .true. 
    6665      END DO 
    67  
    68       !------------------------------------------------------- 
    69       ! Set pointers 
    70       !------------------------------------------------------- 
    71  
    72       CALL wrk_alloc( jpi,jpj,   pua2d, pva2d )  
    7366 
    7467      !------------------------------------------------------- 
     
    124117      END IF 
    125118      ! 
    126       CALL wrk_dealloc( jpi,jpj,  pua2d, pva2d )  
    127       ! 
    128119   END SUBROUTINE bdy_dyn 
    129120 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY/bdytides.F90

    r9124 r9125  
    2525   USE fldread        ! 
    2626   USE lbclnk         ! ocean lateral boundary conditions (or mpp link) 
    27    USE wrk_nemo       ! Memory allocation 
    2827 
    2928   IMPLICIT NONE 
     
    7574      CHARACTER(len=80)                         ::   clfile              !: full file name for tidal input file  
    7675      REAL(wp),ALLOCATABLE, DIMENSION(:,:,:)    ::   dta_read            !: work space to read in tidal harmonics data 
    77       REAL(wp), POINTER, DIMENSION(:,:)         ::   ztr, zti            !:  "     "    "   "   "   "        "      "  
     76      REAL(wp),ALLOCATABLE, DIMENSION(:,:)      ::   ztr, zti            !:  "     "    "   "   "   "        "      "  
    7877      !! 
    7978      TYPE(TIDES_DATA),  POINTER                ::   td                  !: local short cut    
     
    150149               ! given on the global domain (ie global, jpiglo x jpjglo) 
    151150               ! 
    152                CALL wrk_alloc( jpi,jpj,   zti, ztr ) 
     151               ALLOCATE( zti(jpi,jpj), ztr(jpi,jpj) ) 
    153152               ! 
    154153               ! SSH fields 
     
    200199               CALL iom_close( inum ) 
    201200               ! 
    202                CALL wrk_dealloc( jpi,jpj,  ztr, zti )  
     201               DEALLOCATE( ztr, zti )  
    203202               ! 
    204203            ELSE             
Note: See TracChangeset for help on using the changeset viewer.