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 2236 for branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL – NEMO

Ignore:
Timestamp:
2010-10-12T20:49:32+02:00 (14 years ago)
Author:
cetlod
Message:

First guess of NEMO_v3.3

Location:
branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL/sol_oce.F90

    r1601 r2236  
    5252   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    5353   !! $Id$  
    54    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     54   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt) 
    5555   !!---------------------------------------------------------------------- 
    5656END MODULE sol_oce 
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL/solmat.F90

    r2224 r2236  
    1515   !!             3.2  ! 2009-06  (S. Masson)  distributed restart using iom 
    1616   !!              -   ! 2009-07  (R. Benshila)  suppression of rigid-lid option 
     17   !!             3.3  ! 2010-09  (D. Storkey) update for BDY module. 
    1718   !!---------------------------------------------------------------------- 
    1819 
     
    2627   USE phycst          ! physical constants 
    2728   USE obc_oce         ! ocean open boundary conditions 
     29   USE bdy_oce         ! unstructured open boundary conditions 
    2830   USE lbclnk          ! lateral boudary conditions 
    2931   USE lib_mpp         ! distributed memory computing 
     
    3840   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    3941   !! $Id$  
    40    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)  
     42   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt)  
    4143   !!---------------------------------------------------------------------- 
    4244 
     
    8082      ENDIF 
    8183 
    82 #if defined key_dynspg_flt  
     84#if defined key_dynspg_flt && ! defined key_bdy 
    8385#   if ! defined key_obc 
    8486 
     
    158160    ENDIF 
    159161#   endif 
     162 
     163#  elif defined key_dynspg_flt && defined key_bdy  
     164 
     165      !   defined gcdmat in the case of unstructured open boundaries 
     166      DO jj = 2, jpjm1 
     167         DO ji = 2, jpim1 
     168            zcoef = z2dt * z2dt * grav * bmask(ji,jj) 
     169 
     170            !  south coefficient 
     171            zcoefs = -zcoef * hv(ji,jj-1) * e1v(ji,jj-1)/e2v(ji,jj-1) 
     172            zcoefs = zcoefs * bdyvmask(ji,jj-1) 
     173            gcp(ji,jj,1) = zcoefs 
     174 
     175            !  west coefficient 
     176            zcoefw = -zcoef * hu(ji-1,jj) * e2u(ji-1,jj)/e1u(ji-1,jj) 
     177            zcoefw = zcoefw * bdyumask(ji-1,jj) 
     178            gcp(ji,jj,2) = zcoefw 
     179 
     180            !  east coefficient 
     181            zcoefe = -zcoef * hu(ji,jj) * e2u(ji,jj)/e1u(ji,jj) 
     182            zcoefe = zcoefe * bdyumask(ji,jj) 
     183            gcp(ji,jj,3) = zcoefe 
     184 
     185            !  north coefficient 
     186            zcoefn = -zcoef * hv(ji,jj) * e1v(ji,jj)/e2v(ji,jj) 
     187            zcoefn = zcoefn * bdyvmask(ji,jj) 
     188            gcp(ji,jj,4) = zcoefn 
     189 
     190            ! diagonal coefficient 
     191            gcdmat(ji,jj) = e1t(ji,jj)*e2t(ji,jj)*bmask(ji,jj) & 
     192                            - zcoefs -zcoefw -zcoefe -zcoefn 
     193         END DO 
     194      END DO 
     195 
    160196#endif 
    161197 
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL/solpcg.F90

    r1976 r2236  
    2626   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    2727   !! $Id$  
    28    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     28   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt) 
    2929   !!---------------------------------------------------------------------- 
    3030CONTAINS 
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL/solsor.F90

    r1976 r2236  
    3232   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    3333   !! $Id$  
    34    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     34   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt) 
    3535   !!---------------------------------------------------------------------- 
    3636 
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/SOL/solver.F90

    r1976 r2236  
    3333   !! NEMO/OPA 9.0 , LOCEAN-IPSL (2009)  
    3434   !! $Id$  
    35    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     35   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt) 
    3636   !!---------------------------------------------------------------------- 
    3737 
Note: See TracChangeset for help on using the changeset viewer.