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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6651 - (hide annotations)
Wed Feb 7 02:12:08 2018 UTC (21 months, 1 week ago) by jfenwick
File MIME type: text/plain
File size: 2423 byte(s)
Make everyone sad by touching all the files

Copyright dates update

1 jgs 82
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 6651 * Copyright (c) 2003-2018 by The University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8 jfenwick 6112 * Licensed under the Apache License, version 2.0
9     * http://www.apache.org/licenses/LICENSE-2.0
10 ksteube 1811 *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13     * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 *
15     *****************************************************************************/
16 ksteube 1312
17 caltinay 4496 #ifndef __FINLEY_H__
18     #define __FINLEY_H__
19 ksteube 1811
20 caltinay 4496 /****************************************************************************
21 jgs 82
22 caltinay 4496 Finley finite element solver
23 jgs 82
24 caltinay 4496 *****************************************************************************/
25 jgs 82
26 caltinay 6001 // first include to avoid _POSIX_C_SOURCE redefinition warnings
27 caltinay 6000 #include <escript/DataTypes.h>
28    
29 caltinay 5984 #include <finley/FinleyException.h>
30    
31 caltinay 5997 #include <escript/EsysMPI.h>
32 caltinay 5946
33 caltinay 4499 #include <vector>
34    
35 caltinay 4496 namespace finley {
36    
37 caltinay 5948 using escript::DataTypes::dim_t;
38     using escript::DataTypes::index_t;
39 caltinay 6197 using escript::DataTypes::IndexVector;
40    
41 caltinay 5950 // real_t clashes with metis real_t !
42     //using escript::DataTypes::real_t;
43 caltinay 5946
44 caltinay 4496 //#define Finley_TRACE
45 jgs 153 #define FINLEY_UNKNOWN -1
46 jgs 82 #define FINLEY_DEGREES_OF_FREEDOM 1
47     #define FINLEY_NODES 3
48     #define FINLEY_ELEMENTS 4
49     #define FINLEY_FACE_ELEMENTS 5
50     #define FINLEY_POINTS 6
51     #define FINLEY_CONTACT_ELEMENTS_1 7
52     #define FINLEY_CONTACT_ELEMENTS_2 8
53 gross 1062 #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
54     #define FINLEY_REDUCED_NODES 14
55 gross 776 #define FINLEY_REDUCED_ELEMENTS 10
56     #define FINLEY_REDUCED_FACE_ELEMENTS 11
57     #define FINLEY_REDUCED_CONTACT_ELEMENTS_1 12
58     #define FINLEY_REDUCED_CONTACT_ELEMENTS_2 13
59 jgs 82
60 caltinay 6207 enum {
61     DegreesOfFreedom = FINLEY_DEGREES_OF_FREEDOM,
62     ReducedDegreesOfFreedom = FINLEY_REDUCED_DEGREES_OF_FREEDOM,
63     Nodes = FINLEY_NODES,
64     ReducedNodes = FINLEY_REDUCED_NODES,
65     Elements = FINLEY_ELEMENTS,
66     ReducedElements = FINLEY_REDUCED_ELEMENTS,
67     FaceElements = FINLEY_FACE_ELEMENTS,
68     ReducedFaceElements = FINLEY_REDUCED_FACE_ELEMENTS,
69     Points = FINLEY_POINTS,
70     ContactElementsZero = FINLEY_CONTACT_ELEMENTS_1,
71     ReducedContactElementsZero = FINLEY_REDUCED_CONTACT_ELEMENTS_1,
72     ContactElementsOne = FINLEY_CONTACT_ELEMENTS_2,
73     ReducedContactElementsOne = FINLEY_REDUCED_CONTACT_ELEMENTS_2
74     };
75    
76 gross 776 #define FINLEY_INITIAL_STATUS 0
77    
78 caltinay 4496 } // namespace finley
79 jgs 150
80 caltinay 4496 #endif // __FINLEY_H__
81 jgs 82

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26