BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
std::pair< double, double > | defaultMaterialProfileLimits (const MultiLayer &multilayer) |
Get default z limits for generating a material profile. More... | |
std::vector< double > | generateZValues (int n_points, double z_min, double z_max) |
std::vector< complex_t > | materialProfileSLD (const MultiLayer &multilayer, int n_points, double z_min, double z_max) |
Calculate average material profile for given multilayer. More... | |
Functions that are only used in the swig *.i files
std::pair< double, double > swigAPI::defaultMaterialProfileLimits | ( | const MultiLayer & | multilayer | ) |
Get default z limits for generating a material profile.
Definition at line 43 of file MultiLayerFuncs.cpp.
References ProfileHelper::defaultLimits(), and SimulationOptions::setUseAvgMaterials().
std::vector< double > swigAPI::generateZValues | ( | int | n_points, |
double | z_min, | ||
double | z_max | ||
) |
std::vector< complex_t > swigAPI::materialProfileSLD | ( | const MultiLayer & | multilayer, |
int | n_points, | ||
double | z_min, | ||
double | z_max | ||
) |
Calculate average material profile for given multilayer.
Definition at line 32 of file MultiLayerFuncs.cpp.
References ProfileHelper::calculateProfile(), generateZValues(), and SimulationOptions::setUseAvgMaterials().