Mantid
|
This struct contains the parameters for constructing a material, and gives them a default value for ease of testing. More...
#include <ReadMaterial.h>
Public Attributes | |
int | atomicNumber = 0 |
The atomic number to set, defaults to 0. More... | |
std::string | attenuationProfileFileName = "" |
The name or path of a file containing an attenuation profile. More... | |
double | attenuationXSection = EMPTY_DBL() |
The absorption cross section to set, defaults to EMPTY_DBL() More... | |
std::string | chemicalSymbol = "" |
The chemical formula to set, defaults to the empty string. More... | |
double | coherentXSection = EMPTY_DBL() |
The coherent scattering cross section to set, defaults to EMPTY_DBL() More... | |
double | incoherentXSection = EMPTY_DBL() |
The incoherent scattering cross section to set, defaults to EMPTY_DBL() More... | |
double | mass = EMPTY_DBL() |
The sample mass to set, defaults to EMPTY_DBL() More... | |
double | massDensity = EMPTY_DBL() |
The sample mass density to set, defaults to EMPTY_DBL() More... | |
int | massNumber = 0 |
The mass number to set, defaults to 0. More... | |
double | numberDensity = EMPTY_DBL() |
The sample number density to set, defaults to EMPTY_DBL() More... | |
double | numberDensityEffective = EMPTY_DBL() |
The sample effective number density. More... | |
Kernel::MaterialBuilder::NumberDensityUnit | numberDensityUnit = Kernel::MaterialBuilder::NumberDensityUnit::Atoms |
A flag indicating the unit of sampleNumberDensity. More... | |
double | packingFraction = EMPTY_DBL() |
The sample packing fraction. More... | |
double | scatteringXSection = EMPTY_DBL() |
The total scattering cross section to set, defaults to EMPTY_DBL() More... | |
double | unitCellVolume = EMPTY_DBL() |
The unit cell volume to set, defaults to EMPTY_DBL() More... | |
double | volume = EMPTY_DBL() |
The sample volume to set, defaults to EMPTY_DBL() More... | |
std::string | xRayAttenuationProfileFileName = "" |
The name or path of a file containing an x ray attenuation profile. More... | |
double | zParameter = EMPTY_DBL() |
The zParameter to set, defaults to EMPTY_DBL() More... | |
This struct contains the parameters for constructing a material, and gives them a default value for ease of testing.
Definition at line 32 of file ReadMaterial.h.
int Mantid::DataHandling::ReadMaterial::MaterialParameters::atomicNumber = 0 |
The atomic number to set, defaults to 0.
Definition at line 36 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
std::string Mantid::DataHandling::ReadMaterial::MaterialParameters::attenuationProfileFileName = "" |
The name or path of a file containing an attenuation profile.
Definition at line 64 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::attenuationXSection = EMPTY_DBL() |
The absorption cross section to set, defaults to EMPTY_DBL()
Definition at line 60 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
std::string Mantid::DataHandling::ReadMaterial::MaterialParameters::chemicalSymbol = "" |
The chemical formula to set, defaults to the empty string.
Definition at line 34 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::coherentXSection = EMPTY_DBL() |
The coherent scattering cross section to set, defaults to EMPTY_DBL()
Definition at line 56 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::incoherentXSection = EMPTY_DBL() |
The incoherent scattering cross section to set, defaults to EMPTY_DBL()
Definition at line 58 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::mass = EMPTY_DBL() |
The sample mass to set, defaults to EMPTY_DBL()
Definition at line 52 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), and Mantid::DataHandling::SetSampleMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::massDensity = EMPTY_DBL() |
The sample mass density to set, defaults to EMPTY_DBL()
Definition at line 50 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
int Mantid::DataHandling::ReadMaterial::MaterialParameters::massNumber = 0 |
The mass number to set, defaults to 0.
Definition at line 38 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::numberDensity = EMPTY_DBL() |
The sample number density to set, defaults to EMPTY_DBL()
Definition at line 40 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::numberDensityEffective = EMPTY_DBL() |
The sample effective number density.
Definition at line 42 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
Kernel::MaterialBuilder::NumberDensityUnit Mantid::DataHandling::ReadMaterial::MaterialParameters::numberDensityUnit = Kernel::MaterialBuilder::NumberDensityUnit::Atoms |
A flag indicating the unit of sampleNumberDensity.
Definition at line 68 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), and Mantid::DataHandling::SetSampleMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::packingFraction = EMPTY_DBL() |
The sample packing fraction.
Definition at line 44 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::scatteringXSection = EMPTY_DBL() |
The total scattering cross section to set, defaults to EMPTY_DBL()
Definition at line 62 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::unitCellVolume = EMPTY_DBL() |
The unit cell volume to set, defaults to EMPTY_DBL()
Definition at line 48 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::volume = EMPTY_DBL() |
The sample volume to set, defaults to EMPTY_DBL()
Definition at line 54 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::SetSample::setSampleEnvironmentFromXML(), and Mantid::DataHandling::SetSampleMaterial::validateInputs().
std::string Mantid::DataHandling::ReadMaterial::MaterialParameters::xRayAttenuationProfileFileName = "" |
The name or path of a file containing an x ray attenuation profile.
Definition at line 66 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::ReadMaterial::setMaterialParameters(), and Mantid::DataHandling::SetSampleMaterial::validateInputs().
double Mantid::DataHandling::ReadMaterial::MaterialParameters::zParameter = EMPTY_DBL() |
The zParameter to set, defaults to EMPTY_DBL()
Definition at line 46 of file ReadMaterial.h.
Referenced by Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), Mantid::DataHandling::SetSample::setMaterial(), Mantid::DataHandling::ReadMaterial::setMaterialParameters(), Mantid::DataHandling::LoadSampleEnvironment::validateInputs(), Mantid::DataHandling::SetSampleMaterial::validateInputs(), and Mantid::DataHandling::ReadMaterial::validateInputs().