Skip to content
Snippets Groups Projects
Commit 81c581ad authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

cleanup

parent 85c3a9ce
No related branches found
No related tags found
1 merge request!2741GUI sample builder supports periodic stacks (#20)
Pipeline #167867 failed
......@@ -43,17 +43,12 @@ Sample* createMultiLayerWithInterlayerModel(const InterlayerModel* interlayerMod
Layer partB_layer(part_b_material, thicknessB, &roughness);
Layer substrate_layer(substrate_material, &roughness);
auto* sample = new Sample;
sample->addLayer(vacuum_layer);
LayerStack stack(5);
stack.addLayer(partA_layer);
stack.addLayer(partB_layer);
// for (int i = 0; i < 5; ++i) {
// sample->addLayer(partA_layer);
// sample->addLayer(partB_layer);
// }
auto* sample = new Sample;
sample->addLayer(vacuum_layer);
sample->addStack(stack);
sample->addLayer(substrate_layer);
return sample;
......
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