BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
bool | isAngleRelated (const std::string &par_name) |
Returns true if given parameter name is related to angles. More... | |
std::string | poolParameterUnits (const IParametricComponent &node, const std::string &parName) |
Returns units of main parameter. More... | |
bool ParameterUtils::isAngleRelated | ( | const std::string & | par_name | ) |
Returns true if given parameter name is related to angles.
Definition at line 31 of file ParameterUtils.cpp.
Referenced by ParticleDistributionItem::createParticleDistribution().
std::string ParameterUtils::poolParameterUnits | ( | const IParametricComponent & | node, |
const std::string & | parName | ||
) |
Returns units of main parameter.
Definition at line 42 of file ParameterUtils.cpp.
References IParametricComponent::createParameterTree(), ParameterPool::getUniqueMatch(), and RealParameter::unit().
Referenced by ParticleDistribution::mainUnits().