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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3090 - (show annotations)
Wed Aug 11 00:51:28 2010 UTC (9 years, 6 months ago) by jfenwick
File MIME type: text/plain
File size: 1994 byte(s)
Removed:
DUDLEY_CONTACT_ELEMENTS_1
DUDLEY_CONTACT_ELEMENTS_2
DUDLEY_REDUCED_CONTACT_ELEMENTS_1
DUDLEY_REDUCED_CONTACT_ELEMENTS_2

escript tests now query if the domain supports contact elements
before trying to use them.


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
15 #ifndef INC_DUDLEY
16 #define INC_DUDLEY
17
18 /**************************************************************/
19
20 /* Dudley finite element solver */
21
22 /**************************************************************/
23
24 #include "paso/Paso.h"
25 #include "paso/Paso_MPI.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 /*
36 #define DUDLEY_CONTACT_ELEMENTS_1 7
37 #define DUDLEY_CONTACT_ELEMENTS_2 8
38 */
39 #define DUDLEY_REDUCED_DEGREES_OF_FREEDOM 2
40 #define DUDLEY_REDUCED_NODES 14
41 #define DUDLEY_REDUCED_ELEMENTS 10
42 #define DUDLEY_REDUCED_FACE_ELEMENTS 11
43 /*
44 #define DUDLEY_REDUCED_CONTACT_ELEMENTS_1 12
45 #define DUDLEY_REDUCED_CONTACT_ELEMENTS_2 13
46 */
47
48 /* status stuff */
49 typedef int Dudley_Status_t;
50 #define Dudley_increaseStatus(self) ((self)->status)++
51 #define DUDLEY_INITIAL_STATUS 0
52
53 /* error codes */
54
55
56 typedef Paso_ErrorCodeType Dudley_ErrorCodeType;
57
58 /* interfaces */
59
60 double Dudley_timer(void);
61 bool_t Dudley_checkPtr(void*);
62 void Dudley_resetError(void);
63 void Dudley_setError(Dudley_ErrorCodeType err,__const char* msg);
64 bool_t Dudley_noError(void);
65 Dudley_ErrorCodeType Dudley_getErrorType(void);
66 char* Dudley_getErrorMessage(void);
67 void Dudley_convertPasoError(void);
68 bool_t Dudley_MPI_noError( Paso_MPIInfo *mpi_info );
69 void Dudley_setTagsInUse(const index_t Tag, const dim_t numTags, dim_t *numTagsInUse, index_t **tagsInUse, Paso_MPIInfo* mpiinfo);
70
71 #endif /* #ifndef INC_DUDLEY */
72

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mergeinfo /branches/lapack2681/finley/src/Finley.h:2682-2741 /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

  ViewVC Help
Powered by ViewVC 1.1.26