1
/* ========================================================================== */
2
/* === UMFPACK_free_symbolic ================================================ */
3
/* ========================================================================== */
5
/* -------------------------------------------------------------------------- */
6
/* UMFPACK Version 4.1 (Apr. 30, 2003), Copyright (c) 2003 by Timothy A. */
7
/* Davis. All Rights Reserved. See ../README for License. */
8
/* email: davis@cise.ufl.edu CISE Department, Univ. of Florida. */
9
/* web: http://www.cise.ufl.edu/research/sparse/umfpack */
10
/* -------------------------------------------------------------------------- */
13
User-callable. See umfpack_free_symbolic.h for details.
14
All 10 objects comprising the Symbolic object are free'd via UMF_free.
17
#include "umf_internal.h"
20
GLOBAL void UMFPACK_free_symbolic
26
SymbolicType *Symbolic ;
31
Symbolic = *((SymbolicType **) SymbolicHandle) ;
37
(void) UMF_free ((void *) Symbolic->Cperm_init) ;
38
(void) UMF_free ((void *) Symbolic->Rperm_init) ;
39
(void) UMF_free ((void *) Symbolic->Front_npivcol) ;
40
(void) UMF_free ((void *) Symbolic->Front_parent) ;
41
(void) UMF_free ((void *) Symbolic->Front_1strow) ;
42
(void) UMF_free ((void *) Symbolic->Front_leftmostdesc) ;
43
(void) UMF_free ((void *) Symbolic->Chain_start) ;
44
(void) UMF_free ((void *) Symbolic->Chain_maxrows) ;
45
(void) UMF_free ((void *) Symbolic->Chain_maxcols) ;
46
(void) UMF_free ((void *) Symbolic->Cdeg) ;
47
(void) UMF_free ((void *) Symbolic->Rdeg) ;
49
/* only when dense rows are present */
50
(void) UMF_free ((void *) Symbolic->Esize) ;
52
/* only when diagonal pivoting is prefered */
53
(void) UMF_free ((void *) Symbolic->Diagonal_map) ;
55
(void) UMF_free ((void *) Symbolic) ;
56
*SymbolicHandle = (void *) NULL ;