Mantid
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Atom.cpp File Reference
#include "MantidKernel/Atom.h"
#include "MantidKernel/NeutronAtom.h"
#include "MantidKernel/PhysicalConstants.h"
#include "tcb/span.hpp"
#include <algorithm>
#include <array>
#include <sstream>
#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.
 

Functions

bool Mantid::PhysicalConstants::AtomEqualsWithNaN (const double left, const double right)
 Check if two atoms are not valid. More...
 
bool Mantid::PhysicalConstants::compareAtoms (const Atom &left, uint16_t a_number)
 Compare two atoms. More...
 
MANTID_KERNEL_DLL const Atom & Mantid::PhysicalConstants::getAtom (const std::string &symbol, const uint16_t a_number=0)
 
MANTID_KERNEL_DLL const Atom & Mantid::PhysicalConstants::getAtom (const uint16_t z_number, const uint16_t a_number=0)
 
MANTID_KERNEL_DLL bool Mantid::PhysicalConstants::operator!= (const Atom &left, const Atom &right)
 Inequality operator overload. More...
 
MANTID_KERNEL_DLL std::ostream & Mantid::PhysicalConstants::operator<< (std::ostream &out, const Atom &atom)
 Stream operator overload. More...
 
MANTID_KERNEL_DLL bool Mantid::PhysicalConstants::operator== (const Atom &left, const Atom &right)
 Equality operator overload. More...
 

Variables

static std::array< tcb::span< Atom >, 96 > Mantid::PhysicalConstants::ATOMS
 
static std::array< Atom, 2845 > Mantid::PhysicalConstants::ATOMS_ARRAY