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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 631 - (show annotations)
Thu Mar 23 04:27:32 2006 UTC (14 years, 2 months ago) by dhawcroft
File MIME type: text/plain
File size: 2366 byte(s)
Prepended all paso source files with new Copyright notice
1 /* $Id$ */
2
3
4 /*
5 ********************************************************************************
6 * Copyright © 2006 by ACcESS MNRF *
7 * *
8 * http://www.access.edu.au *
9 * Primary Business: Queensland, Australia *
10 * Licensed under the Open Software License version 3.0 *
11 * http://www.opensource.org/licenses/osl-3.0.php *
12 ********************************************************************************
13 */
14
15 /**************************************************************/
16
17 /* Paso finite element solver */
18
19 /**************************************************************/
20
21 /* Copyrights by ACcESS Australia, 2003,2004,2005 */
22 /* Author: gross@access.edu.au */
23
24 /**************************************************************/
25
26 #ifndef INC_PASO
27 #define INC_PASO
28
29 #include "Common.h"
30 #include "Options.h"
31 #include "SystemMatrix.h"
32
33 /**************************************************************/
34
35 enum Paso_ErrorCodeType {
36 NO_ERROR,
37 WARNING,
38 VALUE_ERROR,
39 TYPE_ERROR,
40 MEMORY_ERROR,
41 IO_ERROR,
42 ZERO_DIVISION_ERROR,
43 EOF_ERROR,
44 FLOATING_POINT_ERROR,
45 INDEX_ERROR,
46 OS_ERROR,
47 OVERFLOW_ERROR,
48 SYSTEM_ERROR
49 };
50
51 typedef enum Paso_ErrorCodeType Paso_ErrorCodeType;
52
53 /* interfaces */
54
55 double Paso_timer(void);
56 bool_t Paso_checkPtr(void*);
57 void Paso_resetError(void);
58 void Paso_setError(Paso_ErrorCodeType err,char* msg);
59 bool_t Paso_noError(void);
60 Paso_ErrorCodeType Paso_getErrorType(void);
61 char* Paso_getErrorMessage(void);
62 void Paso_solve(Paso_SystemMatrix* A, double* out, double* in, Paso_Options* options);
63 void Paso_solve_free(Paso_SystemMatrix* in);
64
65 #endif /* #ifndef INC_PASO */
66
67 /*
68 * $Log$
69 * Revision 1.2 2005/09/15 03:44:38 jgs
70 * Merge of development branch dev-02 back to main trunk on 2005-09-15
71 *
72 * Revision 1.1.2.2 2005/09/07 00:59:08 gross
73 * some inconsistent renaming fixed to make the linking work.
74 *
75 * Revision 1.1.2.1 2005/09/05 06:29:47 gross
76 * These files have been extracted from finley to define a stand alone libray for iterative
77 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
78 * has not been tested yet.
79 *
80 *
81 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26