11#include <gsl/gsl_sf.h>
23 {BoltzmannConstant,
"k"},
24 {E_mev_toNeutronWavenumberSq,
"meV_squared_wave_number_relationship"},
44 parser.DefineConst(constant.second, constant.first);
53 parser.DefineFun(function.first, function.second);
void MANTID_API_DLL extraOneVarFunctions(mu::Parser &parser)
const MANTID_API_DLL std::map< std::string, oneVarFun > MUPARSER_ONEVAR_FUNCTIONS
void MANTID_API_DLL addDefaultConstants(mu::Parser &parser)
Add a set of default constants to a muParser.
const MANTID_API_DLL std::map< double, std::string > MUPARSER_CONSTANTS
Defines convenience methods to be used with the muParser mathematical expression parser.
double(*)(double) oneVarFun
A namespace containing physical constants that are required by algorithms and unit routines.
static constexpr double MuonGyromagneticRatio
Muon gyromagnetic ratio in MHz/G Taken from CalMuonDetectorPhases and DynamicKuboToyabe on 02/02/2016...
static constexpr double StandardAtmosphere
Standard atmospheric pressure in kPa.
static constexpr double NeutronMassAMU
Mass of the neutron in AMU.
static constexpr double NeutronMass
Mass of the neutron in kg.
static constexpr double h
Planck constant in J*s.
static constexpr double meVtoKelvin
1 meV in Kelvin.
static constexpr double meVtoWavenumber
1 meV in wavenumber (cm-1).
static constexpr double N_A
Avagodro constant in mol-1.
static constexpr double MuonLifetime
Muon lifetime.
static constexpr double AtomicMassUnit
AMU in kg.
static constexpr double meV
1 meV in Joules.
static constexpr double h_bar
Planck constant in J*s, divided by 2 PI.
static constexpr double g
Standard acceleration due to gravity.