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