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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 776 - (show annotations)
Wed Jul 12 00:07:31 2006 UTC (13 years, 3 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 /*
2 ************************************************************
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 */
12
13
14 #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 #include "paso/Paso.h"
28
29 /**************************************************************/
30 /*#define Finley_TRACE */
31 #define FINLEY_UNKNOWN -1
32 #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 /* 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
47 /* status stuff */
48 typedef int Finley_Status_t;
49 #define Finley_increaseStatus(self) ((self)->status)++
50 #define FINLEY_INITIAL_STATUS 0
51
52 #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 /* error codes */
61
62
63 typedef Paso_ErrorCodeType Finley_ErrorCodeType;
64
65 /* interfaces */
66
67 double Finley_timer(void);
68 bool_t Finley_checkPtr(void*);
69 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
76 #ifdef PASO_MPI
77 bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );
78 #endif
79
80 #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