criptic
v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Src
Definitions.H
Go to the documentation of this file.
1
12
#ifndef _DEFINITIONS_H_
13
#define _DEFINITIONS_H_
14
19
#define STRINGIFY_(a) #a
24
#define STRINGIFY(a) STRINGIFY_(a)
25
26
// First read the user-provided Definitions.H file, which may override
27
// our choices here; this requires a bit of care, since which
28
// user-provided Definitions.H function we should be looking at is not
29
// known until make is invoked
30
#if __has_include(STRINGIFY(Prob/PROB/Definitions.H))
31
# include STRINGIFY(Prob/PROB/Definitions.H)
32
#endif
33
34
// Default to using double precision
35
#if !(defined(CRIPTIC_PRECISION_SINGLE)) && !(defined(CRIPTIC_PRECISION_DOUBLE))
40
# define CRIPTIC_PRECISION_DOUBLE
41
#endif
42
43
// Default to using CGS units
44
#if !(defined(CRIPTIC_UNITS_CGS)) && !(defined(CRIPTIC_UNITS_MKS))
49
# define CRIPTIC_UNITS_CGS
50
#endif
51
52
// Default to using 5 digits in checkpoint file numbers
53
#if !(defined(CHKDIGITS))
58
# define CHKDIGITS 5
59
#endif
60
61
// Default to 15-character wide fields in ASCII output
62
#if !(defined(ASCIIWIDTH))
67
# define ASCIIWIDTH 15
68
#endif
69
70
// Size of a leaf in the CR tree
71
#if (!defined(TREE_LEAF_SIZE))
76
# define TREE_LEAF_SIZE 32
77
#endif
78
79
// Number of rigidity bins to use in the CR tree
80
#if (!defined(TREE_RIGIDITY_BINS))
85
# define TREE_RIGIDITY_BINS 16
86
#endif
87
88
// Blocking factor for MPI communications
89
#if (!defined(MPI_COMM_CYCLE_SIZE))
94
# define MPI_COMM_CYCLE_SIZE 256
95
#endif
96
111
#endif
112
// _DEFINITIONS_H_
Generated by
1.9.8