Ignore:
Timestamp:
Aug 13, 2025, 7:53:49 PM (4 months ago)
Author:
gmilcareck
Message:

Remove all "call abort" and "stop" statement in LMDZ.GENERIC and replacing them by call abort_physic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/aeronostd/photolysis_online.F

    r3309 r3893  
    11391139!_______________________________________________________________________
    11401140
    1141       IF (b(1) .EQ. 0.) STOP 1001
     1141      IF (b(1).EQ.0.) call abort_physic("photolysis_online","b(1)=0",1)
    11421142      bet   = b(1)
    11431143      u(1) = r(1)/bet
     
    11451145         gam(j) = c(j - 1)/bet
    11461146         bet = b(j) - a(j)*gam(j)
    1147          IF (bet .EQ. 0.) STOP 2002
     1147         IF (bet.EQ.0.) call abort_physic("photolysis_online","bet=0",1)
    11481148         u(j) = (r(j) - a(j)*u(j - 1))/bet
    11491149   11 CONTINUE
     
    12881288        else
    12891289
    1290           print*,'Surface type not recognised in photolysis_online.F!'
    1291           print*,'Exiting...'
    1292           call abort
     1290          call abort_physic("photolysis_online",
     1291     &         "Surface type not recognised",1)
    12931292
    12941293        endif
Note: See TracChangeset for help on using the changeset viewer.