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

Ignore:
Timestamp:
2006-03-20T18:27:15+01:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_032 : CT : use dt (linked to Euler time scheme) instead of 2*dt for the construction of the matrix used by the elliptic solvers

File:
1 edited

Legend:

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

    r392 r413  
    1919   USE lbclnk          ! lateral boudary conditions 
    2020   USE lib_mpp         ! distributed memory computing 
     21   USE in_out_manager  ! I/O manager 
    2122 
    2223   IMPLICIT NONE 
     
    3334CONTAINS 
    3435 
    35    SUBROUTINE sol_mat 
     36   SUBROUTINE sol_mat( kt ) 
    3637      !!---------------------------------------------------------------------- 
    3738      !!                  ***  ROUTINE sol_mat  *** 
     
    6768      !!   9.0  !  05-11  (V. Garnier) Surface pressure gradient organization 
    6869      !!---------------------------------------------------------------------- 
     70      !! * Arguments 
     71      INTEGER, INTENT(in) :: kt 
     72 
    6973      !! * Local declarations 
    7074      INTEGER ::   ji, jj                    ! dummy loop indices 
     
    9397      gcdmat(:,:) = 0.e0 
    9498       
    95       z2dt = 2. * rdt 
     99      IF( neuler == 0 .AND. kt == nit000 ) THEN 
     100         z2dt = rdt 
     101      ELSE 
     102         z2dt = 2. * rdt 
     103      ENDIF 
    96104 
    97105#if defined key_dynspg_flt && ! defined key_obc 
Note: See TracChangeset for help on using the changeset viewer.