forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnitLabelTypes.cpp
38 lines (36 loc) · 1.38 KB
/
UnitLabelTypes.cpp
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
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidKernel/UnitLabelTypes.h"
#include "MantidKernel/UnitLabel.h"
namespace Mantid::Kernel::Units {
// Empty label
const UnitLabel Symbol::EmptyLabel("");
// Second
const UnitLabel Symbol::Second("s");
// Microsecond
const UnitLabel Symbol::Microsecond("microsecond", L"\u03bcs", "\\mu s");
/// Nanosecond
const UnitLabel Symbol::Nanosecond("ns");
// Angstrom
const UnitLabel Symbol::Angstrom("Angstrom", L"\u212b", "\\AA");
// InverseAngstrom
const UnitLabel Symbol::InverseAngstrom("Angstrom^-1", L"\u212b\u207b\u00b9", "\\AA^{-1}");
// InverseAngstromSq
const UnitLabel Symbol::InverseAngstromSq("Angstrom^-2", L"\u212b\u207b\u00b2", "\\AA^{-2}");
/// MilliElectronVolts
const UnitLabel Symbol::MilliElectronVolts("meV");
/// GHz
const UnitLabel Symbol::GHz("GHz");
/// Metre
const UnitLabel Symbol::Metre("m");
/// Nanometre
const UnitLabel Symbol::Nanometre("nm");
/// Inverse centimeters
const UnitLabel Symbol::InverseCM("cm^-1", L"cm\u207b\u00b9", "cm^{-1}");
/// Reciprocal lattice (dimensionless)
const UnitLabel Symbol::RLU("r.l.u.");
} // namespace Mantid::Kernel::Units