16 #ifndef BORNAGAIN_SAMPLE_PROCESSED_MULTILAYERFUNCS_H
17 #define BORNAGAIN_SAMPLE_PROCESSED_MULTILAYERFUNCS_H
30 std::vector<double>
generateZValues(
int n_points,
double z_min,
double z_max);
Defines complex_t, and a few elementary functions.
Our sample model: a stack of layers one below the other.
std::vector< complex_t > materialProfileSLD(const MultiLayer &multilayer, int n_points, double z_min, double z_max)
Calculate average material profile for given multilayer.
std::pair< double, double > defaultMaterialProfileLimits(const MultiLayer &multilayer)
Get default z limits for generating a material profile.
std::vector< double > generateZValues(int n_points, double z_min, double z_max)