Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Mantid::PhysicalConstants::NeutronAtom Struct Reference

Structure to store neutronic scattering information for the various elements. More...

#include <NeutronAtom.h>

Public Member Functions

 NeutronAtom ()
 DO NOT USE THIS! This constructor generates a complete garbage NeutronAtom that is only available to allow for callers to declare variables then initialize them. More...
 
 NeutronAtom (const NeutronAtom &other)
 
 NeutronAtom (const uint16_t z, const double coh_b_real, const double inc_b_real, const double coh_xs, const double inc_xs, const double tot_xs, const double abs_xs)
 Atom constructor. More...
 
 NeutronAtom (const uint16_t z, const uint16_t a, const double coh_b_real, const double coh_b_img, const double inc_b_real, const double inc_b_img, const double coh_xs, const double inc_xs, const double tot_xs, const double abs_xs)
 Atom constructor. More...
 
 NeutronAtom (const uint16_t z, const uint16_t a, const double coh_b_real, const double inc_b_real, const double coh_xs, const double inc_xs, const double tot_xs, const double abs_xs)
 Atom constructor. More...
 
NeutronAtomoperator= (const NeutronAtom &other)
 

Public Attributes

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...
 
double abs_scatt_xs
 The absorption cross section for 2200m/s neutrons in barns. More...
 
double coh_scatt_length
 The coherent scattering length in fm. More...
 
double coh_scatt_length_img
 The imaginary part of the coherent scattering length in fm. More...
 
double coh_scatt_length_real
 The real part of the coherent scattering length in fm. More...
 
double coh_scatt_xs
 The coherent scattering cross section in barns. More...
 
double inc_scatt_length
 The incoherent scattering length in fm. More...
 
double inc_scatt_length_img
 The imaginary part of the incoherent scattering length in fm. More...
 
double inc_scatt_length_real
 The real part of the incoherent scattering length in fm. More...
 
double inc_scatt_xs
 The incoherent scattering cross section in barns. More...
 
double tot_scatt_length
 The total scattering length in fm. More...
 
double tot_scatt_xs
 The total scattering cross section in barns. More...
 
uint16_t z_number
 The atomic number, or number of protons, for the atom. More...
 

Static Public Attributes

static const double ReferenceLambda = 1.7982
 The reference wavelength value for absorption cross sections. More...
 

Detailed Description

Structure to store neutronic scattering information for the various elements.

This is taken from http://www.ncnr.nist.gov/resources/n-lengths/list.html.

Definition at line 22 of file NeutronAtom.h.

Constructor & Destructor Documentation

◆ NeutronAtom() [1/5]

Mantid::PhysicalConstants::NeutronAtom::NeutronAtom ( const uint16_t  z,
const double  coh_b_real,
const double  inc_b_real,
const double  coh_xs,
const double  inc_xs,
const double  tot_xs,
const double  abs_xs 
)

Atom constructor.

Parameters
z:: The atomic number of the atom
coh_b_real:: The real part of the coherent scattering length
inc_b_real:: The real part of the incoherent scattering length
coh_xs:: The coherent neutron cross-section
inc_xs:: The incoherent neutron cross-section
tot_xs:: The total neutron cross-section
abs_xs:: The absorption neutron cross-section

Definition at line 52 of file NeutronAtom.cpp.

References Mantid::PhysicalConstants::calculateScatteringLengths().

◆ NeutronAtom() [2/5]

Mantid::PhysicalConstants::NeutronAtom::NeutronAtom ( const uint16_t  z,
const uint16_t  a,
const double  coh_b_real,
const double  inc_b_real,
const double  coh_xs,
const double  inc_xs,
const double  tot_xs,
const double  abs_xs 
)

Atom constructor.

Parameters
z:: The atomic number of the atom
a:: The mass number of the atom
coh_b_real:: The real part of the coherent scattering length
inc_b_real:: The real part of the incoherent scattering length
coh_xs:: The coherent neutron cross-section
inc_xs:: The incoherent neutron cross-section
tot_xs:: The total neutron cross-section
abs_xs:: The absorption neutron cross-section

Definition at line 70 of file NeutronAtom.cpp.

References Mantid::PhysicalConstants::calculateScatteringLengths().

◆ NeutronAtom() [3/5]

Mantid::PhysicalConstants::NeutronAtom::NeutronAtom ( const uint16_t  z,
const uint16_t  a,
const double  coh_b_real,
const double  coh_b_img,
const double  inc_b_real,
const double  inc_b_img,
const double  coh_xs,
const double  inc_xs,
const double  tot_xs,
const double  abs_xs 
)

Atom constructor.

Parameters
z:: The atomic number of the atom
a:: The mass number of the atom
coh_b_real:: The real part of the coherent scattering length
coh_b_img:: The imaginary part of the coherent scattering length
inc_b_real:: The real part of the incoherent scattering length
inc_b_img:: The imaginary part of the incoherent scattering length
coh_xs:: The coherent neutron cross-section
inc_xs:: The incoherent neutron cross-section
tot_xs:: The total neutron cross-section
abs_xs:: The absorption neutron cross-section

Definition at line 90 of file NeutronAtom.cpp.

References Mantid::PhysicalConstants::calculateScatteringLengths().

◆ NeutronAtom() [4/5]

Mantid::PhysicalConstants::NeutronAtom::NeutronAtom ( const NeutronAtom other)

◆ NeutronAtom() [5/5]

Mantid::PhysicalConstants::NeutronAtom::NeutronAtom ( )

DO NOT USE THIS! This constructor generates a complete garbage NeutronAtom that is only available to allow for callers to declare variables then initialize them.

Definition at line 132 of file NeutronAtom.cpp.

Member Function Documentation

◆ operator=()

NeutronAtom & Mantid::PhysicalConstants::NeutronAtom::operator= ( const NeutronAtom other)

Member Data Documentation

◆ a_number

uint16_t Mantid::PhysicalConstants::NeutronAtom::a_number

◆ abs_scatt_xs

double Mantid::PhysicalConstants::NeutronAtom::abs_scatt_xs

◆ coh_scatt_length

double Mantid::PhysicalConstants::NeutronAtom::coh_scatt_length

◆ coh_scatt_length_img

double Mantid::PhysicalConstants::NeutronAtom::coh_scatt_length_img

◆ coh_scatt_length_real

double Mantid::PhysicalConstants::NeutronAtom::coh_scatt_length_real

◆ coh_scatt_xs

double Mantid::PhysicalConstants::NeutronAtom::coh_scatt_xs

◆ inc_scatt_length

double Mantid::PhysicalConstants::NeutronAtom::inc_scatt_length

◆ inc_scatt_length_img

double Mantid::PhysicalConstants::NeutronAtom::inc_scatt_length_img

◆ inc_scatt_length_real

double Mantid::PhysicalConstants::NeutronAtom::inc_scatt_length_real

◆ inc_scatt_xs

double Mantid::PhysicalConstants::NeutronAtom::inc_scatt_xs

◆ ReferenceLambda

const double Mantid::PhysicalConstants::NeutronAtom::ReferenceLambda = 1.7982
static

◆ tot_scatt_length

double Mantid::PhysicalConstants::NeutronAtom::tot_scatt_length

◆ tot_scatt_xs

double Mantid::PhysicalConstants::NeutronAtom::tot_scatt_xs

◆ z_number

uint16_t Mantid::PhysicalConstants::NeutronAtom::z_number

The documentation for this struct was generated from the following files: