5164
|
1 /* ========================================================================== */ |
|
2 /* === umfpack_load_symbolic ================================================ */ |
|
3 /* ========================================================================== */ |
|
4 |
|
5 /* -------------------------------------------------------------------------- */ |
|
6 /* UMFPACK Version 4.4, Copyright (c) 2005 by Timothy A. Davis. CISE Dept, */ |
|
7 /* Univ. of Florida. All Rights Reserved. See ../Doc/License for License. */ |
|
8 /* web: http://www.cise.ufl.edu/research/sparse/umfpack */ |
|
9 /* -------------------------------------------------------------------------- */ |
|
10 |
|
11 int umfpack_di_load_symbolic |
|
12 ( |
|
13 void **Symbolic, |
|
14 char *filename |
|
15 ) ; |
|
16 |
|
17 long umfpack_dl_load_symbolic |
|
18 ( |
|
19 void **Symbolic, |
|
20 char *filename |
|
21 ) ; |
|
22 |
|
23 int umfpack_zi_load_symbolic |
|
24 ( |
|
25 void **Symbolic, |
|
26 char *filename |
|
27 ) ; |
|
28 |
|
29 long umfpack_zl_load_symbolic |
|
30 ( |
|
31 void **Symbolic, |
|
32 char *filename |
|
33 ) ; |
|
34 |
|
35 /* |
|
36 double int Syntax: |
|
37 |
|
38 #include "umfpack.h" |
|
39 int status ; |
|
40 char *filename ; |
|
41 void *Symbolic ; |
|
42 status = umfpack_di_load_symbolic (&Symbolic, filename) ; |
|
43 |
|
44 double long Syntax: |
|
45 |
|
46 #include "umfpack.h" |
|
47 long status ; |
|
48 char *filename ; |
|
49 void *Symbolic ; |
|
50 status = umfpack_dl_load_symbolic (&Symbolic, filename) ; |
|
51 |
|
52 complex int Syntax: |
|
53 |
|
54 #include "umfpack.h" |
|
55 int status ; |
|
56 char *filename ; |
|
57 void *Symbolic ; |
|
58 status = umfpack_zi_load_symbolic (&Symbolic, filename) ; |
|
59 |
|
60 complex long Syntax: |
|
61 |
|
62 #include "umfpack.h" |
|
63 long status ; |
|
64 char *filename ; |
|
65 void *Symbolic ; |
|
66 status = umfpack_zl_load_symbolic (&Symbolic, filename) ; |
|
67 |
|
68 Purpose: |
|
69 |
|
70 Loads a Symbolic object from a file created by umfpack_*_save_symbolic. The |
|
71 Symbolic handle passed to this routine is overwritten with the new object. |
|
72 If that object exists prior to calling this routine, a memory leak will |
|
73 occur. The contents of Symbolic are ignored on input. |
|
74 |
|
75 Returns: |
|
76 |
|
77 UMFPACK_OK if successful. |
|
78 UMFPACK_ERROR_out_of_memory if not enough memory is available. |
|
79 UMFPACK_ERROR_file_IO if an I/O error occurred. |
|
80 |
|
81 Arguments: |
|
82 |
|
83 void **Symbolic ; Output argument. |
|
84 |
|
85 **Symbolic is the address of a (void *) pointer variable in the user's |
|
86 calling routine (see Syntax, above). On input, the contents of this |
|
87 variable are not defined. On output, this variable holds a (void *) |
|
88 pointer to the Symbolic object (if successful), or (void *) NULL if |
|
89 a failure occurred. |
|
90 |
|
91 char *filename ; Input argument, not modified. |
|
92 |
|
93 A string that contains the filename from which to read the Symbolic |
|
94 object. |
|
95 */ |