Mantid
|
Struture to hold the common information for an atom. More...
#include <Atom.h>
Public Member Functions | |
Atom (const Atom &other) | |
Copy constructor. More... | |
Atom (const NeutronAtom &neutron) | |
Create user defined atom from neutronic information. More... | |
Atom (std::string symbol, const uint16_t z, const uint16_t a, const double abundance, const double mass, const double density) | |
Standard constructor. More... | |
Public Attributes | |
const uint16_t | a_number |
The total number of protons and neutrons, or mass number, for the atom for isotopic averages this is set to zero. More... | |
const double | abundance |
The natural abundance of the isotope as a percentage between 0 and 100. More... | |
const double | mass |
The atomic mass in units of 'u' (=1g/mol/Na). More... | |
const double | mass_density |
The atomic mass density in units of g/cm3. More... | |
const NeutronAtom | neutron |
Handle to class containing neutronic atomic properties. More... | |
const double | number_density |
The number density in units of cm-3 as calculated from the mass density. More... | |
const std::string | symbol |
The atomic symbol. In other words the one or two character abbreviation. More... | |
const uint16_t | z_number |
The atomic number, or number of protons, for the atom. More... | |
Struture to hold the common information for an atom.
This also allows access to the NeutronAtom information by a pointer. The information in this table is generated using the DANSE project's periodictable python module.
Mantid::PhysicalConstants::Atom::Atom | ( | std::string | symbol, |
const uint16_t | z, | ||
const uint16_t | a, | ||
const double | abundance, | ||
const double | mass, | ||
const double | density | ||
) |
Mantid::PhysicalConstants::Atom::Atom | ( | const Atom & | other | ) |
Mantid::PhysicalConstants::Atom::Atom | ( | const NeutronAtom & | neutron | ) |
const uint16_t Mantid::PhysicalConstants::Atom::a_number |
The total number of protons and neutrons, or mass number, for the atom for isotopic averages this is set to zero.
Definition at line 38 of file Atom.h.
Referenced by export_Atom(), and Mantid::PhysicalConstants::operator<<().
const double Mantid::PhysicalConstants::Atom::abundance |
The natural abundance of the isotope as a percentage between 0 and 100.
For isotopic averages this is zero.
Definition at line 43 of file Atom.h.
Referenced by export_Atom().
const double Mantid::PhysicalConstants::Atom::mass |
The atomic mass in units of 'u' (=1g/mol/Na).
This is from the normalized scale where C12 has an atomic mass of 12.
Definition at line 47 of file Atom.h.
Referenced by Mantid::WorkflowAlgorithms::DgsAbsoluteUnitsReduction::exec(), and export_Atom().
const double Mantid::PhysicalConstants::Atom::mass_density |
The atomic mass density in units of g/cm3.
Definition at line 50 of file Atom.h.
Referenced by export_Atom().
const NeutronAtom Mantid::PhysicalConstants::Atom::neutron |
Handle to class containing neutronic atomic properties.
Definition at line 57 of file Atom.h.
Referenced by Mantid::Geometry::IsotropicAtomBraggScatterer::setElement().
const double Mantid::PhysicalConstants::Atom::number_density |
The number density in units of cm-3 as calculated from the mass density.
Definition at line 54 of file Atom.h.
Referenced by export_Atom().
const std::string Mantid::PhysicalConstants::Atom::symbol |
The atomic symbol. In other words the one or two character abbreviation.
Definition at line 31 of file Atom.h.
Referenced by export_Atom(), Mantid::PhysicalConstants::operator<<(), and Mantid::Geometry::IsotropicAtomBraggScatterer::setElement().
const uint16_t Mantid::PhysicalConstants::Atom::z_number |
The atomic number, or number of protons, for the atom.
Definition at line 34 of file Atom.h.
Referenced by Mantid::WorkflowAlgorithms::DgsAbsoluteUnitsReduction::exec(), and export_Atom().