xermax.f 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. *DECK XERMAX
  2. SUBROUTINE XERMAX (MAX)
  3. C***BEGIN PROLOGUE XERMAX
  4. C***PURPOSE Set maximum number of times any error message is to be
  5. C printed.
  6. C***LIBRARY SLATEC (XERROR)
  7. C***CATEGORY R3C
  8. C***TYPE ALL (XERMAX-A)
  9. C***KEYWORDS ERROR, XERROR
  10. C***AUTHOR Jones, R. E., (SNLA)
  11. C***DESCRIPTION
  12. C
  13. C Abstract
  14. C XERMAX sets the maximum number of times any message
  15. C is to be printed. That is, non-fatal messages are
  16. C not to be printed after they have occurred MAX times.
  17. C Such non-fatal messages may be printed less than
  18. C MAX times even if they occur MAX times, if error
  19. C suppression mode (KONTRL=0) is ever in effect.
  20. C
  21. C Description of Parameter
  22. C --Input--
  23. C MAX - the maximum number of times any one message
  24. C is to be printed.
  25. C
  26. C***REFERENCES R. E. Jones and D. K. Kahaner, XERROR, the SLATEC
  27. C Error-handling Package, SAND82-0800, Sandia
  28. C Laboratories, 1982.
  29. C***ROUTINES CALLED J4SAVE
  30. C***REVISION HISTORY (YYMMDD)
  31. C 790801 DATE WRITTEN
  32. C 861211 REVISION DATE from Version 3.2
  33. C 891214 Prologue converted to Version 4.0 format. (BAB)
  34. C 920501 Reformatted the REFERENCES section. (WRB)
  35. C***END PROLOGUE XERMAX
  36. C***FIRST EXECUTABLE STATEMENT XERMAX
  37. JUNK = J4SAVE(4,MAX,.TRUE.)
  38. RETURN
  39. END