Amesos Package Browser (Single Doxygen Collection)
Development
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
SuiteSparse
CAMD
Source
amesos_camd_defaults.c
Go to the documentation of this file.
1
/* ========================================================================= */
2
/* === CAMD_defaults ======================================================= */
3
/* ========================================================================= */
4
5
/* ------------------------------------------------------------------------- */
6
/* CAMD, Copyright (c) Timothy A. Davis, Yanqing Chen, */
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/camd */
10
/* ------------------------------------------------------------------------- */
11
12
/* User-callable. Sets default control parameters for CAMD. See camd.h
13
* for details.
14
*/
15
16
#include "
amesos_camd_internal.h
"
17
18
/* ========================================================================= */
19
/* === CAMD defaults ======================================================= */
20
/* ========================================================================= */
21
22
GLOBAL
void
CAMD_defaults
23
(
24
double
Control [ ]
25
)
26
{
27
Int
i ;
28
if
(Control != (
double
*)
NULL
)
29
{
30
for
(i = 0 ; i <
CAMD_CONTROL
; i++)
31
{
32
Control [i] = 0 ;
33
}
34
Control [
CAMD_DENSE
] =
CAMD_DEFAULT_DENSE
;
35
Control [
CAMD_AGGRESSIVE
] =
CAMD_DEFAULT_AGGRESSIVE
;
36
}
37
}
CAMD_DENSE
#define CAMD_DENSE
Definition:
amesos_camd.h:355
GLOBAL
#define GLOBAL
Definition:
amesos_amd_internal.h:143
Int
#define Int
Definition:
amesos_amd_internal.h:190
CAMD_AGGRESSIVE
#define CAMD_AGGRESSIVE
Definition:
amesos_camd.h:356
NULL
#define NULL
Definition:
amesos_amd_internal.h:153
amesos_camd_internal.h
CAMD_defaults
GLOBAL void CAMD_defaults(double Control[])
Definition:
amesos_camd_defaults.c:23
CAMD_CONTROL
#define CAMD_CONTROL
Definition:
amesos_camd.h:351
CAMD_DEFAULT_AGGRESSIVE
#define CAMD_DEFAULT_AGGRESSIVE
Definition:
amesos_camd.h:360
CAMD_DEFAULT_DENSE
#define CAMD_DEFAULT_DENSE
Definition:
amesos_camd.h:359
Generated on Wed Jan 11 2017 09:45:18 for Amesos Package Browser (Single Doxygen Collection) by
1.8.6