9#include "MantidDataHandling/DllConfig.h"
17namespace DataHandling {
34 std::string chemicalSymbol =
"";
64 std::string attenuationProfileFileName =
"";
66 std::string xRayAttenuationProfileFileName =
"";
90 std::unique_ptr<Kernel::Material> buildMaterial();
99 void setMaterial(
const std::string &chemicalSymbol,
const int atomicNumber,
const int massNumber);
101 void setNumberDensity(
const double rho_m,
const double rho,
const double rho_eff,
const double pFrac,
103 const double unitCellVolume);
104 void setScatteringInfo(
double coherentXSection,
double incoherentXSection,
double attenuationXSection,
105 double scatteringXSection, std::string attenuationProfileFileName,
106 std::string xRayAttenuationProfileFileName);
108 static bool isEmpty(
const double toCheck);
This class contains code for interpreting a material input for SetSampleMaterial, validating the para...
Kernel::MaterialBuilder builder
The builder used to construct the material.
Create a material from a set of user defined options.
std::map< std::string, std::string > ValidationErrors
Helper class which provides the Collimation Length for SANS instruments.
constexpr double EMPTY_DBL() noexcept
Returns what we consider an "empty" double within a property.
This struct contains the parameters for constructing a material, and gives them a default value for e...