38 #ifndef KLU2_DEFAULTS_HPP
39 #define KLU2_DEFAULTS_HPP
41 #include "klu2_internal.h"
43 template <
typename Entry,
typename Int>
46 KLU_common<Entry, Int> *Common
56 Common->memgrow = 1.2;
57 Common->initmem_amd = 1.2 ;
58 Common->initmem = 10 ;
61 Common->ordering = 0 ;
67 Common->halt_if_singular = TRUE ;
70 Common->malloc_memory = malloc ;
71 Common->calloc_memory = calloc ;
72 Common->free_memory = free ;
73 Common->realloc_memory = realloc ;
76 Common->user_order = NULL ;
77 Common->user_data = NULL ;
80 Common->status = KLU_OK ;
81 Common->nrealloc = 0 ;
82 Common->structural_rank = EMPTY ;
83 Common->numerical_rank = EMPTY ;
84 Common->noffdiag = EMPTY ;
85 Common->flops = EMPTY ;
86 Common->rcond = EMPTY ;
87 Common->condest = EMPTY ;
88 Common->rgrowth = EMPTY ;
91 Common->memusage = 0 ;