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

Ignore:
Timestamp:
2008-01-08T12:05:25+01:00 (16 years ago)
Author:
rblod
Message:

merge solsor and solsor_e, see ticket #45

File:
1 edited

Legend:

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

    r719 r784  
    291291         gcp(:,:,3) = gcp(:,:,3) * gcdprc(:,:) 
    292292         gcp(:,:,4) = gcp(:,:,4) * gcdprc(:,:) 
    293          IF( ( nsolv == 2 ) .OR. ( nsolv == 4 ) )  gccd(:,:) = sor * gcp(:,:,2) 
    294  
    295          IF( nsolv == 4 ) THEN 
     293         IF( nsolv == 2 )  gccd(:,:) = sor * gcp(:,:,2) 
     294 
     295         IF( nsolv == 2 .AND. MAX( jpr2di, jpr2dj ) > 0) THEN 
    296296            CALL lbc_lnk_e( gcp   (:,:,1), c_solver_pt, 1. )   ! lateral boundary conditions 
    297297            CALL lbc_lnk_e( gcp   (:,:,2), c_solver_pt, 1. )   ! lateral boundary conditions 
Note: See TracChangeset for help on using the changeset viewer.