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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1781 - (hide annotations)
Thu Sep 11 05:03:14 2008 UTC (11 years 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 jgs 82
2 ksteube 1312 /* $Id$ */
3 jgs 150
4 ksteube 1312 /*******************************************************
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 jgs 82 #ifndef INC_FINLEY
17     #define INC_FINLEY
18    
19     /**************************************************************/
20    
21     /* Finley finite element solver */
22    
23     /**************************************************************/
24    
25 robwdcock 682 #include "paso/Paso.h"
26 ksteube 1312 #include "paso/Paso_MPI.h"
27 jgs 82
28     /**************************************************************/
29 bcumming 751 /*#define Finley_TRACE */
30 jgs 153 #define FINLEY_UNKNOWN -1
31 jgs 82 #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 gross 1062 #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
39     #define FINLEY_REDUCED_NODES 14
40 gross 776 #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 jgs 82
45 gross 776 /* status stuff */
46     typedef int Finley_Status_t;
47     #define Finley_increaseStatus(self) ((self)->status)++
48     #define FINLEY_INITIAL_STATUS 0
49    
50 jgs 82 /* error codes */
51    
52    
53 jgs 150 typedef Paso_ErrorCodeType Finley_ErrorCodeType;
54    
55 jgs 82 /* interfaces */
56    
57     double Finley_timer(void);
58 jgs 123 bool_t Finley_checkPtr(void*);
59 jgs 150 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 bcumming 730 bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );
66 jfenwick 1781 void Finley_setTagsInUse(const index_t Tag, const dim_t numTags, dim_t *numTagsInUse, index_t **tagsInUse, Paso_MPIInfo* mpiinfo);
67 bcumming 730
68 jgs 82 #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