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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 776 - (hide annotations)
Wed Jul 12 00:07:31 2006 UTC (13 years, 4 months ago) by gross
File MIME type: text/plain
File size: 2303 byte(s)
basic code for persistence of jacobeans added. routines are not called yet
1 jgs 150 /*
2 elspeth 626 ************************************************************
3     * Copyright 2006 by ACcESS MNRF *
4     * *
5     * http://www.access.edu.au *
6     * Primary Business: Queensland, Australia *
7     * Licensed under the Open Software License version 3.0 *
8     * http://www.opensource.org/licenses/osl-3.0.php *
9     * *
10     ************************************************************
11 jgs 150 */
12 jgs 82
13 jgs 150
14 jgs 82 #ifndef INC_FINLEY
15     #define INC_FINLEY
16    
17     /**************************************************************/
18    
19     /* Finley finite element solver */
20    
21     /**************************************************************/
22    
23     /* Version: $Id$ */
24    
25     /**************************************************************/
26    
27 robwdcock 682 #include "paso/Paso.h"
28 jgs 82
29     /**************************************************************/
30 bcumming 751 /*#define Finley_TRACE */
31 jgs 153 #define FINLEY_UNKNOWN -1
32 jgs 82 #define FINLEY_DEGREES_OF_FREEDOM 1
33     #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
34     #define FINLEY_NODES 3
35     #define FINLEY_ELEMENTS 4
36     #define FINLEY_FACE_ELEMENTS 5
37     #define FINLEY_POINTS 6
38     #define FINLEY_CONTACT_ELEMENTS_1 7
39     #define FINLEY_CONTACT_ELEMENTS_2 8
40 gross 776 /* these are not used yet */
41     #define FINLEY_REDUCED_NODES 9
42     #define FINLEY_REDUCED_ELEMENTS 10
43     #define FINLEY_REDUCED_FACE_ELEMENTS 11
44     #define FINLEY_REDUCED_CONTACT_ELEMENTS_1 12
45     #define FINLEY_REDUCED_CONTACT_ELEMENTS_2 13
46 jgs 82
47 gross 776 /* status stuff */
48     typedef int Finley_Status_t;
49     #define Finley_increaseStatus(self) ((self)->status)++
50     #define FINLEY_INITIAL_STATUS 0
51    
52 bcumming 751 #ifdef PASO_MPI
53     #define FINLEY_INIT_ITEMSIZE (sizeof(double)*8)
54     #define FINLEY_NODE_TAG 0;
55     #define FINLEY_ELEMENT_TAG 10000;
56     extern int __g_nodeTag;
57     extern int __g_elementTag;
58     #endif
59    
60 jgs 82 /* error codes */
61    
62    
63 jgs 150 typedef Paso_ErrorCodeType Finley_ErrorCodeType;
64    
65 jgs 82 /* interfaces */
66    
67     double Finley_timer(void);
68 jgs 123 bool_t Finley_checkPtr(void*);
69 jgs 150 void Finley_resetError(void);
70     void Finley_setError(Finley_ErrorCodeType err,char* msg);
71     bool_t Finley_noError(void);
72     Finley_ErrorCodeType Finley_getErrorType(void);
73     char* Finley_getErrorMessage(void);
74     void Finley_convertPasoError(void);
75 jgs 82
76 bcumming 730 #ifdef PASO_MPI
77     bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );
78     #endif
79    
80 jgs 82 #endif /* #ifndef INC_FINLEY */
81    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26