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 7351 for branches/2016/dev_INGV_UKMO_2016/NEMOGCM/NEMO/OPA_SRC/LBC/lbcnfd.F90 – NEMO

Ignore:
Timestamp:
2016-11-28T17:04:10+01:00 (7 years ago)
Author:
emanuelaclementi
Message:

ticket #1805 step 3: /2016/dev_INGV_UKMO_2016 aligned to the trunk at revision 7161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_INGV_UKMO_2016/NEMOGCM/NEMO/OPA_SRC/LBC/lbcnfd.F90

    r4686 r7351  
    2424      MODULE PROCEDURE   lbc_nfd_3d, lbc_nfd_2d 
    2525   END INTERFACE 
    26  
    27    PUBLIC   lbc_nfd   ! north fold conditions 
     26   ! 
    2827   INTERFACE mpp_lbc_nfd 
    2928      MODULE PROCEDURE   mpp_lbc_nfd_3d, mpp_lbc_nfd_2d 
    3029   END INTERFACE 
    3130 
    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 
    3937 
    4038   !!---------------------------------------------------------------------- 
     
    391389      REAL(wp)                  , INTENT(in   ) ::   psgn      ! control of the sign change 
    392390      !                                                        !   = -1. , the sign is changed if north fold boundary 
    393       !                                                        !   =  1. , the sign is kept  if north fold boundary 
    394       REAL(wp), DIMENSION(:,:,:), INTENT(inout) ::   pt3dl      ! 3D array on which the boundary condition is applied 
    395       REAL(wp), DIMENSION(:,:,:), INTENT(in) ::   pt3dr      ! 3D array on which the boundary condition is applied 
     391      !                                                        !   =  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 
    396394      ! 
    397395      INTEGER  ::   ji, jk 
    398396      INTEGER  ::   ijt, iju, ijpj, ijpjm1, ijta, ijua, jia, startloop, endloop 
    399397      !!---------------------------------------------------------------------- 
    400  
     398      ! 
    401399      SELECT CASE ( jpni ) 
    402400      CASE ( 1 )     ;   ijpj = nlcj      ! 1 proc only  along the i-direction 
     
    657655      !                                                      !   = -1. , the sign is changed if north fold boundary 
    658656      !                                                      !   =  1. , the sign is kept  if north fold boundary 
    659       REAL(wp), DIMENSION(:,:), INTENT(inout) ::   pt2dl      ! 2D array on which the boundary condition is applied 
    660       REAL(wp), DIMENSION(:,:), INTENT(in) ::   pt2dr      ! 2D array on which the boundary condition is applied 
     657      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 
    661659      ! 
    662660      INTEGER  ::   ji 
     
    970968   END SUBROUTINE mpp_lbc_nfd_2d 
    971969 
     970   !!====================================================================== 
    972971END MODULE lbcnfd 
Note: See TracChangeset for help on using the changeset viewer.