1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 /****************************************************************************/
4 /*                                                                                                                                                      */
5 /* File:          identify.h                                                                                                    */
6 /*                                                                                                                                                      */
7 /* Purpose:   identification of distributed objects                                                     */
8 /*                                                                                                                                                      */
9 /* Author:        Stefan Lang                                                                           */
10 /*                        Institut fuer Computeranwendungen III                                                 */
11 /*                        Universitaet Stuttgart                                                                                */
12 /*                        Pfaffenwaldring 27                                                                                    */
13 /*                        70550 Stuttgart                                                                                               */
14 /*                        email: ug@ica3.uni-stuttgart.de                                                               */
15 /*                                                                                                                                                      */
16 /* History:   26.11.96 begin                                                                            */
17 /*                                                                                                                                                      */
18 /* Remarks:                                                                                                                             */
19 /*                                                                                                                                                      */
20 /****************************************************************************/
21 
22 
23 /****************************************************************************/
24 /*                                                                                                                                                      */
25 /* auto include mechanism and other include files                                                       */
26 /*                                                                                                                                                      */
27 /****************************************************************************/
28 
29 #ifndef __IDENT_H__
30 #define __IDENT_H__
31 
32 #include <dune/uggrid/low/namespace.h>
33 
34 START_UGDIM_NAMESPACE
35 
36 /****************************************************************************/
37 /*                                                                                                                                                      */
38 /* defines in the following order                                                                                       */
39 /*                                                                                                                                                      */
40 /*                compile time constants defining static data size (i.e. arrays)        */
41 /*                other constants                                                                                                       */
42 /*                macros                                                                                                                        */
43 /*                                                                                                                                                      */
44 /****************************************************************************/
45 
46 /* define for identification in several stages to 1 */
47 /* only for debugging purposes useful!              */
48 #define IDENT_IN_STEPS  0
49 
50 /* settings for ident_mode */
51 #define IDENT_OFF       0
52 #define IDENT_ON        1
53 #define SET_IDENT_MODE(n)       {ident_mode = (n);}
54 #define GET_IDENT_MODE()        (ident_mode)
55 
56 /****************************************************************************/
57 /*                                                                                                                                                      */
58 /* data structures exported by the corresponding source file                            */
59 /*                                                                                                                                                      */
60 /****************************************************************************/
61 
62 
63 
64 /****************************************************************************/
65 /*                                                                                                                                                      */
66 /* definition of exported global variables                                                                      */
67 /*                                                                                                                                                      */
68 /****************************************************************************/
69 
70 extern INT ident_mode;
71 
72 
73 /****************************************************************************/
74 /*                                                                                                                                                      */
75 /* function declarations                                                                                                        */
76 /*                                                                                                                                                      */
77 /****************************************************************************/
78 
79 INT Identify_SonObjects (GRID *theGrid);
80 
81 END_UGDIM_NAMESPACE
82 
83 #endif
84