- Timestamp:
- 2017-04-13T16:21:08+02:00 (7 years ago)
- 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 16 16 !! conditions 17 17 !!---------------------------------------------------------------------- 18 USE wrk_nemo ! Memory Allocation19 18 USE timing ! Timing 20 19 USE oce ! ocean dynamics and tracers … … 51 50 INTEGER :: jk, ii, ij, ib_bdy, ib, igrd ! Loop counter 52 51 LOGICAL :: ll_dyn2d, ll_dyn3d, ll_orlanski 53 REAL(wp), POINTER, DIMENSION(:,:) :: pua2d, pva2d ! after barotropic velocities52 REAL(wp), DIMENSION(jpi,jpj) :: pua2d, pva2d ! after barotropic velocities 54 53 !!---------------------------------------------------------------------- 55 54 ! … … 73 72 !------------------------------------------------------- 74 73 75 CALL wrk_alloc( jpi,jpj, pua2d, pva2d )76 74 77 75 !------------------------------------------------------- … … 127 125 END IF 128 126 ! 129 CALL wrk_dealloc( jpi,jpj, pua2d, pva2d )130 127 ! 131 128 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 29 29 USE lib_mpp ! for mpp_sum 30 30 USE iom ! I/O 31 USE wrk_nemo ! Memory Allocation32 31 USE timing ! Timing 33 32 … … 151 150 INTEGER :: com_east_b, com_west_b, com_south_b, com_north_b ! Flags for boundaries receiving 152 151 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) 154 153 !! 155 154 CHARACTER(LEN=1) :: ctypebdy ! - - … … 1217 1216 ! For the flagu/flagv calculation below we require a version of fmask without 1218 1217 ! the land boundary condition (shlat) included: 1219 CALL wrk_alloc(jpi,jpj, zfmask )1220 1218 DO ij = 2, jpjm1 1221 1219 DO ii = 2, jpim1 … … 1346 1344 IF( nb_bdy>0 ) DEALLOCATE( nbidta, nbjdta, nbrdta ) 1347 1345 ! 1348 CALL wrk_dealloc(jpi,jpj, zfmask )1349 1346 ! 1350 1347 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 25 25 USE fldread ! 26 26 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 27 USE wrk_nemo ! Memory allocation28 27 USE timing ! timing 29 28 … … 76 75 CHARACTER(len=80) :: clfile !: full file name for tidal input file 77 76 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 !: " " " " " " " " 79 78 !! 80 79 TYPE(TIDES_DATA), POINTER :: td !: local short cut … … 153 152 ! given on the global domain (ie global, jpiglo x jpjglo) 154 153 ! 155 CALL wrk_alloc( jpi,jpj, zti, ztr )156 154 ! 157 155 ! SSH fields … … 203 201 CALL iom_close( inum ) 204 202 ! 205 CALL wrk_dealloc( jpi,jpj, ztr, zti )206 203 ! 207 204 ELSE
Note: See TracChangeset
for help on using the changeset viewer.