Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
NeutronAtom.h File Reference
#include "MantidKernel/DllConfig.h"
#include <iosfwd>

Go to the source code of this file.

Classes

struct  Mantid::PhysicalConstants::NeutronAtom
 Structure to store neutronic scattering information for the various elements. More...
 

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

MANTID_KERNEL_DLL void Mantid::PhysicalConstants::calculateScatteringLengths (NeutronAtom &atom)
 Utility function to calculate scattering lengths from cross-sections. More...
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::getNeutronAtom (const uint16_t z_number, const uint16_t a_number)
 Retrieve a copy of NeutronAtom. More...
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::getNeutronNoExceptions (const NeutronAtom &other)
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::getNeutronNoExceptions (const uint16_t z_number, const uint16_t a_number)
 
MANTID_KERNEL_DLL bool Mantid::PhysicalConstants::operator!= (const NeutronAtom &left, const NeutronAtom &right)
 Inequality between two neutron atoms. More...
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::operator* (const double left, const NeutronAtom &right)
 This calls operator*(const NeutronAtom&, const double) with the parameters reversed. More...
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::operator* (const NeutronAtom &left, const double right)
 Multiplying a NeutronAtom by a number sets a_number=z_number=0 and multiplies all of the scattering information. More...
 
MANTID_KERNEL_DLL NeutronAtom Mantid::PhysicalConstants::operator+ (const NeutronAtom &left, const NeutronAtom &right)
 Adding two NeutronAtoms together sets a_number=z_number=0 and adds all of the scattering information. More...
 
MANTID_KERNEL_DLL std::ostream & Mantid::PhysicalConstants::operator<< (std::ostream &out, const NeutronAtom &atom)
 Output neutron atom to a stream. More...
 
MANTID_KERNEL_DLL bool Mantid::PhysicalConstants::operator== (const NeutronAtom &left, const NeutronAtom &right)
 Equality between two neutron atoms. More...