Skip to content
Snippets Groups Projects
Commit 3bfca808 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

disambiguate resample vs multilayer

parent 663cc0ca
No related branches found
No related tags found
1 merge request!907Core cleanup
......@@ -33,8 +33,8 @@ std::vector<complex_t> swigAPI::materialProfileSLD(const MultiLayer& multilayer,
{
SimulationOptions options;
options.setUseAvgMaterials(true);
const reSample sample = reSample::make(multilayer, options);
ProfileHelper helper(sample.averageSlices());
const reSample resample = reSample::make(multilayer, options);
ProfileHelper helper(resample.averageSlices());
std::vector<double> z_values = generateZValues(n_points, z_min, z_max);
return helper.calculateProfile(z_values);
}
......@@ -43,7 +43,7 @@ std::pair<double, double> swigAPI::defaultMaterialProfileLimits(const MultiLayer
{
SimulationOptions options;
options.setUseAvgMaterials(true);
const reSample sample = reSample::make(multilayer, options);
ProfileHelper helper(sample.averageSlices());
const reSample resample = reSample::make(multilayer, options);
ProfileHelper helper(resample.averageSlices());
return helper.defaultLimits();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment