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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 730 - (show annotations)
Mon May 15 04:03:49 2006 UTC (13 years, 6 months ago) by bcumming
File MIME type: text/plain
File size: 2450 byte(s)


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 //#define PASO_MPI
30
31 #include "Common.h"
32 #include "Options.h"
33 #include "SystemMatrix.h"
34 #ifdef PASO_MPI
35 #include "Paso_MPI.h"
36 #endif
37
38 /**************************************************************/
39
40 enum Paso_ErrorCodeType {
41 NO_ERROR,
42 WARNING,
43 VALUE_ERROR,
44 TYPE_ERROR,
45 MEMORY_ERROR,
46 IO_ERROR,
47 ZERO_DIVISION_ERROR,
48 EOF_ERROR,
49 FLOATING_POINT_ERROR,
50 INDEX_ERROR,
51 OS_ERROR,
52 OVERFLOW_ERROR,
53 SYSTEM_ERROR,
54 PASO_MPI_ERROR
55 };
56
57 typedef enum Paso_ErrorCodeType Paso_ErrorCodeType;
58
59 /* interfaces */
60
61 double Paso_timer(void);
62 bool_t Paso_checkPtr(void*);
63 void Paso_resetError(void);
64 void Paso_setError(Paso_ErrorCodeType err,char* msg);
65 bool_t Paso_noError(void);
66 Paso_ErrorCodeType Paso_getErrorType(void);
67 char* Paso_getErrorMessage(void);
68 void Paso_solve(Paso_SystemMatrix* A, double* out, double* in, Paso_Options* options);
69 void Paso_solve_free(Paso_SystemMatrix* in);
70
71 #endif /* #ifndef INC_PASO */
72
73 /*
74 * $Log$
75 * Revision 1.2 2005/09/15 03:44:38 jgs
76 * Merge of development branch dev-02 back to main trunk on 2005-09-15
77 *
78 * Revision 1.1.2.2 2005/09/07 00:59:08 gross
79 * some inconsistent renaming fixed to make the linking work.
80 *
81 * Revision 1.1.2.1 2005/09/05 06:29:47 gross
82 * These files have been extracted from finley to define a stand alone libray for iterative
83 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
84 * has not been tested yet.
85 *
86 *
87 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26