Mantid
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
MagneticIon.cpp File Reference
#include "MantidKernel/MagneticIon.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::PhysicalConstants
 A namespace containing physical constants that are required by algorithms and unit routines.
 

Typedefs

using Mantid::PhysicalConstants::IonIndex = std::unordered_map< std::string, MagneticIon >
 Typedef the map type. More...
 

Functions

void Mantid::PhysicalConstants::createIonLookup (IonIndex &ion_map)
 Forward decalre intializer. More...
 
MANTID_KERNEL_DLL std::vector< double > Mantid::PhysicalConstants::getJL (const std::string &symbol, const uint16_t charge, const uint16_t l=0)
 Returns the Lth-coefficients for the given ion. More...
 
MANTID_KERNEL_DLL const MagneticIon & Mantid::PhysicalConstants::getMagneticIon (const std::string &symbol)
 Returns the magnetic ion from a combined symbol and charge given as string. More...
 
MANTID_KERNEL_DLL const MagneticIon & Mantid::PhysicalConstants::getMagneticIon (const std::string &symbol, const uint16_t charge)
 Returns the magnetic ion for the given symbol and charge. More...
 
MANTID_KERNEL_DLL std::vector< std::string > Mantid::PhysicalConstants::getMagneticIonList ()
 Returns a list of all ions. More...
 
const IonIndex & Mantid::PhysicalConstants::ionMap ()
 Returns a reference to the static lookup map. More...