00001 /* ========================================================================== */ 00002 /* === umfpack_report_numeric =============================================== */ 00003 /* ========================================================================== */ 00004 00005 /* -------------------------------------------------------------------------- */ 00006 /* UMFPACK Version 4.3 (Jan. 16, 2004), Copyright (c) 2004 by Timothy A. */ 00007 /* Davis. All Rights Reserved. See ../README for License. */ 00008 /* email: davis@cise.ufl.edu CISE Department, Univ. of Florida. */ 00009 /* web: http://www.cise.ufl.edu/research/sparse/umfpack */ 00010 /* -------------------------------------------------------------------------- */ 00011 00012 int umfpack_di_report_numeric 00013 ( 00014 void *Numeric, 00015 const double Control [UMFPACK_CONTROL] 00016 ) ; 00017 00018 long umfpack_dl_report_numeric 00019 ( 00020 void *Numeric, 00021 const double Control [UMFPACK_CONTROL] 00022 ) ; 00023 00024 int umfpack_zi_report_numeric 00025 ( 00026 void *Numeric, 00027 const double Control [UMFPACK_CONTROL] 00028 ) ; 00029 00030 long umfpack_zl_report_numeric 00031 ( 00032 void *Numeric, 00033 const double Control [UMFPACK_CONTROL] 00034 ) ; 00035 00036 /* 00037 double int Syntax: 00038 00039 #include "umfpack.h" 00040 void *Numeric ; 00041 double Control [UMFPACK_CONTROL] ; 00042 int status ; 00043 status = umfpack_di_report_numeric (Numeric, Control) ; 00044 00045 double long Syntax: 00046 00047 #include "umfpack.h" 00048 void *Numeric ; 00049 double Control [UMFPACK_CONTROL] ; 00050 long status ; 00051 status = umfpack_dl_report_numeric (Numeric, Control) ; 00052 00053 complex int Syntax: 00054 00055 #include "umfpack.h" 00056 void *Numeric ; 00057 double Control [UMFPACK_CONTROL] ; 00058 int status ; 00059 status = umfpack_zi_report_numeric (Numeric, Control) ; 00060 00061 complex long Syntax: 00062 00063 #include "umfpack.h" 00064 void *Numeric ; 00065 double Control [UMFPACK_CONTROL] ; 00066 long status ; 00067 status = umfpack_zl_report_numeric (Numeric, Control) ; 00068 00069 Purpose: 00070 00071 Verifies and prints a Numeric object (the LU factorization, both its pattern 00072 numerical values, and permutation vectors P and Q). This routine checks the 00073 object more carefully than the computational routines. Normally, this check 00074 is not required, since umfpack_*_numeric either returns (void *) NULL, or a 00075 valid Numeric object. However, if you suspect that your own code has 00076 corrupted the Numeric object (by overruning memory bounds, for example), 00077 then this routine might be able to detect a corrupted Numeric object. Since 00078 this is a complex object, not all such user-generated errors are guaranteed 00079 to be caught by this routine. 00080 00081 Returns: 00082 00083 UMFPACK_OK if Control [UMFPACK_PRL] <= 2 (the input is not checked). 00084 00085 Otherwise: 00086 00087 UMFPACK_OK if the Numeric object is valid. 00088 UMFPACK_ERROR_invalid_Numeric_object if the Numeric object is invalid. 00089 UMFPACK_ERROR_out_of_memory if out of memory. 00090 00091 Arguments: 00092 00093 void *Numeric ; Input argument, not modified. 00094 00095 The Numeric object, which holds the numeric factorization computed by 00096 umfpack_*_numeric. 00097 00098 double Control [UMFPACK_CONTROL] ; Input argument, not modified. 00099 00100 If a (double *) NULL pointer is passed, then the default control 00101 settings are used. Otherwise, the settings are determined from the 00102 Control array. See umfpack_*_defaults on how to fill the Control 00103 array with the default settings. If Control contains NaN's, the 00104 defaults are used. The following Control parameters are used: 00105 00106 Control [UMFPACK_PRL]: printing level. 00107 00108 2 or less: no output. returns silently without checking anything. 00109 3: fully check input, and print a short summary of its status 00110 4: as 3, but print first few entries of the input 00111 5: as 3, but print all of the input 00112 Default: 1 00113 */