PCHQK4(3)

SYNOPSIS
SUBROUTINE PCHQK4 (LUN, KPRINT, IPASS)

NAME
pchqk4 - Test the PCHIP monotonicity checker PCHCM.

LIBRARY
SLATEC (PCHIP)

TYPE
SINGLE PRECISION (PCHQK4-S, DPCHQ4-D)

KEYWORDS
PCHIP MONOTONICITY CHECKER QUICK CHECK

AUTHOR
Fritsch, F. N., (LLNL)

DESCRIPTION
PCHIP QUICK CHECK NUMBER 4 TESTS THE MONOTONICITY CHECKER: PCHCM. *Usage: INTEGER LUN, KPRINT, IPASS CALL PCHQK4 (LUN, KPRINT, IPASS) *Arguments: LUN :IN is the unit number to which output is to be written. KPRINT:IN controls the amount of output, as specified in the SLATEC Guidelines. IPASS:OUT will contain a pass/fail flag. IPASS=1 is good. IPASS=0 indicates one or more tests failed. *Description: This routine tests a constructed data set with three different INCFD settings and compares with the expected results. It then runs a special test to check for bug in overall monotonicity found in PCHMC. Finally, it reverses the data and repeats all tests.

ROUTINES CALLED
PCHCM

REVISION HISTORY (YYMMDD)
890208 DATE WRITTEN
890306 Changed LOUT to LUN and added it to call list. (FNF)
890316 Removed DATA statements to suit new quick check standards.
890410 Changed PCHMC to PCHCM.
890410 Added a SLATEC 4.0 format prologue.
900314 Changed name from PCHQK3 to PCHQK4 and improved some output formats.
900315 Revised prologue and improved some output formats. (FNF)
900321 Removed IFAIL from call sequence for SLATEC standards and made miscellaneous cosmetic changes. (FNF)
900322 Added declarations so all variables are declared. (FNF)
910708 Minor modifications in use of KPRINT. (WRB)
930317 Improved output formats. (FNF)