Debian Codegraph @

dune/uggrid/low/bio.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 /*! \file bio.h
6 * \ingroup low
7 */
8
9 /** \addtogroup low
10 *
11 * @{
12 */
13
14 /****************************************************************************/
15 /* */
16 /* File: bio.h */
17 /* */
18 /* Purpose: header file for bio.c */
19 /* */
20 /* Author: Klaus Johannsen */
21 /* Institut fuer Computeranwendungen III */
22 /* Universitaet Stuttgart */
23 /* Pfaffenwaldring 27 */
24 /* 70550 Stuttgart */
25 /* email: [email protected] */
26 /* */
27 /* History: 09.12.96 begin */
28 /* */
29 /* Remarks: */
30 /* */
31 /****************************************************************************/
32
33
34
35 /****************************************************************************/
36 /* */
37 /* auto include mechanism and other include files */
38 /* */
39 /****************************************************************************/
40
41 #ifndef __BIO__
42 #define __BIO__
43
44 #include <cstdio>
45
46 #include "namespace.h"
47
48 START_UG_NAMESPACE
49
50 /****************************************************************************/
51 /* */
52 /* configuration of interface */
53 /* */
54 /****************************************************************************/
55
56 /****************************************************************************/
57 /* */
58 /* defines in the following order */
59 /* */
60 /* compile time constants defining static data size (i.e. arrays) */
61 /* other constants */
62 /* macros */
63 /* */
64 /****************************************************************************/
65
66 /* mode of file */
67 #define BIO_ASCII 1
68 #define BIO_BIN 2
69
70 /****************************************************************************/
71 /* */
72 /* data structures exported by the corresponding source file */
73 /* */
74 /****************************************************************************/
75
76 /****************************************************************************/
77 /* */
78 /* definition of exported global variables */
79 /* */
80 /****************************************************************************/
81
82
83
84 /****************************************************************************/
85 /* */
86 /* function declarations */
87 /* */
88 /****************************************************************************/
89
90 /** \ingroup low \brief Hallo Welt! */
91 int Bio_Initialize (FILE *file, int mode, char rw);
92 int Bio_Read_mint (int n, int *intList);
93 int Bio_Write_mint (int n, int *intList);
94 int Bio_Read_mdouble (int n, double *doubleList);
95 int Bio_Write_mdouble (int n, double *doubleList);
96 int Bio_Read_string (char *string);
97 int Bio_Write_string (const char *string);
98 int Bio_Jump_From (void);
99 int Bio_Jump_To (void);
100 int Bio_Jump (int dojump);
101
102
103 END_UG_NAMESPACE
104
105 /** @} */
106 #endif