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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2484 - (hide 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 ksteube 1312
2     /*******************************************************
3 ksteube 1811 *
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 dhawcroft 631
14 ksteube 1811
15 jgs 150 /**************************************************************/
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 bcumming 790
31 jgs 150 /**************************************************************/
32    
33     enum Paso_ErrorCodeType {
34     NO_ERROR,
35     WARNING,
36 gross 2484 DIVERGED,
37 jgs 150 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 bcumming 730 SYSTEM_ERROR,
48     PASO_MPI_ERROR
49 jgs 150 };
50    
51     typedef enum Paso_ErrorCodeType Paso_ErrorCodeType;
52    
53     /* interfaces */
54    
55 phornby 2068
56     PASO_DLL_API
57 jgs 150 double Paso_timer(void);
58 phornby 2068
59     PASO_DLL_API
60 jgs 150 bool_t Paso_checkPtr(void*);
61 phornby 2068
62     PASO_DLL_API
63 jgs 150 void Paso_resetError(void);
64 phornby 2068
65     PASO_DLL_API
66 jfenwick 2025 void Paso_setError(Paso_ErrorCodeType err,__const char* msg);
67 phornby 2068
68     PASO_DLL_API
69 jgs 150 bool_t Paso_noError(void);
70 phornby 2068
71     PASO_DLL_API
72 jgs 150 Paso_ErrorCodeType Paso_getErrorType(void);
73 phornby 2068
74 phornby 2071 PASO_DLL_API
75     char* Paso_getErrorMessage(void);
76 phornby 2068
77 gross 1564 #ifndef _OPENMP
78     int omp_get_max_threads(void);
79     #endif
80 jgs 150
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