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

rm unused standard TwoLayerRoughnessBuilder

parent 0796ec30
No related branches found
No related tags found
1 merge request!383rm unused code
......@@ -48,6 +48,5 @@ class MultiLayer;
#include "Sample/StandardSamples/ThickAbsorptiveSampleBuilder.h"
#include "Sample/StandardSamples/TransformationsBuilder.h"
#include "Sample/StandardSamples/TwoDimLatticeBuilder.h"
#include "Sample/StandardSamples/TwoLayerRoughnessBuilder.h"
#endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_EXEMPLARYSAMPLES_H
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Sample/StandardSamples/TwoLayerRoughnessBuilder.cpp
//! @brief Implement class TwoLayerRoughnessBuilder.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#include "Sample/StandardSamples/TwoLayerRoughnessBuilder.h"
#include "Sample/Interface/LayerRoughness.h"
#include "Sample/Multilayer/Layer.h"
#include "Sample/Multilayer/MultiLayer.h"
#include "Sample/StandardSamples/ReferenceMaterials.h"
MultiLayer* ExemplarySamples::createTwoLayerRoughness()
{
const double m_sigma(1.0);
const double m_hurst(0.3);
const double m_lateralCorrLength(5.0);
Layer vacuum_layer(refMat::Vacuum, 0);
Layer substrate_layer(refMat::Substrate, 0);
LayerRoughness roughness(m_sigma, m_hurst, m_lateralCorrLength);
MultiLayer* sample = new MultiLayer();
sample->addLayer(vacuum_layer);
sample->addLayerWithTopRoughness(substrate_layer, roughness);
return sample;
}
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Sample/StandardSamples/TwoLayerRoughnessBuilder.h
//! @brief Defines class TwoLayerRoughnessBuilder.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#ifdef SWIG
#error no need to expose this header to Swig
#endif
#ifndef USER_API
#ifndef BORNAGAIN_SAMPLE_STANDARDSAMPLES_TWOLAYERROUGHNESSBUILDER_H
#define BORNAGAIN_SAMPLE_STANDARDSAMPLES_TWOLAYERROUGHNESSBUILDER_H
class MultiLayer;
//! Builds sample: two layers with rough interface.
//! @ingroup standard_samples
namespace ExemplarySamples {
MultiLayer* createTwoLayerRoughness();
} // namespace ExemplarySamples
#endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_TWOLAYERROUGHNESSBUILDER_H
#endif // USER_API
......@@ -5930,9 +5930,6 @@ Returns a body-centered cubic (cI) lattice with edge length a. TODO: Clarify mea
%feature("docstring") ExemplarySamples::createSuperLattice "MultiLayer * ExemplarySamples::createSuperLattice()
";
%feature("docstring") ExemplarySamples::createTwoLayerRoughness "MultiLayer * ExemplarySamples::createTwoLayerRoughness()
";
// File: namespaceMaterialUtils.xml
%feature("docstring") MaterialUtils::ScalarReducedPotential "complex_t MaterialUtils::ScalarReducedPotential(complex_t n, R3 k, double n_ref)
......@@ -6976,12 +6973,6 @@ Generate vertices of centered ellipse with given semi-axes at height z.
// File: TwoDimLatticeBuilder_8h.xml
// File: TwoLayerRoughnessBuilder_8cpp.xml
// File: TwoLayerRoughnessBuilder_8h.xml
// File: dir_220e7f16e10b4e45e27e10ed0346ff0c.xml
......
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