14 #ifndef KLU2_DEFAULTS_HPP
15 #define KLU2_DEFAULTS_HPP
17 #include "klu2_internal.h"
19 template <
typename Entry,
typename Int>
22 KLU_common<Entry, Int> *Common
32 Common->memgrow = 1.2;
33 Common->initmem_amd = 1.2 ;
34 Common->initmem = 10 ;
37 Common->ordering = 0 ;
43 Common->halt_if_singular = TRUE ;
46 Common->malloc_memory = malloc ;
47 Common->calloc_memory = calloc ;
48 Common->free_memory = free ;
49 Common->realloc_memory = realloc ;
52 Common->user_order = NULL ;
53 Common->user_data = NULL ;
56 Common->status = KLU_OK ;
57 Common->nrealloc = 0 ;
58 Common->structural_rank = AMESOS2_KLU2_EMPTY ;
59 Common->numerical_rank = AMESOS2_KLU2_EMPTY ;
60 Common->noffdiag = AMESOS2_KLU2_EMPTY ;
61 Common->flops = AMESOS2_KLU2_EMPTY ;
62 Common->rcond = AMESOS2_KLU2_EMPTY ;
63 Common->condest = AMESOS2_KLU2_EMPTY ;
64 Common->rgrowth = AMESOS2_KLU2_EMPTY ;
67 Common->memusage = 0 ;