Debian Codegraph @

dune/uggrid/parallel/ddd/include/dddio.h

raw
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: dddio.h */
8 /* */
9 /* Purpose: I/O routines used by DDD */
10 /* */
11 /* Author: Klaus Birken */
12 /* Rechenzentrum Uni Stuttgart */
13 /* Universitaet Stuttgart */
14 /* Allmandring 30 */
15 /* 70550 Stuttgart */
16 /* internet: [email protected] */
17 /* */
18 /* */
19 /* History: 30.01.92 begin, ug version 2.0 (Peter Bastian) */
20 /* 93/11/26 kb PrintErrorMessage copied from ug version 2.0 */
21 /* Remarks: */
22 /* */
23 /****************************************************************************/
24
25 /****************************************************************************/
26 /* */
27 /* auto include mechanism and other include files */
28 /* */
29 /****************************************************************************/
30
31 #ifndef __DDDIO__
32 #define __DDDIO__
33
34 #include <dune/uggrid/parallel/ddd/dddtypes.hh>
35
36 namespace DDD {
37
38 /****************************************************************************/
39 /* */
40 /* user-defined lineout-function prototype */
41 /* */
42 /****************************************************************************/
43
44 extern void (*DDD_UserLineOutFunction)(const char *s);
45
46
47 /****************************************************************************/
48 /* */
49 /* function declarations */
50 /* */
51 /****************************************************************************/
52
53 void DDD_PrintLine (const char *s);
54 void DDD_PrintDebug (const char *s);
55 void DDD_PrintError (char error_class, int error_no, const char *text);
56 void DDD_Flush (void);
57 void DDD_SyncAll(const DDD::DDDContext& context);
58
59 } /* namespace DDD */
60
61 #endif