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

Ignore:
Timestamp:
2017-04-13T16:21:08+02:00 (7 years ago)
Author:
timgraham
Message:

All wrk_alloc removed

Location:
branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/BDY
Files:
3 edited

Legend:

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

    r7646 r7910  
    1616   !!                    conditions 
    1717   !!---------------------------------------------------------------------- 
    18    USE wrk_nemo        ! Memory Allocation 
    1918   USE timing          ! Timing 
    2019   USE oce             ! ocean dynamics and tracers  
     
    5150      INTEGER ::   jk, ii, ij, ib_bdy, ib, igrd     ! Loop counter 
    5251      LOGICAL ::   ll_dyn2d, ll_dyn3d, ll_orlanski 
    53       REAL(wp), POINTER, DIMENSION(:,:) :: pua2d, pva2d     ! after barotropic velocities 
     52      REAL(wp), DIMENSION(jpi,jpj) :: pua2d, pva2d     ! after barotropic velocities 
    5453      !!---------------------------------------------------------------------- 
    5554      ! 
     
    7372      !------------------------------------------------------- 
    7473 
    75       CALL wrk_alloc( jpi,jpj,   pua2d, pva2d )  
    7674 
    7775      !------------------------------------------------------- 
     
    127125      END IF 
    128126      ! 
    129       CALL wrk_dealloc( jpi,jpj,  pua2d, pva2d )  
    130127      ! 
    131128      IF( nn_timing == 1 )   CALL timing_stop('bdy_dyn') 
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/BDY/bdyini.F90

    r7646 r7910  
    2929   USE lib_mpp        ! for mpp_sum   
    3030   USE iom            ! I/O 
    31    USE wrk_nemo       ! Memory Allocation 
    3231   USE timing         ! Timing 
    3332 
     
    151150      INTEGER :: com_east_b, com_west_b, com_south_b, com_north_b  ! Flags for boundaries receiving 
    152151      INTEGER :: iw_b(4), ie_b(4), is_b(4), in_b(4)                ! Arrays for neighbours coordinates 
    153       REAL(wp), POINTER, DIMENSION(:,:)       ::   zfmask  ! temporary fmask array excluding coastal boundary condition (shlat) 
     152      REAL(wp), DIMENSION(jpi,jpj)       ::   zfmask  ! temporary fmask array excluding coastal boundary condition (shlat) 
    154153      !! 
    155154      CHARACTER(LEN=1)                     ::   ctypebdy   !     -        -  
     
    12171216      ! For the flagu/flagv calculation below we require a version of fmask without 
    12181217      ! the land boundary condition (shlat) included: 
    1219       CALL wrk_alloc(jpi,jpj,  zfmask )  
    12201218      DO ij = 2, jpjm1 
    12211219         DO ii = 2, jpim1 
     
    13461344      IF( nb_bdy>0 )   DEALLOCATE( nbidta, nbjdta, nbrdta ) 
    13471345      ! 
    1348       CALL wrk_dealloc(jpi,jpj,   zfmask )  
    13491346      ! 
    13501347      IF( nn_timing == 1 )   CALL timing_stop('bdy_segs') 
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/BDY/bdytides.F90

    r7646 r7910  
    2525   USE fldread        ! 
    2626   USE lbclnk         ! ocean lateral boundary conditions (or mpp link) 
    27    USE wrk_nemo       ! Memory allocation 
    2827   USE timing         ! timing 
    2928 
     
    7675      CHARACTER(len=80)                         ::   clfile              !: full file name for tidal input file  
    7776      REAL(wp),ALLOCATABLE, DIMENSION(:,:,:)    ::   dta_read            !: work space to read in tidal harmonics data 
    78       REAL(wp), POINTER, DIMENSION(:,:)         ::   ztr, zti            !:  "     "    "   "   "   "        "      "  
     77      REAL(wp), DIMENSION(jpi,jpj)         ::   ztr, zti            !:  "     "    "   "   "   "        "      "  
    7978      !! 
    8079      TYPE(TIDES_DATA),  POINTER                ::   td                  !: local short cut    
     
    153152               ! given on the global domain (ie global, jpiglo x jpjglo) 
    154153               ! 
    155                CALL wrk_alloc( jpi,jpj,   zti, ztr ) 
    156154               ! 
    157155               ! SSH fields 
     
    203201               CALL iom_close( inum ) 
    204202               ! 
    205                CALL wrk_dealloc( jpi,jpj,   ztr, zti )  
    206203               ! 
    207204            ELSE             
Note: See TracChangeset for help on using the changeset viewer.