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 359 for trunk/NEMO/OPA_SRC/SOL/solmat.F90 – NEMO

Ignore:
Timestamp:
2005-12-21T11:46:45+01:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_033 : RB + CT : Add new surface pressure gradient algorithms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SOL/solmat.F90

    r315 r359  
    1919   USE lbclnk          ! lateral boudary conditions 
    2020   USE lib_mpp         ! distributed memory computing 
    21    USE dynspg_rl 
    22    USE dynspg_fsc 
    2321 
    2422   IMPLICIT NONE 
     
    4644      !!      The matrix is built for the barotropic stream function system. 
    4745      !!      a diagonal preconditioning matrix is also defined. 
    48       !!       * lk_dynspg_fsc=T: free surface formulation 
     46      !!       * lk_dynspg_flt=T: free surface formulation 
    4947      !!      The matrix is built for the divergence of the transport system 
    5048      !!      a diagonal preconditioning matrix is also defined. 
     
    6765      !!   8.5  !  02-08  (G. Madec)  F90: Free form 
    6866      !!        !  02-11  (C. Talandier, A-M. Treguier) Free surface & Open boundaries 
     67      !!   9.0  !  05-11  (V. Garnier) Surface pressure gradient organization 
    6968      !!---------------------------------------------------------------------- 
    7069      !! * Local declarations 
     
    9695      z2dt = 2. * rdt 
    9796 
    98 #if defined key_dynspg_fsc && ! defined key_obc 
    99 !!cr      IF( lk_dynspg_fsc .AND. .NOT.lk_obc ) THEN   !bug missing lk_dynspg_fsc_atsk 
     97#if defined key_dynspg_flt && ! defined key_obc 
     98!!cr      IF( lk_dynspg_flt .AND. .NOT.lk_obc ) THEN   !bug missing lk_dynspg_flt_atsk 
    10099 
    101100      ! defined the coefficients for free surface elliptic system 
     
    117116      END DO 
    118117       
    119 #  elif defined key_dynspg_fsc && defined key_obc 
    120 !!cr      ELSEIF( lk_dynspg_fsc .AND. lk_obc ) THEN     !bug missing lk_dynspg_fsc_atsk  
     118#  elif defined key_dynspg_flt && defined key_obc 
     119!!cr      ELSEIF( lk_dynspg_flt .AND. lk_obc ) THEN     !bug missing lk_dynspg_flt_atsk  
    121120 
    122121      !   defined gcdmat in the case of open boundaries 
     
    200199      ! account for the existence of the south symmetric bassin. 
    201200       
    202 !!cr      IF( .NOT.lk_dynspg_fsc ) THEN   !bug missing lk_dynspg_fsc_atsk 
    203 #if ! defined key_dynspg_fsc 
     201!!cr      IF( .NOT.lk_dynspg_flt ) THEN   !bug missing lk_dynspg_flt_atsk 
     202#if ! defined key_dynspg_flt 
    204203      IF( nperio == 2 ) THEN 
    205204         DO ji = 1, jpi 
Note: See TracChangeset for help on using the changeset viewer.