Mantid
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Unit.cpp File Reference
#include "MantidKernel/Unit.h"
#include "MantidKernel/Logger.h"
#include "MantidKernel/PhysicalConstants.h"
#include "MantidKernel/UnitFactory.h"
#include "MantidKernel/UnitLabelTypes.h"
#include <cfloat>
#include <limits>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::Units
 The namespace for concrete units classes.
 

Functions

MANTID_KERNEL_DLL double Mantid::Kernel::Units::timeConversionValue (const std::string &input_unit, const std::string &output_unit)
 
MANTID_KERNEL_DLL double Mantid::Kernel::Units::tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const double offset)
 Calculate and return conversion factor from tof to d-spacing. More...
 

Variables

const double Mantid::Kernel::Units::CONSTANT = (PhysicalConstants::h * 1e10) / (2.0 * PhysicalConstants::NeutronMass * 1e6)