Ignore:
Timestamp:
2011-08-05T15:58:48+02:00 (13 years ago)
Author:
didier.solyga
Message:

Correct2 wrong loops in slowproc when dgvm is activated. Replace PRINT instructions by WRITE instructions. Add a call to ipslerr in stomate alloc in case of wrong values of L0 and R0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_stomate/stomate_alloc.f90

    r257 r386  
    152152    ! 
    153153    L0 = 1. - R0 - S0  ! defined in constantes.f90 
    154     IF ((L0 .LT. zero) .OR. (S0 .EQ. un)) STOP 'L0 negative or division by zero if S0 = 1'  
     154    IF ((L0 .LT. zero) .OR. (S0 .EQ. un)) THEN 
     155       CALL ipslerr (3,'in module stomate_alloc', & 
     156            &           'Something wrong happened', & 
     157            &           'L0 negative or division by zero if S0 = 1', & 
     158            &           '(Check your parameters.)') 
     159    ENDIF 
    155160 
    156161    ! 
Note: See TracChangeset for help on using the changeset viewer.