/usr/include/ThePEG/Config/ThePEG_Qty.h is in libthepeg-dev 1.8.0-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | /* Config/ThePEG_Qty.h. Generated from ThePEG_Qty.h.b by configure. */
#ifndef THEPEG_QTY_H
#define THEPEG_QTY_H
/* Config/ThePEG_Qty.h.in. */
/* Define to 1 if you want units checking */
#define ThePEG_HAS_UNITS_CHECKING 1
#ifdef ThePEG_HAS_UNITS_CHECKING
#include "PhysicalQty.h"
#include "PhysicalQtyOps.h"
#include "PhysicalQtyComplex.h"
namespace ThePEG {
#else
#include <cmath>
namespace ThePEG {
const double ZERO = 0.0;
/// Fractional powers of a double.
template<int P, int R>
double pow(double q) {
return std::pow(q,double(P)/double(R));
}
#endif
/// Helper class to define unitful quantities.
template <int L, int E, int Q, int DL = 1, int DE = 1, int DQ = 1>
struct QTY {
#ifdef ThePEG_HAS_UNITS_CHECKING
/// The QTY type is dimensioned.
typedef Qty<L,E,Q,DL,DE,DQ> Type;
#else
/// The QTY type is double.
typedef double Type;
#endif
};
}
#endif
|