/[escript]/trunk/paso/src/Paso.h
ViewVC logotype

Annotation of /trunk/paso/src/Paso.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Thu Sep 15 03:44:45 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/esys2/paso/src/Paso.h
File MIME type: text/plain
File size: 1720 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

1 jgs 150 /* $Id$ */
2    
3     /**************************************************************/
4    
5     /* Paso finite element solver */
6    
7     /**************************************************************/
8    
9     /* Copyrights by ACcESS Australia, 2003,2004,2005 */
10     /* Author: gross@access.edu.au */
11    
12     /**************************************************************/
13    
14     #ifndef INC_PASO
15     #define INC_PASO
16    
17     #include "Common.h"
18     #include "Options.h"
19     #include "SystemMatrix.h"
20    
21     /**************************************************************/
22    
23     enum Paso_ErrorCodeType {
24     NO_ERROR,
25     WARNING,
26     VALUE_ERROR,
27     TYPE_ERROR,
28     MEMORY_ERROR,
29     IO_ERROR,
30     ZERO_DIVISION_ERROR,
31     EOF_ERROR,
32     FLOATING_POINT_ERROR,
33     INDEX_ERROR,
34     OS_ERROR,
35     OVERFLOW_ERROR,
36     SYSTEM_ERROR
37     };
38    
39     typedef enum Paso_ErrorCodeType Paso_ErrorCodeType;
40    
41     /* interfaces */
42    
43     double Paso_timer(void);
44     bool_t Paso_checkPtr(void*);
45     void Paso_resetError(void);
46     void Paso_setError(Paso_ErrorCodeType err,char* msg);
47     bool_t Paso_noError(void);
48     Paso_ErrorCodeType Paso_getErrorType(void);
49     char* Paso_getErrorMessage(void);
50     void Paso_solve(Paso_SystemMatrix* A, double* out, double* in, Paso_Options* options);
51     void Paso_solve_free(Paso_SystemMatrix* in);
52    
53     #endif /* #ifndef INC_PASO */
54    
55     /*
56     * $Log$
57     * Revision 1.2 2005/09/15 03:44:38 jgs
58     * Merge of development branch dev-02 back to main trunk on 2005-09-15
59     *
60     * Revision 1.1.2.2 2005/09/07 00:59:08 gross
61     * some inconsistent renaming fixed to make the linking work.
62     *
63     * Revision 1.1.2.1 2005/09/05 06:29:47 gross
64     * These files have been extracted from finley to define a stand alone libray for iterative
65     * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
66     * has not been tested yet.
67     *
68     *
69     */

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26