Belle II Software
release-06-02-00
common.h
1
/*
2
* common.h - common includes and parameters
3
*
4
* this file is part of PJFry library
5
* Copyright 2011 Valery Yundin
6
*/
7
8
#ifndef QUL_COMMON_H
9
#define QUL_COMMON_H
10
11
#ifdef HAVE_CONFIG_H
12
# include "config.h"
13
#endif
/* HAVE_CONFIG_H */
14
15
#include <complex>
16
#include <limits>
17
#include <inttypes.h>
18
// #include <stdint.h>
19
20
#include <cassert>
21
#ifndef NDEBUG
22
#include <cstdio>
// DEBUG
23
#endif
24
25
typedef
std::complex<double> ncomplex;
26
// typedef long long int int64_t;
27
28
// Forward declarations
29
class
ICache
;
30
31
class
MCache
;
32
class
MCache5;
33
34
class
Minor5
;
35
36
class
Kinem5
;
37
class
Kinem4
;
38
class
Kinem3
;
39
class
Kinem2
;
40
41
#define CONST __attribute__ ((const))
42
#define PURE __attribute__ ((pure))
43
44
#ifdef USE_GOLEM_MODE
45
# define USE_ZERO_CHORD "1"
/* calculate formfactors for zero-chord */
46
# define USE_GOLEM_MODE_6 "1"
/* support 6-pinched kinematics */
47
# define USE_GOLEM_ZERO_CHECK "1"
/* enable checks for i,j,k==s,t,u */
48
#endif
49
50
// Approx 1% slowdown
51
#define USE_SMART_INSERT "1"
/* before adding new, delete same old entries in MCache2,3 */
52
53
#define USE_DIRTY_RESET "1"
/* when told to clear caches, just set len=0 */
54
55
#endif
/* QUL_COMMON_H */
56
ICache
Definition:
cache.h:49
Kinem2
Definition:
kinem.h:104
Kinem3
Definition:
kinem.h:121
Kinem4
Definition:
kinem.h:144
Kinem5
Definition:
kinem.h:176
MCache
Definition:
cache.h:206
Minor5
Definition:
minor.h:202
generators
phokhara
eemmg-lib
src
common.h
Generated on Thu Dec 28 2023 02:26:40 for Belle II Software by
1.9.1