/[escript]/branches/arrayview_from_1695_trunk/finley/src/Finley.h
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/finley/src/Finley.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1781 - (show annotations)
Thu Sep 11 05:03:14 2008 UTC (10 years, 9 months ago) by jfenwick
File MIME type: text/plain
File size: 2009 byte(s)
Branch commit

Merged changes from trunk version 1695 up to and including version 1779.


1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 #ifndef INC_FINLEY
17 #define INC_FINLEY
18
19 /**************************************************************/
20
21 /* Finley finite element solver */
22
23 /**************************************************************/
24
25 #include "paso/Paso.h"
26 #include "paso/Paso_MPI.h"
27
28 /**************************************************************/
29 /*#define Finley_TRACE */
30 #define FINLEY_UNKNOWN -1
31 #define FINLEY_DEGREES_OF_FREEDOM 1
32 #define FINLEY_NODES 3
33 #define FINLEY_ELEMENTS 4
34 #define FINLEY_FACE_ELEMENTS 5
35 #define FINLEY_POINTS 6
36 #define FINLEY_CONTACT_ELEMENTS_1 7
37 #define FINLEY_CONTACT_ELEMENTS_2 8
38 #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
39 #define FINLEY_REDUCED_NODES 14
40 #define FINLEY_REDUCED_ELEMENTS 10
41 #define FINLEY_REDUCED_FACE_ELEMENTS 11
42 #define FINLEY_REDUCED_CONTACT_ELEMENTS_1 12
43 #define FINLEY_REDUCED_CONTACT_ELEMENTS_2 13
44
45 /* status stuff */
46 typedef int Finley_Status_t;
47 #define Finley_increaseStatus(self) ((self)->status)++
48 #define FINLEY_INITIAL_STATUS 0
49
50 /* error codes */
51
52
53 typedef Paso_ErrorCodeType Finley_ErrorCodeType;
54
55 /* interfaces */
56
57 double Finley_timer(void);
58 bool_t Finley_checkPtr(void*);
59 void Finley_resetError(void);
60 void Finley_setError(Finley_ErrorCodeType err,char* msg);
61 bool_t Finley_noError(void);
62 Finley_ErrorCodeType Finley_getErrorType(void);
63 char* Finley_getErrorMessage(void);
64 void Finley_convertPasoError(void);
65 bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );
66 void Finley_setTagsInUse(const index_t Tag, const dim_t numTags, dim_t *numTagsInUse, index_t **tagsInUse, Paso_MPIInfo* mpiinfo);
67
68 #endif /* #ifndef INC_FINLEY */
69

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26