/[escript]/branches/symbolic_from_3470/dudley/src/Dudley.h
ViewVC logotype

Contents of /branches/symbolic_from_3470/dudley/src/Dudley.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3789 - (show annotations)
Tue Jan 31 04:55:05 2012 UTC (7 years, 2 months ago) by caltinay
File MIME type: text/plain
File size: 1868 byte(s)
Fast forward to latest trunk revision 3788.

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14 #ifndef INC_DUDLEY
15 #define INC_DUDLEY
16
17 /**************************************************************/
18
19 /* Dudley finite element solver */
20
21 /**************************************************************/
22
23 #include "esysUtils/types.h"
24 #include "esysUtils/Esys_MPI.h"
25 #include "esysUtils/error.h"
26
27 /**************************************************************/
28 /*#define Dudley_TRACE */
29 #define DUDLEY_UNKNOWN -1
30 #define DUDLEY_DEGREES_OF_FREEDOM 1
31 #define DUDLEY_NODES 3
32 #define DUDLEY_ELEMENTS 4
33 #define DUDLEY_FACE_ELEMENTS 5
34 #define DUDLEY_POINTS 6
35 #define DUDLEY_REDUCED_DEGREES_OF_FREEDOM 2
36 #define DUDLEY_REDUCED_NODES 14
37 #define DUDLEY_REDUCED_ELEMENTS 10
38 #define DUDLEY_REDUCED_FACE_ELEMENTS 11
39
40 /* status stuff */
41 typedef int Dudley_Status_t;
42 #define Dudley_increaseStatus(self) ((self)->status)++
43 #define DUDLEY_INITIAL_STATUS 0
44
45 /* error codes */
46
47 typedef Esys_ErrorCodeType Dudley_ErrorCodeType;
48
49 /* interfaces */
50
51 double Dudley_timer(void);
52 bool_t Dudley_checkPtr(void *);
53 void Dudley_resetError(void);
54 void Dudley_setError(Dudley_ErrorCodeType err, __const char *msg);
55 bool_t Dudley_noError(void);
56 Dudley_ErrorCodeType Dudley_getErrorType(void);
57 char *Dudley_getErrorMessage(void);
58 void Dudley_convertPasoError(void);
59 bool_t Dudley_MPI_noError(Esys_MPIInfo * mpi_info);
60 void Dudley_setTagsInUse(const index_t Tag, const dim_t numTags, dim_t * numTagsInUse, index_t ** tagsInUse,
61 Esys_MPIInfo * mpiinfo);
62
63 #endif /* #ifndef INC_DUDLEY */

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mergeinfo /branches/lapack2681/finley/src/Finley.h:2682-2741 /branches/pasowrap/dudley/src/Dudley.h:3661-3674 /branches/restext/finley/src/Finley.h:2610-2624 /branches/stage3.0/finley/src/Finley.h:2569-2590 /release/3.0/finley/src/Finley.h:2591-2601 /trunk/dudley/src/Dudley.h:3471-3788

  ViewVC Help
Powered by ViewVC 1.1.26