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
PARAKLETE
Source
amesos_paraklete_start.c
Go to the documentation of this file.
1
/* ========================================================================== */
2
/* === paraklete_start ====================================================== */
3
/* ========================================================================== */
4
5
#include "
amesos_paraklete_decl.h
"
6
7
/* paraklete_start (nproc, myid, Common) must be called by all processes prior
8
* to using any PARAKLETE or CHOLMOD functions.
9
*
10
* Normally, the nproc and myid inputs to this function are from here:
11
*
12
* MPI_Comm_size (MPI_COMM_WORLD, &nproc) ;
13
* MPI_Comm_rank (MPI_COMM_WORLD, &myid) ;
14
*
15
* PARAKLETE version 0.3: parallel sparse LU factorization. Nov 13, 2007
16
* Copyright (C) 2007, Univ. of Florida. Author: Timothy A. Davis
17
* See License.txt for the Version 2.1 of the GNU Lesser General Public License
18
* http://www.cise.ufl.edu/research/sparse
19
*/
20
21
void
amesos_paraklete_start
(
Int
nproc,
Int
myid,
paraklete_common
*Common)
22
{
23
cholmod_common
*cm ;
24
cm = &(Common->
cm
) ;
25
CHOLMOD
(
start
) (cm) ;
26
PK_DEBUG_INIT
(
"pk"
, cm) ;
27
Common->
nproc
= nproc ;
28
Common->
nleaves
= 32 ;
29
Common->
myid
= myid ;
30
Common->
file
=
NULL
;
31
cm->
print
= 1 ;
32
cm->
precise
=
TRUE
;
33
Common->
tol_diag
= 0.01 ;
34
Common->
tol_offdiag
= 1.0 ;
35
Common->
growth
= 2. ;
36
Common->
dump
= 0 ;
37
KLU_defaults
(&(Common->
km
)) ;
38
Common->
km
.btf = 0 ;
39
}
40
cholmod_common_struct
Definition:
amesos_cholmod_core.h:393
paraklete_common_struct::km
KLU_common km
Definition:
amesos_paraklete_decl.h:102
Int
#define Int
Definition:
amesos_amd_internal.h:190
amesos_paraklete_decl.h
KLU_defaults
#define KLU_defaults
Definition:
amesos_klu_version.h:173
CHOLMOD
#define CHOLMOD(name)
Definition:
amesos_cholmod_internal.h:272
NULL
#define NULL
Definition:
amesos_amd_internal.h:153
paraklete_common_struct::cm
cholmod_common cm
Definition:
amesos_paraklete_decl.h:100
paraklete_common_struct::tol_offdiag
double tol_offdiag
Definition:
amesos_paraklete_decl.h:76
paraklete_common_struct::nproc
Int nproc
Definition:
amesos_paraklete_decl.h:89
paraklete_common_struct
Definition:
amesos_paraklete_decl.h:72
start
int CHOLMOD() start(cholmod_common *Common)
Definition:
amesos_cholmod_common.c:56
paraklete_common_struct::dump
Int dump
Definition:
amesos_paraklete_decl.h:97
PK_DEBUG_INIT
#define PK_DEBUG_INIT(s, Common)
Definition:
amesos_cholmod_internal.h:378
paraklete_common_struct::nleaves
Int nleaves
Definition:
amesos_paraklete_decl.h:92
paraklete_common_struct::file
FILE * file
Definition:
amesos_paraklete_decl.h:98
paraklete_common_struct::growth
double growth
Definition:
amesos_paraklete_decl.h:78
paraklete_common_struct::tol_diag
double tol_diag
Definition:
amesos_paraklete_decl.h:74
amesos_paraklete_start
void amesos_paraklete_start(Int nproc, Int myid, paraklete_common *Common)
Definition:
amesos_paraklete_start.c:21
cholmod_common_struct::print
int print
Definition:
amesos_cholmod_core.h:526
TRUE
#define TRUE
Definition:
amesos_amd_internal.h:140
paraklete_common_struct::myid
Int myid
Definition:
amesos_paraklete_decl.h:90
cholmod_common_struct::precise
int precise
Definition:
amesos_cholmod_core.h:527
Generated on Wed Jan 11 2017 09:45:19 for Amesos Package Browser (Single Doxygen Collection) by
1.8.6