Amesos Package Browser (Single Doxygen Collection)
Development
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
Common
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
Definition:
amesos_paraklete_decl.h:72
start
int CHOLMOD() start(cholmod_common *Common)
Definition:
amesos_cholmod_common.c:56
PK_DEBUG_INIT
#define PK_DEBUG_INIT(s, Common)
Definition:
amesos_cholmod_internal.h:378
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
cholmod_common_struct::precise
int precise
Definition:
amesos_cholmod_core.h:527
Generated by
1.8.14