#include "TemplateTools.h"
Go to the source code of this file.
Namespaces | |
namespace | ThePEG |
Classes | |
struct | ThePEG::ZeroUnit |
Helper class to construct zero unitful quantities. More... | |
struct | ThePEG::QtyHelper< M, II > |
Helper classes to extend or shorten fractions. More... | |
struct | ThePEG::ThePEG::QtyHelper< 0, II > |
Template to help with fractional powers of dimensions. More... | |
struct | ThePEG::QtyInt< II, DI, DI2 > |
Template to help with fractional powers of dimensions. More... | |
class | ThePEG::Qty< L, E, Q, DL, DE, DQ > |
This template class allows the compiler to check calculations with physical quantities for dimensional correctness. More... | |
class | ThePEG::ThePEG::Qty< 0, 0, 0, DL, DE, DQ > |
Specialization of Qty for <0,0,0> with conversions to double. More... | |
Variables | |
const ZeroUnit | ThePEG::ZERO = ZeroUnit() |
ZERO can be used as zero for any unitful quantity. |
Mathematical operations that are inconsistent are flagged as type errors.
Do not use the classes directly in ThePEG, use the wrappers defined in Units.h or Phys_Qty.h instead.
Definition in file PhysicalQty.h.