- Timestamp:
- 2016-11-28T17:04:10+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_INGV_UKMO_2016/NEMOGCM/NEMO/OPA_SRC/LBC/lbcnfd.F90
r4686 r7351 24 24 MODULE PROCEDURE lbc_nfd_3d, lbc_nfd_2d 25 25 END INTERFACE 26 27 PUBLIC lbc_nfd ! north fold conditions 26 ! 28 27 INTERFACE mpp_lbc_nfd 29 28 MODULE PROCEDURE mpp_lbc_nfd_3d, mpp_lbc_nfd_2d 30 29 END INTERFACE 31 30 32 PUBLIC mpp_lbc_nfd ! north fold conditions in parallel case 33 34 INTEGER, PUBLIC, PARAMETER :: jpmaxngh = 3 35 INTEGER, PUBLIC :: nsndto, nfsloop, nfeloop 36 INTEGER, PUBLIC, DIMENSION (jpmaxngh) :: isendto ! processes to which communicate 37 38 31 PUBLIC lbc_nfd ! north fold conditions 32 PUBLIC mpp_lbc_nfd ! north fold conditions (parallel case) 33 34 INTEGER, PUBLIC, PARAMETER :: jpmaxngh = 3 !: 35 INTEGER, PUBLIC :: nsndto, nfsloop, nfeloop !: 36 INTEGER, PUBLIC, DIMENSION (jpmaxngh) :: isendto !: processes to which communicate 39 37 40 38 !!---------------------------------------------------------------------- … … 391 389 REAL(wp) , INTENT(in ) :: psgn ! control of the sign change 392 390 ! ! = -1. , the sign is changed if north fold boundary 393 ! ! = 1. , the sign is kept if north fold boundary394 REAL(wp), DIMENSION(:,:,:), INTENT(inout) :: pt3dl 395 REAL(wp), DIMENSION(:,:,:), INTENT(in ) :: pt3dr! 3D array on which the boundary condition is applied391 ! ! = 1. , the sign is kept if north fold boundary 392 REAL(wp), DIMENSION(:,:,:), INTENT(inout) :: pt3dl ! 3D array on which the boundary condition is applied 393 REAL(wp), DIMENSION(:,:,:), INTENT(in ) :: pt3dr ! 3D array on which the boundary condition is applied 396 394 ! 397 395 INTEGER :: ji, jk 398 396 INTEGER :: ijt, iju, ijpj, ijpjm1, ijta, ijua, jia, startloop, endloop 399 397 !!---------------------------------------------------------------------- 400 398 ! 401 399 SELECT CASE ( jpni ) 402 400 CASE ( 1 ) ; ijpj = nlcj ! 1 proc only along the i-direction … … 657 655 ! ! = -1. , the sign is changed if north fold boundary 658 656 ! ! = 1. , the sign is kept if north fold boundary 659 REAL(wp), DIMENSION(:,:), INTENT(inout) :: pt2dl 660 REAL(wp), DIMENSION(:,:), INTENT(in ) :: pt2dr! 2D array on which the boundary condition is applied657 REAL(wp), DIMENSION(:,:), INTENT(inout) :: pt2dl ! 2D array on which the boundary condition is applied 658 REAL(wp), DIMENSION(:,:), INTENT(in ) :: pt2dr ! 2D array on which the boundary condition is applied 661 659 ! 662 660 INTEGER :: ji … … 970 968 END SUBROUTINE mpp_lbc_nfd_2d 971 969 970 !!====================================================================== 972 971 END MODULE lbcnfd
Note: See TracChangeset
for help on using the changeset viewer.