Carmen Code
 All Classes Files Functions Variables Macros Pages
PreProcessor.h
Go to the documentation of this file.
1 /***************************************************************************
2  PreProcessor.h - description
3  -------------------
4  begin : Fri Oct 26 2001
5  copyright : (C) 2001 by Olivier Roussel & Alexei Tsigulin
6  email : roussel@ict.uni-karlsruhe.de, lpsoft@mail.ru
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef XYZ987
19 #include "carmen.pre"
20 #endif
21 
22 /*
23 ______________________________________________________________________________________________
24 
25  DO NOT CHANGE THESE LINES
26 ______________________________________________________________________________________________
27 
28 */
29 
30 #ifdef DOUBLE_PRECISION
31  #define real double
32  #define FORMAT "%23.16e "
33  #define TXTFORMAT "%-23s "
34  #define REAL "double"
35  #define BACKUP_FILE_FORMAT "%lf"
36 #else
37  #define real float
38  #define FORMAT "%15.8e "
39  #define TXTFORMAT "%-15s "
40  #define REAL "float"
41  #define BACKUP_FILE_FORMAT "%f"
42 #endif
43 
44 // ALWAYS USED
45 #define byte unsigned char
46 
47 #ifdef DOUBLE_PRECISION
48 #define MPI_Type MPI_DOUBLE
49 #else
50 #define MPI_Type MPI_FLOAT
51 #endif
52 
53 
54 
55