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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4499 - (hide annotations)
Tue Jul 16 05:42:19 2013 UTC (6 years, 6 months ago) by caltinay
File MIME type: text/plain
File size: 1709 byte(s)
finley: mainly const'ness fixes, some formatting.

1 jgs 82
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4154 * Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8     * Licensed under the Open Software License version 3.0
9     * http://www.opensource.org/licenses/osl-3.0.php
10     *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     * Development since 2012 by School of Earth Sciences
13     *
14     *****************************************************************************/
15 ksteube 1312
16 caltinay 4496 #ifndef __FINLEY_H__
17     #define __FINLEY_H__
18 ksteube 1811
19 caltinay 4496 /****************************************************************************
20 jgs 82
21 caltinay 4496 Finley finite element solver
22 jgs 82
23 caltinay 4496 *****************************************************************************/
24 jgs 82
25 jfenwick 3259 #include "esysUtils/Esys_MPI.h"
26     #include "esysUtils/error.h"
27 jgs 82
28 caltinay 4499 #include <vector>
29    
30 caltinay 4496 namespace finley {
31    
32     //#define Finley_TRACE
33 jgs 153 #define FINLEY_UNKNOWN -1
34 jgs 82 #define FINLEY_DEGREES_OF_FREEDOM 1
35     #define FINLEY_NODES 3
36     #define FINLEY_ELEMENTS 4
37     #define FINLEY_FACE_ELEMENTS 5
38     #define FINLEY_POINTS 6
39     #define FINLEY_CONTACT_ELEMENTS_1 7
40     #define FINLEY_CONTACT_ELEMENTS_2 8
41 gross 1062 #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2
42     #define FINLEY_REDUCED_NODES 14
43 gross 776 #define FINLEY_REDUCED_ELEMENTS 10
44     #define FINLEY_REDUCED_FACE_ELEMENTS 11
45     #define FINLEY_REDUCED_CONTACT_ELEMENTS_1 12
46     #define FINLEY_REDUCED_CONTACT_ELEMENTS_2 13
47 jgs 82
48 gross 776 #define FINLEY_INITIAL_STATUS 0
49    
50 caltinay 4496 typedef Esys_ErrorCodeType ErrorCodeType;
51 jgs 82
52 caltinay 4496 double timer();
53     void resetError();
54     void setError(ErrorCodeType err, const char* msg);
55     bool noError();
56     ErrorCodeType getErrorType();
57     char* getErrorMessage();
58     void checkFinleyError();
59     bool MPI_noError(Esys_MPIInfo *mpi_info);
60 jgs 82
61 caltinay 4496 } // namespace finley
62 jgs 150
63 caltinay 4496 #endif // __FINLEY_H__
64 jgs 82

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26