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

Ignore:
Timestamp:
2009-07-29T12:51:45+02:00 (15 years ago)
Author:
rblod
Message:

Suppress FETI solver, see ticket #502

File:
1 edited

Legend:

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

    r1528 r1556  
    8787      READ  ( numnam, namsol ) 
    8888 
    89 #if defined key_feti 
    90       ! FETI algorithm, we force nsolv at 3 
    91       nsolv = 3 
    92 #endif 
    93  
    9489      ! 0. Parameter control and print 
    9590      !    --------------------------- 
     
    137132         ENDIF 
    138133 
    139       CASE ( 3 )                ! FETI solver 
    140          IF(lwp) WRITE(numout,*) '          the FETI solver is used' 
    141          IF( jpr2di /= 0 .AND. jpr2dj /= 0 ) & 
    142               CALL ctl_stop( ' jpr2di and jpr2dj should be equal to zero' ) 
    143             
    144          IF( .NOT.lk_mpp ) THEN 
    145             CALL ctl_stop( ' The FETI algorithm is used only with the key_mpp_... option' ) 
    146          ELSE 
    147             IF( jpnij == 1 ) THEN 
    148                CALL ctl_stop( ' The FETI algorithm needs more than one processor' ) 
    149             ENDIF 
    150          ENDIF 
    151           
    152134      CASE DEFAULT 
    153135         WRITE(ctmp1,*) '          bad flag value for nsolv = ', nsolv 
     
    177159 
    178160      CALL sol_mat( kt ) 
    179  
     161      ! 
    180162   END SUBROUTINE solver_init 
    181163 
Note: See TracChangeset for help on using the changeset viewer.