/[escript]/trunk/esys2/finley/src/finleyC/Finley.h
ViewVC logotype

Annotation of /trunk/esys2/finley/src/finleyC/Finley.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (hide annotations)
Tue Oct 26 06:53:54 2004 UTC (15 years, 1 month ago) by jgs
File MIME type: text/plain
File size: 1557 byte(s)
Initial revision

1 jgs 82 /* $Id$ */
2    
3     #ifndef INC_FINLEY
4     #define INC_FINLEY
5    
6     /**************************************************************/
7    
8     /* Finley finite element solver */
9    
10     /**************************************************************/
11    
12     /* Copyrights by ACcESS Australia, 2003 */
13     /* Version: $Id$ */
14    
15     /**************************************************************/
16    
17     #include "Common.h"
18    
19     /**************************************************************/
20    
21     /* Atom types: */
22     #define FINLEY_DEGREES_OF_FREEDOM 1
23     #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
24     #define FINLEY_NODES 3
25     #define FINLEY_ELEMENTS 4
26     #define FINLEY_FACE_ELEMENTS 5
27     #define FINLEY_POINTS 6
28     #define FINLEY_CONTACT_ELEMENTS_1 7
29     #define FINLEY_CONTACT_ELEMENTS_2 8
30    
31    
32    
33     /* error codes */
34    
35     enum Finley_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     /* interfaces */
52    
53     extern enum Finley_ErrorCodeType Finley_ErrorCode;
54     extern char Finley_ErrorMsg[LenErrorMsg_MAX];
55    
56    
57     double Finley_timer(void);
58     int Finley_checkPtr(void*);
59    
60     #endif /* #ifndef INC_FINLEY */
61    
62     /*
63     * $Log$
64     * Revision 1.1 2004/10/26 06:53:57 jgs
65     * Initial revision
66     *
67     * Revision 1.3 2004/07/02 04:21:13 gross
68     * Finley C code has been included
69     *
70     * Revision 1.2 2004/06/29 01:59:31 johng
71     * ??
72     *
73     * Revision 1.1.1.1 2004/06/24 04:00:40 johng
74     * Initial version of eys using boost-python.
75     *
76     *
77     */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26