1 /* ========================================================================= */
2 /* === AMD_control ========================================================= */
3 /* ========================================================================= */
5 /* ------------------------------------------------------------------------- */
6 /* AMD, Copyright (c) Timothy A. Davis, */
7 /* Patrick R. Amestoy, and Iain S. Duff. See ../README.txt for License. */
8 /* email: davis at cise.ufl.edu CISE Department, Univ. of Florida. */
9 /* web: http://www.cise.ufl.edu/research/sparse/amd */
10 /* ------------------------------------------------------------------------- */
12 /* User-callable. Prints the control parameters for AMD. See amd.h
13 * for details. If the Control array is not present, the defaults are
17 #include "amd_internal.h"
19 GLOBAL void AMD_control
27 if (Control != (double *) NULL)
29 alpha = Control [AMD_DENSE] ;
30 aggressive = Control [AMD_AGGRESSIVE] != 0 ;
34 alpha = AMD_DEFAULT_DENSE ;
35 aggressive = AMD_DEFAULT_AGGRESSIVE ;
38 PRINTF (("\nAMD version %d.%d.%d, %s: approximate minimum degree ordering\n"
39 " dense row parameter: %g\n", AMD_MAIN_VERSION, AMD_SUB_VERSION,
40 AMD_SUBSUB_VERSION, AMD_DATE, alpha)) ;
44 PRINTF ((" no rows treated as dense\n")) ;
49 " (rows with more than max (%g * sqrt (n), 16) entries are\n"
50 " considered \"dense\", and placed last in output permutation)\n",
56 PRINTF ((" aggressive absorption: yes\n")) ;
60 PRINTF ((" aggressive absorption: no\n")) ;
63 PRINTF ((" size of AMD integer: %d\n\n", sizeof (Int))) ;