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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2484 - (show annotations)
Mon Jun 22 04:22:19 2009 UTC (9 years, 9 months ago) by gross
File MIME type: text/plain
File size: 1618 byte(s)
numarray removed from docu; Locator revised.
1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
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
31 /**************************************************************/
32
33 enum Paso_ErrorCodeType {
34 NO_ERROR,
35 WARNING,
36 DIVERGED,
37 VALUE_ERROR,
38 TYPE_ERROR,
39 MEMORY_ERROR,
40 IO_ERROR,
41 ZERO_DIVISION_ERROR,
42 EOF_ERROR,
43 FLOATING_POINT_ERROR,
44 INDEX_ERROR,
45 OS_ERROR,
46 OVERFLOW_ERROR,
47 SYSTEM_ERROR,
48 PASO_MPI_ERROR
49 };
50
51 typedef enum Paso_ErrorCodeType Paso_ErrorCodeType;
52
53 /* interfaces */
54
55
56 PASO_DLL_API
57 double Paso_timer(void);
58
59 PASO_DLL_API
60 bool_t Paso_checkPtr(void*);
61
62 PASO_DLL_API
63 void Paso_resetError(void);
64
65 PASO_DLL_API
66 void Paso_setError(Paso_ErrorCodeType err,__const char* msg);
67
68 PASO_DLL_API
69 bool_t Paso_noError(void);
70
71 PASO_DLL_API
72 Paso_ErrorCodeType Paso_getErrorType(void);
73
74 PASO_DLL_API
75 char* Paso_getErrorMessage(void);
76
77 #ifndef _OPENMP
78 int omp_get_max_threads(void);
79 #endif
80
81 #endif /* #ifndef INC_PASO */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26