1 |
jgs |
150 |
/* |
2 |
|
|
****************************************************************************** |
3 |
|
|
* * |
4 |
|
|
* COPYRIGHT ACcESS 2003,2004,2005 - All Rights Reserved * |
5 |
|
|
* * |
6 |
|
|
* This software is the property of ACcESS. No part of this code * |
7 |
|
|
* may be copied in any form or by any means without the expressed written * |
8 |
|
|
* consent of ACcESS. Copying, use or modification of this software * |
9 |
|
|
* by any unauthorised person is illegal unless that person has a software * |
10 |
|
|
* license agreement with ACcESS. * |
11 |
|
|
* * |
12 |
|
|
****************************************************************************** |
13 |
|
|
*/ |
14 |
jgs |
82 |
|
15 |
jgs |
150 |
|
16 |
jgs |
82 |
#ifndef INC_FINLEY |
17 |
|
|
#define INC_FINLEY |
18 |
|
|
|
19 |
|
|
/**************************************************************/ |
20 |
|
|
|
21 |
|
|
/* Finley finite element solver */ |
22 |
|
|
|
23 |
|
|
/**************************************************************/ |
24 |
|
|
|
25 |
|
|
/* Version: $Id$ */ |
26 |
|
|
|
27 |
|
|
/**************************************************************/ |
28 |
|
|
|
29 |
jgs |
467 |
#include "Paso.h" |
30 |
jgs |
82 |
|
31 |
|
|
/**************************************************************/ |
32 |
|
|
|
33 |
jgs |
153 |
#define FINLEY_UNKNOWN -1 |
34 |
jgs |
82 |
#define FINLEY_DEGREES_OF_FREEDOM 1 |
35 |
|
|
#define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2 |
36 |
|
|
#define FINLEY_NODES 3 |
37 |
|
|
#define FINLEY_ELEMENTS 4 |
38 |
|
|
#define FINLEY_FACE_ELEMENTS 5 |
39 |
|
|
#define FINLEY_POINTS 6 |
40 |
|
|
#define FINLEY_CONTACT_ELEMENTS_1 7 |
41 |
|
|
#define FINLEY_CONTACT_ELEMENTS_2 8 |
42 |
|
|
|
43 |
|
|
/* error codes */ |
44 |
|
|
|
45 |
|
|
|
46 |
jgs |
150 |
typedef Paso_ErrorCodeType Finley_ErrorCodeType; |
47 |
|
|
|
48 |
jgs |
82 |
/* interfaces */ |
49 |
|
|
|
50 |
|
|
double Finley_timer(void); |
51 |
jgs |
123 |
bool_t Finley_checkPtr(void*); |
52 |
jgs |
150 |
void Finley_resetError(void); |
53 |
|
|
void Finley_setError(Finley_ErrorCodeType err,char* msg); |
54 |
|
|
bool_t Finley_noError(void); |
55 |
|
|
Finley_ErrorCodeType Finley_getErrorType(void); |
56 |
|
|
char* Finley_getErrorMessage(void); |
57 |
|
|
void Finley_convertPasoError(void); |
58 |
jgs |
82 |
|
59 |
|
|
#endif /* #ifndef INC_FINLEY */ |
60 |
|
|
|