Changeset 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/BDY/bdylib.F90
- Timestamp:
- 2020-12-18T18:52:57+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/BDY/bdylib.F90
r13527 r14219 45 45 TYPE(OBC_INDEX), INTENT(in) :: idx ! OBC indices 46 46 REAL(wp), DIMENSION(:,:), POINTER, INTENT(in) :: dta ! OBC external data 47 REAL( wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend47 REAL(dp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend 48 48 !! 49 49 REAL(wp) :: zwgt ! boundary weight … … 74 74 TYPE(OBC_INDEX), INTENT(in) :: idx ! OBC indices 75 75 REAL(wp), DIMENSION(:,:), POINTER, INTENT(in) :: dta ! OBC external data 76 REAL( wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend76 REAL(dp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend 77 77 !! 78 78 INTEGER :: ib, ik, igrd ! dummy loop indices … … 102 102 TYPE(OBC_INDEX), INTENT(in ) :: idx ! OBC indices 103 103 REAL(wp), DIMENSION(:,:), POINTER, INTENT(in ) :: dta ! OBC external data 104 REAL( wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phib ! before tracer field105 REAL( wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend104 REAL(dp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phib ! before tracer field 105 REAL(dp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: phia ! tracer trend 106 106 LOGICAL , INTENT(in ) :: lrim0 ! indicate if rim 0 is treated 107 107 LOGICAL , INTENT(in ) :: ll_npo ! switch for NPO version … … 112 112 igrd = 1 ! Everything is at T-points here 113 113 ! 114 CALL bdy_orlanski_3d( idx, igrd, phib(:,:,:), phia(:,:,:), dta, lrim0, ll_npo )114 CALL bdy_orlanski_3d( idx, igrd, REAL(phib(:,:,:), wp), phia(:,:,:), dta, lrim0, ll_npo ) 115 115 ! 116 116 END SUBROUTINE bdy_orl … … 152 152 REAL(wp), POINTER, DIMENSION(:,:) :: zmask_xdif ! land/sea mask for x-derivatives 153 153 REAL(wp), POINTER, DIMENSION(:,:) :: zmask_ydif ! land/sea mask for y-derivatives 154 REAL( wp), POINTER, DIMENSION(:,:) :: pe_xdif ! scale factors for x-derivatives155 REAL( wp), POINTER, DIMENSION(:,:) :: pe_ydif ! scale factors for y-derivatives154 REAL(dp), POINTER, DIMENSION(:,:) :: pe_xdif ! scale factors for x-derivatives 155 REAL(dp), POINTER, DIMENSION(:,:) :: pe_ydif ! scale factors for y-derivatives 156 156 !!---------------------------------------------------------------------- 157 157 ! … … 293 293 INTEGER , INTENT(in ) :: igrd ! grid index 294 294 REAL(wp), DIMENSION(:,:,:), INTENT(in ) :: phib ! model before 3D field 295 REAL( wp), DIMENSION(:,:,:), INTENT(inout) :: phia ! model after 3D field (to be updated)295 REAL(dp), DIMENSION(:,:,:), INTENT(inout) :: phia ! model after 3D field (to be updated) 296 296 REAL(wp), DIMENSION(:,: ), POINTER, INTENT(in ) :: phi_ext ! external forcing data 297 297 LOGICAL , INTENT(in ) :: lrim0 ! indicate if rim 0 is treated … … 314 314 REAL(wp), POINTER, DIMENSION(:,:,:) :: zmask_xdif ! land/sea mask for x-derivatives 315 315 REAL(wp), POINTER, DIMENSION(:,:,:) :: zmask_ydif ! land/sea mask for y-derivatives 316 REAL( wp), POINTER, DIMENSION(:,:) :: pe_xdif ! scale factors for x-derivatives317 REAL( wp), POINTER, DIMENSION(:,:) :: pe_ydif ! scale factors for y-derivatives316 REAL(dp), POINTER, DIMENSION(:,:) :: pe_xdif ! scale factors for x-derivatives 317 REAL(dp), POINTER, DIMENSION(:,:) :: pe_ydif ! scale factors for y-derivatives 318 318 !!---------------------------------------------------------------------- 319 319 ! … … 458 458 !!---------------------------------------------------------------------- 459 459 INTEGER, INTENT(in ) :: igrd ! grid index 460 REAL( wp), DIMENSION(:,:,:), INTENT(inout) :: phia ! model after 3D field (to be updated), must be masked460 REAL(dp), DIMENSION(:,:,:), INTENT(inout) :: phia ! model after 3D field (to be updated), must be masked 461 461 TYPE(OBC_INDEX), INTENT(in ) :: idx ! OBC indices 462 462 LOGICAL , INTENT(in ) :: lrim0 ! indicate if rim 0 is treated
Note: See TracChangeset
for help on using the changeset viewer.