Changeset 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/SBC/cpl_oasis3.F90
- Timestamp:
- 2021-11-26T12:27:56+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/SBC/cpl_oasis3.F90
r14644 r15540 74 74 CHARACTER(len = 8) :: clname ! Name of the coupling field 75 75 CHARACTER(len = 1) :: clgrid ! Grid type 76 REAL( wp) :: nsgn ! Control of the sign change76 REAL(dp) :: nsgn ! Control of the sign change 77 77 INTEGER, DIMENSION(nmaxcat,nmaxcpl) :: nid ! Id of the field (no more than 9 categories and 9 extrena models) 78 78 INTEGER :: nct ! Number of categories in field … … 82 82 TYPE(FLD_CPL), DIMENSION(nmaxfld), PUBLIC :: srcv, ssnd !: Coupling fields 83 83 84 REAL( wp), DIMENSION(:,:), ALLOCATABLE :: exfld ! Temporary buffer for receiving84 REAL(dp), DIMENSION(:,:), ALLOCATABLE :: exfld ! Temporary buffer for receiving 85 85 86 86 !!---------------------------------------------------------------------- … … 89 89 !! Software governed by the CeCILL license (see ./LICENSE) 90 90 !!---------------------------------------------------------------------- 91 # include "single_precision_substitute.h90" 91 92 CONTAINS 92 93 … … 316 317 INTEGER , INTENT( out) :: kinfo ! OASIS3 info argument 317 318 INTEGER , INTENT(in ) :: kstep ! ocean time-step in seconds 318 REAL( wp), DIMENSION(:,:,:), INTENT(in ) :: pdata319 REAL(dp), DIMENSION(:,:,:), INTENT(in ) :: pdata 319 320 !! 320 321 INTEGER :: jc,jm ! local loop index … … 361 362 INTEGER , INTENT(in ) :: kid ! variable index in the array 362 363 INTEGER , INTENT(in ) :: kstep ! ocean time-step in seconds 363 REAL( wp), DIMENSION(:,:,:), INTENT(inout) :: pdata ! IN to keep the value if nothing is done364 REAL( wp), DIMENSION(:,:,:), INTENT(in ) :: pmask ! coupling mask364 REAL(dp), DIMENSION(:,:,:), INTENT(inout) :: pdata ! IN to keep the value if nothing is done 365 REAL(dp), DIMENSION(:,:,:), INTENT(in ) :: pmask ! coupling mask 365 366 INTEGER , INTENT( out) :: kinfo ! OASIS3 info argument 366 367 !! … … 419 420 !--- we must call lbc_lnk to fill the halos that where not received. 420 421 IF( .NOT. ll_1st ) THEN 421 CALL lbc_lnk( 'cpl_oasis3', pdata(:,:,jc), srcv(kid)%clgrid, srcv(kid)%nsgn)422 CALL lbc_lnk( 'cpl_oasis3', pdata(:,:,jc), srcv(kid)%clgrid, CASTSP(srcv(kid)%nsgn) ) 422 423 ENDIF 423 424 … … 547 548 548 549 SUBROUTINE oasis_put(k1,k2,p1,k3) 549 REAL( wp), DIMENSION(:,:), INTENT(in ) :: p1550 REAL(dp), DIMENSION(:,:), INTENT(in ) :: p1 550 551 INTEGER , INTENT(in ) :: k1,k2 551 552 INTEGER , INTENT( out) :: k3 … … 555 556 556 557 SUBROUTINE oasis_get(k1,k2,p1,k3) 557 REAL( wp), DIMENSION(:,:), INTENT( out) :: p1558 REAL(dp), DIMENSION(:,:), INTENT( out) :: p1 558 559 INTEGER , INTENT(in ) :: k1,k2 559 560 INTEGER , INTENT( out) :: k3
Note: See TracChangeset
for help on using the changeset viewer.