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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 782 - (show annotations)
Tue Jul 18 00:47:47 2006 UTC (12 years, 11 months ago) by bcumming
File MIME type: text/plain
File size: 2505 byte(s)
Large number of changes to Finley for meshing in MPI.

- optimisation and neatening up of rectcanglular mesh generation code
- first and second order 1D, 2D and 3D rectangular meshes are now
  available in finley and escript using MPI.
- reduced meshes now generated in MPI, and interpolation to and from 
  reduced data types now supported.  

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26