From fd7a8df3c89b6d7893dede9fc24bbf6849bc47af Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Tue, 6 Jul 2021 17:00:23 +0200 Subject: [PATCH] finish move to Resample/ --- Core/Computation/DWBAComputation.cpp | 2 +- Core/Computation/GISASSpecularComputation.cpp | 2 +- Core/Computation/ParticleLayoutComputation.cpp | 4 ++-- Core/Computation/RoughMultiLayerComputation.cpp | 6 +++--- Core/Element/SpecularSimulationElement.cpp | 2 +- Core/Term/DepthProbeComputationTerm.cpp | 2 +- Core/Term/SpecularComputationTerm.cpp | 2 +- Core/Term/SpecularComputationTerm.h | 2 +- {Sample => Resample}/FFCompute/ComputeBA.cpp | 4 ++-- {Sample => Resample}/FFCompute/ComputeBA.h | 10 +++++----- {Sample => Resample}/FFCompute/ComputeBAPol.cpp | 4 ++-- {Sample => Resample}/FFCompute/ComputeBAPol.h | 10 +++++----- {Sample => Resample}/FFCompute/ComputeDWBA.cpp | 4 ++-- {Sample => Resample}/FFCompute/ComputeDWBA.h | 10 +++++----- .../FFCompute/ComputeDWBAPol.cpp | 4 ++-- {Sample => Resample}/FFCompute/ComputeDWBAPol.h | 10 +++++----- {Sample => Resample}/FFCompute/IComputeFF.cpp | 4 ++-- {Sample => Resample}/FFCompute/IComputeFF.h | 8 ++++---- .../Fresnel/FormFactorCoherentPart.cpp | 8 ++++---- .../Fresnel/FormFactorCoherentPart.h | 8 ++++---- .../Fresnel/FormFactorCoherentSum.cpp | 4 ++-- .../Fresnel/FormFactorCoherentSum.h | 10 +++++----- {Sample => Resample}/Fresnel/IFresnelMap.cpp | 10 +++++----- {Sample => Resample}/Fresnel/IFresnelMap.h | 10 +++++----- .../Fresnel/MatrixFresnelMap.cpp | 8 ++++---- {Sample => Resample}/Fresnel/MatrixFresnelMap.h | 12 ++++++------ .../Fresnel/ScalarFresnelMap.cpp | 4 ++-- {Sample => Resample}/Fresnel/ScalarFresnelMap.h | 12 ++++++------ .../DecouplingApproximationStrategy.cpp | 6 +++--- .../DecouplingApproximationStrategy.h | 10 +++++----- .../IInterferenceFunctionStrategy.cpp | 6 +++--- .../Interference/IInterferenceFunctionStrategy.h | 8 ++++---- .../Interference/SSCApproximationStrategy.cpp | 6 +++--- .../Interference/SSCApproximationStrategy.h | 10 +++++----- Resample/Processed/MaterialSlicer.cpp | 4 ++-- Resample/Processed/ProcessedLayout.cpp | 16 ++++++++-------- Resample/Processed/ProcessedSample.cpp | 10 +++++----- Resample/Processed/ProcessedSample.h | 2 +- Resample/Processed/ProfileHelper.cpp | 4 ++-- {Sample => Resample}/Slice/ISpecularStrategy.h | 8 ++++---- {Sample => Resample}/Slice/KzComputation.cpp | 8 ++++---- {Sample => Resample}/Slice/KzComputation.h | 8 ++++---- {Sample => Resample}/Slice/Slice.cpp | 6 +++--- {Sample => Resample}/Slice/Slice.h | 8 ++++---- {Sample => Resample}/Slice/SliceStack.cpp | 6 +++--- {Sample => Resample}/Slice/SliceStack.h | 8 ++++---- .../Slice/SlicedFormFactorList.cpp | 8 ++++---- .../Slice/SlicedFormFactorList.h | 8 ++++---- .../Specular/SpecularMagneticNCStrategy.cpp | 4 ++-- .../Specular/SpecularMagneticNCStrategy.h | 10 +++++----- .../Specular/SpecularMagneticStrategy.cpp | 10 +++++----- .../Specular/SpecularMagneticStrategy.h | 10 +++++----- .../Specular/SpecularMagneticTanhStrategy.cpp | 4 ++-- .../Specular/SpecularMagneticTanhStrategy.h | 10 +++++----- .../Specular/SpecularScalarNCStrategy.cpp | 4 ++-- .../Specular/SpecularScalarNCStrategy.h | 10 +++++----- .../Specular/SpecularScalarStrategy.cpp | 10 +++++----- .../Specular/SpecularScalarStrategy.h | 10 +++++----- .../Specular/SpecularScalarTanhStrategy.cpp | 4 ++-- .../Specular/SpecularScalarTanhStrategy.h | 10 +++++----- .../Specular/SpecularStrategyBuilder.cpp | 12 ++++++------ .../Specular/SpecularStrategyBuilder.h | 12 ++++++------ .../UnitTests/Core/Fresnel/KzComputationTest.cpp | 2 +- .../Core/Fresnel/SpecularMagneticTest.cpp | 6 +++--- .../UnitTests/Core/Fresnel/SpecularScanTest.cpp | 4 ++-- .../Core/Sample/FormFactorCoherentSumTest.cpp | 4 ++-- .../Core/Sample/MultilayerAveragingTest.cpp | 4 ++-- Tests/UnitTests/Core/Sample/RTTest.cpp | 2 +- gui2/quicksimeditor/materialprofile.cpp | 2 +- gui2/quicksimeditor/profilehelper.cpp | 2 +- gui2/quicksimeditor/profilehelper.h | 2 +- gui2/quicksimeditor/quicksimutils.cpp | 2 +- gui2/quicksimeditor/speculartoysimulation.cpp | 6 +++--- 73 files changed, 241 insertions(+), 241 deletions(-) rename {Sample => Resample}/FFCompute/ComputeBA.cpp (91%) rename {Sample => Resample}/FFCompute/ComputeBA.h (82%) rename {Sample => Resample}/FFCompute/ComputeBAPol.cpp (93%) rename {Sample => Resample}/FFCompute/ComputeBAPol.h (83%) rename {Sample => Resample}/FFCompute/ComputeDWBA.cpp (97%) rename {Sample => Resample}/FFCompute/ComputeDWBA.h (85%) rename {Sample => Resample}/FFCompute/ComputeDWBAPol.cpp (99%) rename {Sample => Resample}/FFCompute/ComputeDWBAPol.h (86%) rename {Sample => Resample}/FFCompute/IComputeFF.cpp (94%) rename {Sample => Resample}/FFCompute/IComputeFF.h (90%) rename {Sample => Resample}/Fresnel/FormFactorCoherentPart.cpp (92%) rename {Sample => Resample}/Fresnel/FormFactorCoherentPart.h (86%) rename {Sample => Resample}/Fresnel/FormFactorCoherentSum.cpp (93%) rename {Sample => Resample}/Fresnel/FormFactorCoherentSum.h (82%) rename {Sample => Resample}/Fresnel/IFresnelMap.cpp (81%) rename {Sample => Resample}/Fresnel/IFresnelMap.h (89%) rename {Sample => Resample}/Fresnel/MatrixFresnelMap.cpp (93%) rename {Sample => Resample}/Fresnel/MatrixFresnelMap.h (88%) rename {Sample => Resample}/Fresnel/ScalarFresnelMap.cpp (95%) rename {Sample => Resample}/Fresnel/ScalarFresnelMap.h (86%) rename {Sample => Resample}/Interference/DecouplingApproximationStrategy.cpp (94%) rename {Sample => Resample}/Interference/DecouplingApproximationStrategy.h (80%) rename {Sample => Resample}/Interference/IInterferenceFunctionStrategy.cpp (93%) rename {Sample => Resample}/Interference/IInterferenceFunctionStrategy.h (90%) rename {Sample => Resample}/Interference/SSCApproximationStrategy.cpp (96%) rename {Sample => Resample}/Interference/SSCApproximationStrategy.h (85%) rename {Sample => Resample}/Slice/ISpecularStrategy.h (88%) rename {Sample => Resample}/Slice/KzComputation.cpp (95%) rename {Sample => Resample}/Slice/KzComputation.h (91%) rename {Sample => Resample}/Slice/Slice.cpp (96%) rename {Sample => Resample}/Slice/Slice.h (93%) rename {Sample => Resample}/Slice/SliceStack.cpp (95%) rename {Sample => Resample}/Slice/SliceStack.h (87%) rename {Sample => Resample}/Slice/SlicedFormFactorList.cpp (96%) rename {Sample => Resample}/Slice/SlicedFormFactorList.h (87%) rename {Sample => Resample}/Specular/SpecularMagneticNCStrategy.cpp (96%) rename {Sample => Resample}/Specular/SpecularMagneticNCStrategy.h (83%) rename {Sample => Resample}/Specular/SpecularMagneticStrategy.cpp (97%) rename {Sample => Resample}/Specular/SpecularMagneticStrategy.h (90%) rename {Sample => Resample}/Specular/SpecularMagneticTanhStrategy.cpp (96%) rename {Sample => Resample}/Specular/SpecularMagneticTanhStrategy.h (82%) rename {Sample => Resample}/Specular/SpecularScalarNCStrategy.cpp (91%) rename {Sample => Resample}/Specular/SpecularScalarNCStrategy.h (83%) rename {Sample => Resample}/Specular/SpecularScalarStrategy.cpp (95%) rename {Sample => Resample}/Specular/SpecularScalarStrategy.h (90%) rename {Sample => Resample}/Specular/SpecularScalarTanhStrategy.cpp (91%) rename {Sample => Resample}/Specular/SpecularScalarTanhStrategy.h (82%) rename {Sample => Resample}/Specular/SpecularStrategyBuilder.cpp (82%) rename {Sample => Resample}/Specular/SpecularStrategyBuilder.h (73%) diff --git a/Core/Computation/DWBAComputation.cpp b/Core/Computation/DWBAComputation.cpp index 648552caac2..c573c63b7a6 100644 --- a/Core/Computation/DWBAComputation.cpp +++ b/Core/Computation/DWBAComputation.cpp @@ -18,7 +18,7 @@ #include "Core/Computation/GISASSpecularComputation.h" #include "Core/Computation/ParticleLayoutComputation.h" #include "Core/Computation/RoughMultiLayerComputation.h" -#include "Sample/Fresnel/IFresnelMap.h" +#include "Resample/Fresnel/IFresnelMap.h" #include "Sample/Multilayer/MultiLayer.h" #include "Resample/Processed/ProcessedSample.h" diff --git a/Core/Computation/GISASSpecularComputation.cpp b/Core/Computation/GISASSpecularComputation.cpp index b339b94f008..52f97d537d2 100644 --- a/Core/Computation/GISASSpecularComputation.cpp +++ b/Core/Computation/GISASSpecularComputation.cpp @@ -14,7 +14,7 @@ #include "Core/Computation/GISASSpecularComputation.h" #include "Base/Pixel/SimulationElement.h" -#include "Sample/Fresnel/IFresnelMap.h" +#include "Resample/Fresnel/IFresnelMap.h" #include "Sample/RT/ILayerRTCoefficients.h" GISASSpecularComputation::GISASSpecularComputation(const IFresnelMap* p_fresnel_map) diff --git a/Core/Computation/ParticleLayoutComputation.cpp b/Core/Computation/ParticleLayoutComputation.cpp index d37678b9f8d..f68db3ce508 100644 --- a/Core/Computation/ParticleLayoutComputation.cpp +++ b/Core/Computation/ParticleLayoutComputation.cpp @@ -15,8 +15,8 @@ #include "Core/Computation/ParticleLayoutComputation.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/Aggregate/InterferenceFunctionRadialParaCrystal.h" -#include "Sample/Interference/DecouplingApproximationStrategy.h" -#include "Sample/Interference/SSCApproximationStrategy.h" +#include "Resample/Interference/DecouplingApproximationStrategy.h" +#include "Resample/Interference/SSCApproximationStrategy.h" #include "Resample/Processed/ProcessedLayout.h" namespace { diff --git a/Core/Computation/RoughMultiLayerComputation.cpp b/Core/Computation/RoughMultiLayerComputation.cpp index 54309675d0a..83e57d4e482 100644 --- a/Core/Computation/RoughMultiLayerComputation.cpp +++ b/Core/Computation/RoughMultiLayerComputation.cpp @@ -15,15 +15,15 @@ #include "Core/Computation/RoughMultiLayerComputation.h" #include "Base/Math/Constants.h" #include "Base/Pixel/SimulationElement.h" -#include "Sample/Fresnel/IFresnelMap.h" +#include "Resample/Fresnel/IFresnelMap.h" #include "Sample/Interface/LayerInterface.h" #include "Sample/Interface/LayerRoughness.h" #include "Sample/Multilayer/Layer.h" #include "Sample/Multilayer/MultiLayer.h" #include "Resample/Processed/ProcessedSample.h" #include "Sample/RT/ILayerRTCoefficients.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" #include <cerfcpp.h> diff --git a/Core/Element/SpecularSimulationElement.cpp b/Core/Element/SpecularSimulationElement.cpp index 9d25627e4a9..9c5fbf6abbc 100644 --- a/Core/Element/SpecularSimulationElement.cpp +++ b/Core/Element/SpecularSimulationElement.cpp @@ -15,7 +15,7 @@ #include "Core/Element/SpecularSimulationElement.h" #include "Device/Detector/IDetector.h" #include "Device/Instrument/Instrument.h" -#include "Sample/Slice/KzComputation.h" +#include "Resample/Slice/KzComputation.h" SpecularSimulationElement::SpecularSimulationElement(double kz, const Instrument& instrument, bool computable) diff --git a/Core/Term/DepthProbeComputationTerm.cpp b/Core/Term/DepthProbeComputationTerm.cpp index 01acdb56592..cef49db7697 100644 --- a/Core/Term/DepthProbeComputationTerm.cpp +++ b/Core/Term/DepthProbeComputationTerm.cpp @@ -16,7 +16,7 @@ #include "Base/Axis/IAxis.h" #include "Base/Progress/DelayedProgressCounter.h" #include "Core/Element/DepthProbeElement.h" -#include "Sample/Fresnel/IFresnelMap.h" +#include "Resample/Fresnel/IFresnelMap.h" #include "Resample/Processed/ProcessedSample.h" #include "Sample/RT/ILayerRTCoefficients.h" diff --git a/Core/Term/SpecularComputationTerm.cpp b/Core/Term/SpecularComputationTerm.cpp index 911792883d0..7f03910baad 100644 --- a/Core/Term/SpecularComputationTerm.cpp +++ b/Core/Term/SpecularComputationTerm.cpp @@ -16,7 +16,7 @@ #include "Base/Progress/DelayedProgressCounter.h" #include "Core/Element/SpecularSimulationElement.h" #include "Sample/RT/ILayerRTCoefficients.h" -#include "Sample/Specular/SpecularStrategyBuilder.h" +#include "Resample/Specular/SpecularStrategyBuilder.h" // ************************************************************************************************ // class SpecularComputationTerm diff --git a/Core/Term/SpecularComputationTerm.h b/Core/Term/SpecularComputationTerm.h index 459c346392d..67c8ab4b256 100644 --- a/Core/Term/SpecularComputationTerm.h +++ b/Core/Term/SpecularComputationTerm.h @@ -20,7 +20,7 @@ #ifndef BORNAGAIN_CORE_TERM_SPECULARCOMPUTATIONTERM_H #define BORNAGAIN_CORE_TERM_SPECULARCOMPUTATIONTERM_H -#include "Sample/Slice/ISpecularStrategy.h" +#include "Resample/Slice/ISpecularStrategy.h" #include <memory> #include <vector> diff --git a/Sample/FFCompute/ComputeBA.cpp b/Resample/FFCompute/ComputeBA.cpp similarity index 91% rename from Sample/FFCompute/ComputeBA.cpp rename to Resample/FFCompute/ComputeBA.cpp index 7784c1465c6..773e4de4970 100644 --- a/Sample/FFCompute/ComputeBA.cpp +++ b/Resample/FFCompute/ComputeBA.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeBA.cpp +//! @file Resample/FFCompute/ComputeBA.cpp //! @brief Implements class ComputeBA. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/FFCompute/ComputeBA.h" +#include "Resample/FFCompute/ComputeBA.h" #include "Sample/Material/WavevectorInfo.h" #include "Sample/Scattering/IFormFactor.h" diff --git a/Sample/FFCompute/ComputeBA.h b/Resample/FFCompute/ComputeBA.h similarity index 82% rename from Sample/FFCompute/ComputeBA.h rename to Resample/FFCompute/ComputeBA.h index e86784ceffb..dcff187db01 100644 --- a/Sample/FFCompute/ComputeBA.h +++ b/Resample/FFCompute/ComputeBA.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeBA.h +//! @file Resample/FFCompute/ComputeBA.h //! @brief Defines class ComputeBA. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBA_H -#define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBA_H +#ifndef BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBA_H +#define BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBA_H -#include "Sample/FFCompute/IComputeFF.h" +#include "Resample/FFCompute/IComputeFF.h" #include <memory> //! Provides scalar form factor evaluation in Born Approximation for given IFormFactor. @@ -38,5 +38,5 @@ public: complex_t evaluate(const WavevectorInfo& wavevectors) const override; }; -#endif // BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBA_H +#endif // BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBA_H #endif // USER_API diff --git a/Sample/FFCompute/ComputeBAPol.cpp b/Resample/FFCompute/ComputeBAPol.cpp similarity index 93% rename from Sample/FFCompute/ComputeBAPol.cpp rename to Resample/FFCompute/ComputeBAPol.cpp index 53a7d1139d3..00b0bcc4ec1 100644 --- a/Sample/FFCompute/ComputeBAPol.cpp +++ b/Resample/FFCompute/ComputeBAPol.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeBAPol.cpp +//! @file Resample/FFCompute/ComputeBAPol.cpp //! @brief Defines class ComputeBAPol. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/FFCompute/ComputeBAPol.h" +#include "Resample/FFCompute/ComputeBAPol.h" #include "Sample/Material/WavevectorInfo.h" #include <stdexcept> diff --git a/Sample/FFCompute/ComputeBAPol.h b/Resample/FFCompute/ComputeBAPol.h similarity index 83% rename from Sample/FFCompute/ComputeBAPol.h rename to Resample/FFCompute/ComputeBAPol.h index e8e55863782..5934d86d7b7 100644 --- a/Sample/FFCompute/ComputeBAPol.h +++ b/Resample/FFCompute/ComputeBAPol.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeBAPol.h +//! @file Resample/FFCompute/ComputeBAPol.h //! @brief Defines class ComputeBAPol. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBAPOL_H -#define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBAPOL_H +#ifndef BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBAPOL_H +#define BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBAPOL_H -#include "Sample/FFCompute/IComputeFF.h" +#include "Resample/FFCompute/IComputeFF.h" #include "Sample/Scattering/IFormFactor.h" #include <memory> @@ -42,5 +42,5 @@ public: Eigen::Matrix2cd evaluatePol(const WavevectorInfo& wavevectors) const override; }; -#endif // BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBAPOL_H +#endif // BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEBAPOL_H #endif // USER_API diff --git a/Sample/FFCompute/ComputeDWBA.cpp b/Resample/FFCompute/ComputeDWBA.cpp similarity index 97% rename from Sample/FFCompute/ComputeDWBA.cpp rename to Resample/FFCompute/ComputeDWBA.cpp index 7a89ef7a1a4..a9a9db167a2 100644 --- a/Sample/FFCompute/ComputeDWBA.cpp +++ b/Resample/FFCompute/ComputeDWBA.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeDWBA.cpp +//! @file Resample/FFCompute/ComputeDWBA.cpp //! @brief Implements class ComputeDWBA. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/FFCompute/ComputeDWBA.h" +#include "Resample/FFCompute/ComputeDWBA.h" #include "Sample/Material/WavevectorInfo.h" #include "Sample/RT/ILayerRTCoefficients.h" #include "Sample/Scattering/IFormFactor.h" diff --git a/Sample/FFCompute/ComputeDWBA.h b/Resample/FFCompute/ComputeDWBA.h similarity index 85% rename from Sample/FFCompute/ComputeDWBA.h rename to Resample/FFCompute/ComputeDWBA.h index 1fda2cb6e92..15cebab05a5 100644 --- a/Sample/FFCompute/ComputeDWBA.h +++ b/Resample/FFCompute/ComputeDWBA.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeDWBA.h +//! @file Resample/FFCompute/ComputeDWBA.h //! @brief Defines class ComputeDWBA. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBA_H -#define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBA_H +#ifndef BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBA_H +#define BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBA_H -#include "Sample/FFCompute/IComputeFF.h" +#include "Resample/FFCompute/IComputeFF.h" #include <memory> class ILayerRTCoefficients; @@ -49,5 +49,5 @@ private: std::unique_ptr<const ILayerRTCoefficients> m_out_coeffs; }; -#endif // BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBA_H +#endif // BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBA_H #endif // USER_API diff --git a/Sample/FFCompute/ComputeDWBAPol.cpp b/Resample/FFCompute/ComputeDWBAPol.cpp similarity index 99% rename from Sample/FFCompute/ComputeDWBAPol.cpp rename to Resample/FFCompute/ComputeDWBAPol.cpp index c47bd340080..92667c63eac 100644 --- a/Sample/FFCompute/ComputeDWBAPol.cpp +++ b/Resample/FFCompute/ComputeDWBAPol.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeDWBAPol.cpp +//! @file Resample/FFCompute/ComputeDWBAPol.cpp //! @brief Defines class ComputeDWBAPol. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/FFCompute/ComputeDWBAPol.h" +#include "Resample/FFCompute/ComputeDWBAPol.h" #include "Sample/Material/WavevectorInfo.h" #include "Sample/RT/ILayerRTCoefficients.h" #include "Sample/Scattering/IFormFactor.h" diff --git a/Sample/FFCompute/ComputeDWBAPol.h b/Resample/FFCompute/ComputeDWBAPol.h similarity index 86% rename from Sample/FFCompute/ComputeDWBAPol.h rename to Resample/FFCompute/ComputeDWBAPol.h index 9939d4cc115..d1ee62843b7 100644 --- a/Sample/FFCompute/ComputeDWBAPol.h +++ b/Resample/FFCompute/ComputeDWBAPol.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/ComputeDWBAPol.h +//! @file Resample/FFCompute/ComputeDWBAPol.h //! @brief Defines class ComputeDWBAPol. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H -#define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H +#ifndef BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H +#define BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H -#include "Sample/FFCompute/IComputeFF.h" +#include "Resample/FFCompute/IComputeFF.h" #include <memory> class ILayerRTCoefficients; @@ -52,5 +52,5 @@ private: std::unique_ptr<const ILayerRTCoefficients> m_out_coeffs; }; -#endif // BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H +#endif // BORNAGAIN_RESAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H #endif // USER_API diff --git a/Sample/FFCompute/IComputeFF.cpp b/Resample/FFCompute/IComputeFF.cpp similarity index 94% rename from Sample/FFCompute/IComputeFF.cpp rename to Resample/FFCompute/IComputeFF.cpp index 4af2aaaf7b0..2fec9fbc610 100644 --- a/Sample/FFCompute/IComputeFF.cpp +++ b/Resample/FFCompute/IComputeFF.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/IComputeFF.cpp +//! @file Resample/FFCompute/IComputeFF.cpp //! @brief Implements interface class IFormFactor. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/FFCompute/IComputeFF.h" +#include "Resample/FFCompute/IComputeFF.h" #include "Sample/RT/ILayerRTCoefficients.h" // required by VS19 compiler #include "Sample/Scattering/IFormFactor.h" #include <stdexcept> diff --git a/Sample/FFCompute/IComputeFF.h b/Resample/FFCompute/IComputeFF.h similarity index 90% rename from Sample/FFCompute/IComputeFF.h rename to Resample/FFCompute/IComputeFF.h index 7980a0b5109..9e08e18c5e0 100644 --- a/Sample/FFCompute/IComputeFF.h +++ b/Resample/FFCompute/IComputeFF.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/FFCompute/IComputeFF.h +//! @file Resample/FFCompute/IComputeFF.h //! @brief Defines and implements interface IFormFactor. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_ICOMPUTEFF_H -#define BORNAGAIN_SAMPLE_FFCOMPUTE_ICOMPUTEFF_H +#ifndef BORNAGAIN_RESAMPLE_FFCOMPUTE_ICOMPUTEFF_H +#define BORNAGAIN_RESAMPLE_FFCOMPUTE_ICOMPUTEFF_H #include "Base/Types/Complex.h" #include <Eigen/Core> @@ -62,5 +62,5 @@ protected: std::unique_ptr<IFormFactor> m_ff; }; -#endif // BORNAGAIN_SAMPLE_FFCOMPUTE_ICOMPUTEFF_H +#endif // BORNAGAIN_RESAMPLE_FFCOMPUTE_ICOMPUTEFF_H #endif // USER_API diff --git a/Sample/Fresnel/FormFactorCoherentPart.cpp b/Resample/Fresnel/FormFactorCoherentPart.cpp similarity index 92% rename from Sample/Fresnel/FormFactorCoherentPart.cpp rename to Resample/Fresnel/FormFactorCoherentPart.cpp index 7c668d82c29..d2c61321344 100644 --- a/Sample/Fresnel/FormFactorCoherentPart.cpp +++ b/Resample/Fresnel/FormFactorCoherentPart.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/FormFactorCoherentPart.cpp +//! @file Resample/Fresnel/FormFactorCoherentPart.cpp //! @brief Implements class FormFactorCoherentPart. //! //! @homepage http://www.bornagainproject.org @@ -12,11 +12,11 @@ // // ************************************************************************************************ -#include "Sample/Fresnel/FormFactorCoherentPart.h" +#include "Resample/Fresnel/FormFactorCoherentPart.h" #include "Base/Pixel/SimulationElement.h" #include "Base/Utils/Assert.h" -#include "Sample/FFCompute/IComputeFF.h" -#include "Sample/Fresnel/IFresnelMap.h" +#include "Resample/FFCompute/IComputeFF.h" +#include "Resample/Fresnel/IFresnelMap.h" #include "Sample/Material/WavevectorInfo.h" #include "Sample/RT/ILayerRTCoefficients.h" diff --git a/Sample/Fresnel/FormFactorCoherentPart.h b/Resample/Fresnel/FormFactorCoherentPart.h similarity index 86% rename from Sample/Fresnel/FormFactorCoherentPart.h rename to Resample/Fresnel/FormFactorCoherentPart.h index 4ddc5abcbab..05b04ef7e02 100644 --- a/Sample/Fresnel/FormFactorCoherentPart.h +++ b/Resample/Fresnel/FormFactorCoherentPart.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/FormFactorCoherentPart.h +//! @file Resample/Fresnel/FormFactorCoherentPart.h //! @brief Defines class FormFactorCoherentPart. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H -#define BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H +#ifndef BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H +#define BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H #include "Base/Types/Complex.h" #include "Base/Vector/EigenCore.h" @@ -50,5 +50,5 @@ private: const size_t m_layer_index; }; -#endif // BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H +#endif // BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTPART_H #endif // USER_API diff --git a/Sample/Fresnel/FormFactorCoherentSum.cpp b/Resample/Fresnel/FormFactorCoherentSum.cpp similarity index 93% rename from Sample/Fresnel/FormFactorCoherentSum.cpp rename to Resample/Fresnel/FormFactorCoherentSum.cpp index 2b374188c5e..c7aec64163e 100644 --- a/Sample/Fresnel/FormFactorCoherentSum.cpp +++ b/Resample/Fresnel/FormFactorCoherentSum.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/FormFactorCoherentSum.cpp +//! @file Resample/Fresnel/FormFactorCoherentSum.cpp //! @brief Implements class FormFactorCoherentSum. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" FormFactorCoherentSum::FormFactorCoherentSum(double abundance, const std::vector<FormFactorCoherentPart>& parts) diff --git a/Sample/Fresnel/FormFactorCoherentSum.h b/Resample/Fresnel/FormFactorCoherentSum.h similarity index 82% rename from Sample/Fresnel/FormFactorCoherentSum.h rename to Resample/Fresnel/FormFactorCoherentSum.h index c3d931fdfba..1bafa19151e 100644 --- a/Sample/Fresnel/FormFactorCoherentSum.h +++ b/Resample/Fresnel/FormFactorCoherentSum.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/FormFactorCoherentSum.h +//! @file Resample/Fresnel/FormFactorCoherentSum.h //! @brief Defines class FormFactorCoherentSum. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H -#define BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H +#ifndef BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H +#define BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H -#include "Sample/Fresnel/FormFactorCoherentPart.h" +#include "Resample/Fresnel/FormFactorCoherentPart.h" #include <vector> class SimulationElement; @@ -47,5 +47,5 @@ private: const std::vector<FormFactorCoherentPart> m_parts; }; -#endif // BORNAGAIN_SAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H +#endif // BORNAGAIN_RESAMPLE_FRESNEL_FORMFACTORCOHERENTSUM_H #endif // USER_API diff --git a/Sample/Fresnel/IFresnelMap.cpp b/Resample/Fresnel/IFresnelMap.cpp similarity index 81% rename from Sample/Fresnel/IFresnelMap.cpp rename to Resample/Fresnel/IFresnelMap.cpp index 1c1cdcbb75b..e5d2285a80b 100644 --- a/Sample/Fresnel/IFresnelMap.cpp +++ b/Resample/Fresnel/IFresnelMap.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/IFresnelMap.cpp +//! @file Resample/Fresnel/IFresnelMap.cpp //! @brief Implements interface IFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -12,10 +12,10 @@ // // ************************************************************************************************ -#include "Sample/Fresnel/IFresnelMap.h" -#include "Sample/Slice/ISpecularStrategy.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Fresnel/IFresnelMap.h" +#include "Resample/Slice/ISpecularStrategy.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" IFresnelMap::IFresnelMap(const SliceStack& stack, std::unique_ptr<ISpecularStrategy>&& strategy, bool useCache) diff --git a/Sample/Fresnel/IFresnelMap.h b/Resample/Fresnel/IFresnelMap.h similarity index 89% rename from Sample/Fresnel/IFresnelMap.h rename to Resample/Fresnel/IFresnelMap.h index 427895829ed..1e15d712fdd 100644 --- a/Sample/Fresnel/IFresnelMap.h +++ b/Resample/Fresnel/IFresnelMap.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/IFresnelMap.h +//! @file Resample/Fresnel/IFresnelMap.h //! @brief Defines interface IFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FRESNEL_IFRESNELMAP_H -#define BORNAGAIN_SAMPLE_FRESNEL_IFRESNELMAP_H +#ifndef BORNAGAIN_RESAMPLE_FRESNEL_IFRESNELMAP_H +#define BORNAGAIN_RESAMPLE_FRESNEL_IFRESNELMAP_H #include "Base/Vector/Vectors3D.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/SliceStack.h" #include <memory> class ILayerRTCoefficients; @@ -62,5 +62,5 @@ protected: const bool m_use_cache; }; -#endif // BORNAGAIN_SAMPLE_FRESNEL_IFRESNELMAP_H +#endif // BORNAGAIN_RESAMPLE_FRESNEL_IFRESNELMAP_H #endif // USER_API diff --git a/Sample/Fresnel/MatrixFresnelMap.cpp b/Resample/Fresnel/MatrixFresnelMap.cpp similarity index 93% rename from Sample/Fresnel/MatrixFresnelMap.cpp rename to Resample/Fresnel/MatrixFresnelMap.cpp index 87b8e3ea1c2..e91f6deaa1b 100644 --- a/Sample/Fresnel/MatrixFresnelMap.cpp +++ b/Resample/Fresnel/MatrixFresnelMap.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/MatrixFresnelMap.cpp +//! @file Resample/Fresnel/MatrixFresnelMap.cpp //! @brief Implements class MatrixFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -12,11 +12,11 @@ // // ************************************************************************************************ -#include "Sample/Fresnel/MatrixFresnelMap.h" +#include "Resample/Fresnel/MatrixFresnelMap.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/RT/ILayerRTCoefficients.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" MatrixFresnelMap::MatrixFresnelMap(const SliceStack& stack, std::unique_ptr<ISpecularStrategy>&& strategy, bool useCache) diff --git a/Sample/Fresnel/MatrixFresnelMap.h b/Resample/Fresnel/MatrixFresnelMap.h similarity index 88% rename from Sample/Fresnel/MatrixFresnelMap.h rename to Resample/Fresnel/MatrixFresnelMap.h index 8be9294e1fc..96b59812a9d 100644 --- a/Sample/Fresnel/MatrixFresnelMap.h +++ b/Resample/Fresnel/MatrixFresnelMap.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/MatrixFresnelMap.h +//! @file Resample/Fresnel/MatrixFresnelMap.h //! @brief Defines class MatrixFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FRESNEL_MATRIXFRESNELMAP_H -#define BORNAGAIN_SAMPLE_FRESNEL_MATRIXFRESNELMAP_H +#ifndef BORNAGAIN_RESAMPLE_FRESNEL_MATRIXFRESNELMAP_H +#define BORNAGAIN_RESAMPLE_FRESNEL_MATRIXFRESNELMAP_H -#include "Sample/Fresnel/IFresnelMap.h" -#include "Sample/Slice/ISpecularStrategy.h" +#include "Resample/Fresnel/IFresnelMap.h" +#include "Resample/Slice/ISpecularStrategy.h" #include <unordered_map> class ILayerRTCoefficients; @@ -64,5 +64,5 @@ private: mutable CoefficientHash m_hash_table_in; }; -#endif // BORNAGAIN_SAMPLE_FRESNEL_MATRIXFRESNELMAP_H +#endif // BORNAGAIN_RESAMPLE_FRESNEL_MATRIXFRESNELMAP_H #endif // USER_API diff --git a/Sample/Fresnel/ScalarFresnelMap.cpp b/Resample/Fresnel/ScalarFresnelMap.cpp similarity index 95% rename from Sample/Fresnel/ScalarFresnelMap.cpp rename to Resample/Fresnel/ScalarFresnelMap.cpp index 4bc33133348..a54dc19fdc9 100644 --- a/Sample/Fresnel/ScalarFresnelMap.cpp +++ b/Resample/Fresnel/ScalarFresnelMap.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/ScalarFresnelMap.cpp +//! @file Resample/Fresnel/ScalarFresnelMap.cpp //! @brief Implements class ScalarFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Fresnel/ScalarFresnelMap.h" +#include "Resample/Fresnel/ScalarFresnelMap.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/RT/ILayerRTCoefficients.h" diff --git a/Sample/Fresnel/ScalarFresnelMap.h b/Resample/Fresnel/ScalarFresnelMap.h similarity index 86% rename from Sample/Fresnel/ScalarFresnelMap.h rename to Resample/Fresnel/ScalarFresnelMap.h index 1edfbd97f20..ca6a43d540a 100644 --- a/Sample/Fresnel/ScalarFresnelMap.h +++ b/Resample/Fresnel/ScalarFresnelMap.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Fresnel/ScalarFresnelMap.h +//! @file Resample/Fresnel/ScalarFresnelMap.h //! @brief Defines class ScalarFresnelMap. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_FRESNEL_SCALARFRESNELMAP_H -#define BORNAGAIN_SAMPLE_FRESNEL_SCALARFRESNELMAP_H +#ifndef BORNAGAIN_RESAMPLE_FRESNEL_SCALARFRESNELMAP_H +#define BORNAGAIN_RESAMPLE_FRESNEL_SCALARFRESNELMAP_H -#include "Sample/Fresnel/IFresnelMap.h" -#include "Sample/Slice/ISpecularStrategy.h" +#include "Resample/Fresnel/IFresnelMap.h" +#include "Resample/Slice/ISpecularStrategy.h" #include <unordered_map> #include <utility> // pair @@ -57,5 +57,5 @@ private: m_cache; }; -#endif // BORNAGAIN_SAMPLE_FRESNEL_SCALARFRESNELMAP_H +#endif // BORNAGAIN_RESAMPLE_FRESNEL_SCALARFRESNELMAP_H #endif // USER_API diff --git a/Sample/Interference/DecouplingApproximationStrategy.cpp b/Resample/Interference/DecouplingApproximationStrategy.cpp similarity index 94% rename from Sample/Interference/DecouplingApproximationStrategy.cpp rename to Resample/Interference/DecouplingApproximationStrategy.cpp index 45fc857d88c..dc7becafeb0 100644 --- a/Sample/Interference/DecouplingApproximationStrategy.cpp +++ b/Resample/Interference/DecouplingApproximationStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/DecouplingApproximationStrategy.cpp +//! @file Resample/Interference/DecouplingApproximationStrategy.cpp //! @brief Implements class DecouplingApproximationStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,11 +12,11 @@ // // ************************************************************************************************ -#include "Sample/Interference/DecouplingApproximationStrategy.h" +#include "Resample/Interference/DecouplingApproximationStrategy.h" #include "Base/Math/Functions.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/Aggregate/InterferenceFunctionNone.h" -#include "Sample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" DecouplingApproximationStrategy::DecouplingApproximationStrategy( const std::vector<FormFactorCoherentSum>& weighted_formfactors, diff --git a/Sample/Interference/DecouplingApproximationStrategy.h b/Resample/Interference/DecouplingApproximationStrategy.h similarity index 80% rename from Sample/Interference/DecouplingApproximationStrategy.h rename to Resample/Interference/DecouplingApproximationStrategy.h index d89d7fa367e..f584b88307f 100644 --- a/Sample/Interference/DecouplingApproximationStrategy.h +++ b/Resample/Interference/DecouplingApproximationStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/DecouplingApproximationStrategy.h +//! @file Resample/Interference/DecouplingApproximationStrategy.h //! @brief Defines class DecouplingApproximationStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H -#define BORNAGAIN_SAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H +#define BORNAGAIN_RESAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H -#include "Sample/Interference/IInterferenceFunctionStrategy.h" +#include "Resample/Interference/IInterferenceFunctionStrategy.h" class SimulationElement; @@ -41,5 +41,5 @@ private: std::unique_ptr<IInterferenceFunction> m_iff; }; -#endif // BORNAGAIN_SAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_INTERFERENCE_DECOUPLINGAPPROXIMATIONSTRATEGY_H #endif // USER_API diff --git a/Sample/Interference/IInterferenceFunctionStrategy.cpp b/Resample/Interference/IInterferenceFunctionStrategy.cpp similarity index 93% rename from Sample/Interference/IInterferenceFunctionStrategy.cpp rename to Resample/Interference/IInterferenceFunctionStrategy.cpp index daafb0d8a3c..70d7ccf9366 100644 --- a/Sample/Interference/IInterferenceFunctionStrategy.cpp +++ b/Resample/Interference/IInterferenceFunctionStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/IInterferenceFunctionStrategy.cpp +//! @file Resample/Interference/IInterferenceFunctionStrategy.cpp //! @brief Implements default behaviour of IInterferenceFunctionStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,11 +12,11 @@ // // ************************************************************************************************ -#include "Sample/Interference/IInterferenceFunctionStrategy.h" +#include "Resample/Interference/IInterferenceFunctionStrategy.h" #include "Base/Math/IntegratorMCMiser.h" #include "Base/Pixel/SimulationElement.h" #include "Base/Utils/Assert.h" -#include "Sample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" IInterferenceFunctionStrategy::IInterferenceFunctionStrategy( const std::vector<FormFactorCoherentSum>& weighted_formfactors, diff --git a/Sample/Interference/IInterferenceFunctionStrategy.h b/Resample/Interference/IInterferenceFunctionStrategy.h similarity index 90% rename from Sample/Interference/IInterferenceFunctionStrategy.h rename to Resample/Interference/IInterferenceFunctionStrategy.h index 4ff644e12bf..93116b7c6e9 100644 --- a/Sample/Interference/IInterferenceFunctionStrategy.h +++ b/Resample/Interference/IInterferenceFunctionStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/IInterferenceFunctionStrategy.h +//! @file Resample/Interference/IInterferenceFunctionStrategy.h //! @brief Defines interface IInterferenceFunctionStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H -#define BORNAGAIN_SAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H +#define BORNAGAIN_RESAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H #include "Base/Types/Complex.h" #include "Sample/RT/SimulationOptions.h" @@ -72,5 +72,5 @@ private: #endif }; -#endif // BORNAGAIN_SAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_INTERFERENCE_IINTERFERENCEFUNCTIONSTRATEGY_H #endif // USER_API diff --git a/Sample/Interference/SSCApproximationStrategy.cpp b/Resample/Interference/SSCApproximationStrategy.cpp similarity index 96% rename from Sample/Interference/SSCApproximationStrategy.cpp rename to Resample/Interference/SSCApproximationStrategy.cpp index a91fcb509c1..b0370ff76b9 100644 --- a/Sample/Interference/SSCApproximationStrategy.cpp +++ b/Resample/Interference/SSCApproximationStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/SSCApproximationStrategy.cpp +//! @file Resample/Interference/SSCApproximationStrategy.cpp //! @brief Implements class SSCApproximationStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,10 +12,10 @@ // // ************************************************************************************************ -#include "Sample/Interference/SSCApproximationStrategy.h" +#include "Resample/Interference/SSCApproximationStrategy.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/Aggregate/InterferenceFunctionRadialParaCrystal.h" -#include "Sample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" SSCApproximationStrategy::SSCApproximationStrategy( const std::vector<FormFactorCoherentSum>& weighted_formfactors, diff --git a/Sample/Interference/SSCApproximationStrategy.h b/Resample/Interference/SSCApproximationStrategy.h similarity index 85% rename from Sample/Interference/SSCApproximationStrategy.h rename to Resample/Interference/SSCApproximationStrategy.h index d80f6a77f7c..5d3079022db 100644 --- a/Sample/Interference/SSCApproximationStrategy.h +++ b/Resample/Interference/SSCApproximationStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Interference/SSCApproximationStrategy.h +//! @file Resample/Interference/SSCApproximationStrategy.h //! @brief Defines class SSCApproximationStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H -#define BORNAGAIN_SAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H +#define BORNAGAIN_RESAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H -#include "Sample/Interference/IInterferenceFunctionStrategy.h" +#include "Resample/Interference/IInterferenceFunctionStrategy.h" #include <Eigen/StdVector> class InterferenceFunctionRadialParaCrystal; @@ -52,5 +52,5 @@ private: double m_mean_radius; }; -#endif // BORNAGAIN_SAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_INTERFERENCE_SSCAPPROXIMATIONSTRATEGY_H #endif // USER_API diff --git a/Resample/Processed/MaterialSlicer.cpp b/Resample/Processed/MaterialSlicer.cpp index d68869cecbb..b4e28a13e95 100644 --- a/Resample/Processed/MaterialSlicer.cpp +++ b/Resample/Processed/MaterialSlicer.cpp @@ -19,8 +19,8 @@ #include "Sample/Material/MaterialUtils.h" #include "Sample/Material/RefractiveMaterialImpl.h" #include "Resample/Processed/ProcessedLayout.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" namespace { diff --git a/Resample/Processed/ProcessedLayout.cpp b/Resample/Processed/ProcessedLayout.cpp index 9f05205a679..71a4a630b9a 100644 --- a/Resample/Processed/ProcessedLayout.cpp +++ b/Resample/Processed/ProcessedLayout.cpp @@ -15,16 +15,16 @@ #include "Resample/Processed/ProcessedLayout.h" #include "Sample/Aggregate/IInterferenceFunction.h" #include "Sample/Aggregate/ParticleLayout.h" -#include "Sample/FFCompute/ComputeBA.h" -#include "Sample/FFCompute/ComputeBAPol.h" -#include "Sample/FFCompute/ComputeDWBA.h" -#include "Sample/FFCompute/ComputeDWBAPol.h" -#include "Sample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/FFCompute/ComputeBA.h" +#include "Resample/FFCompute/ComputeBAPol.h" +#include "Resample/FFCompute/ComputeDWBA.h" +#include "Resample/FFCompute/ComputeDWBAPol.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" #include "Sample/Material/HomogeneousRegion.h" #include "Sample/Particle/IParticle.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" -#include "Sample/Slice/SlicedFormFactorList.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" +#include "Resample/Slice/SlicedFormFactorList.h" // ************************************************************************************************ // class ProcessedLayout diff --git a/Resample/Processed/ProcessedSample.cpp b/Resample/Processed/ProcessedSample.cpp index 480d6a54c1c..8f50f9c70e9 100644 --- a/Resample/Processed/ProcessedSample.cpp +++ b/Resample/Processed/ProcessedSample.cpp @@ -15,8 +15,8 @@ #include "Resample/Processed/ProcessedSample.h" #include "Base/Const/Units.h" #include "Base/Utils/Assert.h" -#include "Sample/Fresnel/MatrixFresnelMap.h" -#include "Sample/Fresnel/ScalarFresnelMap.h" +#include "Resample/Fresnel/MatrixFresnelMap.h" +#include "Resample/Fresnel/ScalarFresnelMap.h" #include "Sample/Interface/LayerRoughness.h" #include "Sample/Multilayer/Layer.h" #include "Sample/Multilayer/MultiLayer.h" @@ -26,9 +26,9 @@ #include "Resample/Processed/ProcessedLayout.h" #include "Sample/RT/SimulationOptions.h" #include "Sample/Scattering/ZLimits.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" -#include "Sample/Specular/SpecularStrategyBuilder.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" +#include "Resample/Specular/SpecularStrategyBuilder.h" namespace { diff --git a/Resample/Processed/ProcessedSample.h b/Resample/Processed/ProcessedSample.h index 78ec21cfe83..c1e1ed92738 100644 --- a/Resample/Processed/ProcessedSample.h +++ b/Resample/Processed/ProcessedSample.h @@ -21,7 +21,7 @@ #define BORNAGAIN_RESAMPLE_PROCESSED_PROCESSEDSAMPLE_H #include "Base/Vector/Vectors3D.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/SliceStack.h" #include <memory> #include <vector> diff --git a/Resample/Processed/ProfileHelper.cpp b/Resample/Processed/ProfileHelper.cpp index 55c58afc1c4..8eec34de944 100644 --- a/Resample/Processed/ProfileHelper.cpp +++ b/Resample/Processed/ProfileHelper.cpp @@ -15,8 +15,8 @@ #include "Resample/Processed/ProfileHelper.h" #include "Sample/Interface/LayerRoughness.h" #include "Resample/Processed/ProcessedSample.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" namespace { diff --git a/Sample/Slice/ISpecularStrategy.h b/Resample/Slice/ISpecularStrategy.h similarity index 88% rename from Sample/Slice/ISpecularStrategy.h rename to Resample/Slice/ISpecularStrategy.h index 9d046cd0942..4a16f4980b5 100644 --- a/Sample/Slice/ISpecularStrategy.h +++ b/Resample/Slice/ISpecularStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/ISpecularStrategy.h +//! @file Resample/Slice/ISpecularStrategy.h //! @brief Defines and implements class ISpecularStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SLICE_ISPECULARSTRATEGY_H -#define BORNAGAIN_SAMPLE_SLICE_ISPECULARSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SLICE_ISPECULARSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SLICE_ISPECULARSTRATEGY_H #include "Base/Vector/EigenCore.h" #include "Base/Vector/Vectors3D.h" @@ -52,5 +52,5 @@ public: computeTopLayerR(const SliceStack& slices, const std::vector<complex_t>& kz) const = 0; }; -#endif // BORNAGAIN_SAMPLE_SLICE_ISPECULARSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SLICE_ISPECULARSTRATEGY_H #endif // USER_API diff --git a/Sample/Slice/KzComputation.cpp b/Resample/Slice/KzComputation.cpp similarity index 95% rename from Sample/Slice/KzComputation.cpp rename to Resample/Slice/KzComputation.cpp index b9fdccc9b87..3bccfaeba37 100644 --- a/Sample/Slice/KzComputation.cpp +++ b/Resample/Slice/KzComputation.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/KzComputation.cpp +//! @file Resample/Slice/KzComputation.cpp //! @brief Implements functions in namespace KzComputation. //! //! @homepage http://www.bornagainproject.org @@ -12,10 +12,10 @@ // // ************************************************************************************************ -#include "Sample/Slice/KzComputation.h" +#include "Resample/Slice/KzComputation.h" #include "Base/Const/Units.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" namespace { complex_t normalizedSLD(const Material& material) diff --git a/Sample/Slice/KzComputation.h b/Resample/Slice/KzComputation.h similarity index 91% rename from Sample/Slice/KzComputation.h rename to Resample/Slice/KzComputation.h index 5539c859994..3a615650fc6 100644 --- a/Sample/Slice/KzComputation.h +++ b/Resample/Slice/KzComputation.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/KzComputation.h +//! @file Resample/Slice/KzComputation.h //! @brief Declares functions in namespace KzComputation. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SLICE_KZCOMPUTATION_H -#define BORNAGAIN_SAMPLE_SLICE_KZCOMPUTATION_H +#ifndef BORNAGAIN_RESAMPLE_SLICE_KZCOMPUTATION_H +#define BORNAGAIN_RESAMPLE_SLICE_KZCOMPUTATION_H #include "Base/Vector/Vectors3D.h" #include <vector> @@ -57,5 +57,5 @@ std::vector<complex_t> computeKzFromRefIndices(const SliceStack& slices, kvector } // namespace SampleUtils -#endif // BORNAGAIN_SAMPLE_SLICE_KZCOMPUTATION_H +#endif // BORNAGAIN_RESAMPLE_SLICE_KZCOMPUTATION_H #endif // USER_API diff --git a/Sample/Slice/Slice.cpp b/Resample/Slice/Slice.cpp similarity index 96% rename from Sample/Slice/Slice.cpp rename to Resample/Slice/Slice.cpp index 2522903c3ba..fbd12da1e34 100644 --- a/Sample/Slice/Slice.cpp +++ b/Resample/Slice/Slice.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/Slice.cpp +//! @file Resample/Slice/Slice.cpp //! @brief Implements class Slice. //! //! @homepage http://www.bornagainproject.org @@ -12,10 +12,10 @@ // // ************************************************************************************************ -#include "Sample/Slice/Slice.h" +#include "Resample/Slice/Slice.h" #include "Sample/Interface/LayerRoughness.h" #include "Sample/Material/MaterialUtils.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/SliceStack.h" Slice::Slice(const ZLimits& zRange, const Material& material, const kvector_t& B_field, LayerRoughness* const roughness) diff --git a/Sample/Slice/Slice.h b/Resample/Slice/Slice.h similarity index 93% rename from Sample/Slice/Slice.h rename to Resample/Slice/Slice.h index e9183d2cd19..bb1a6eb8e1a 100644 --- a/Sample/Slice/Slice.h +++ b/Resample/Slice/Slice.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/Slice.h +//! @file Resample/Slice/Slice.h //! @brief Defines class Slice. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SLICE_SLICE_H -#define BORNAGAIN_SAMPLE_SLICE_SLICE_H +#ifndef BORNAGAIN_RESAMPLE_SLICE_SLICE_H +#define BORNAGAIN_RESAMPLE_SLICE_SLICE_H #include "Sample/Material/Material.h" #include "Sample/Scattering/ZLimits.h" @@ -71,5 +71,5 @@ private: std::unique_ptr<const LayerRoughness> m_top_roughness; }; -#endif // BORNAGAIN_SAMPLE_SLICE_SLICE_H +#endif // BORNAGAIN_RESAMPLE_SLICE_SLICE_H #endif // USER_API diff --git a/Sample/Slice/SliceStack.cpp b/Resample/Slice/SliceStack.cpp similarity index 95% rename from Sample/Slice/SliceStack.cpp rename to Resample/Slice/SliceStack.cpp index 838aeb1a9f1..05ee7844518 100644 --- a/Sample/Slice/SliceStack.cpp +++ b/Resample/Slice/SliceStack.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/SliceStack.h +//! @file Resample/Slice/SliceStack.cpp //! @brief Implements class SliceStack. //! //! @homepage http://www.bornagainproject.org @@ -12,9 +12,9 @@ // // ************************************************************************************************ -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/SliceStack.h" #include "Base/Utils/Assert.h" -#include "Sample/Slice/Slice.h" +#include "Resample/Slice/Slice.h" void SliceStack::addTopSlice(double zbottom, const Material& material) { diff --git a/Sample/Slice/SliceStack.h b/Resample/Slice/SliceStack.h similarity index 87% rename from Sample/Slice/SliceStack.h rename to Resample/Slice/SliceStack.h index 430162ae03d..b565a2582d7 100644 --- a/Sample/Slice/SliceStack.h +++ b/Resample/Slice/SliceStack.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/SliceStack.h +//! @file Resample/Slice/SliceStack.h //! @brief Defines class SliceStack. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SLICE_SLICESTACK_H -#define BORNAGAIN_SAMPLE_SLICE_SLICESTACK_H +#ifndef BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H +#define BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H #include "Base/Vector/Vectors3D.h" #include <vector> @@ -44,5 +44,5 @@ public: bool containsMagneticMaterial() const; }; -#endif // BORNAGAIN_SAMPLE_SLICE_SLICESTACK_H +#endif // BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H #endif // USER_API diff --git a/Sample/Slice/SlicedFormFactorList.cpp b/Resample/Slice/SlicedFormFactorList.cpp similarity index 96% rename from Sample/Slice/SlicedFormFactorList.cpp rename to Resample/Slice/SlicedFormFactorList.cpp index c62caa0daa0..ce3df1e993c 100644 --- a/Sample/Slice/SlicedFormFactorList.cpp +++ b/Resample/Slice/SlicedFormFactorList.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/SlicedFormFactorList.cpp +//! @file Resample/Slice/SlicedFormFactorList.cpp //! @brief Defines class SlicedFormFactorList. //! //! @homepage http://www.bornagainproject.org @@ -12,15 +12,15 @@ // // ************************************************************************************************ -#include "Sample/Slice/SlicedFormFactorList.h" +#include "Resample/Slice/SlicedFormFactorList.h" #include "Base/Utils/Assert.h" #include "Sample/Material/HomogeneousRegion.h" #include "Sample/Particle/IParticle.h" #include "Sample/Particle/SlicedParticle.h" #include "Sample/Scattering/IFormFactor.h" #include "Sample/Scattering/Rotations.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" #include <utility> namespace { diff --git a/Sample/Slice/SlicedFormFactorList.h b/Resample/Slice/SlicedFormFactorList.h similarity index 87% rename from Sample/Slice/SlicedFormFactorList.h rename to Resample/Slice/SlicedFormFactorList.h index 85ed04f7720..faf7f483833 100644 --- a/Sample/Slice/SlicedFormFactorList.h +++ b/Resample/Slice/SlicedFormFactorList.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Slice/SlicedFormFactorList.h +//! @file Resample/Slice/SlicedFormFactorList.h //! @brief Defines class SlicedFormFactorList. //! //! @homepage http://www.bornagainproject.org @@ -17,8 +17,8 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SLICE_SLICEDFORMFACTORLIST_H -#define BORNAGAIN_SAMPLE_SLICE_SLICEDFORMFACTORLIST_H +#ifndef BORNAGAIN_RESAMPLE_SLICE_SLICEDFORMFACTORLIST_H +#define BORNAGAIN_RESAMPLE_SLICE_SLICEDFORMFACTORLIST_H #include <map> #include <memory> @@ -53,5 +53,5 @@ private: std::map<size_t, std::vector<HomogeneousRegion>> m_region_map; }; -#endif // BORNAGAIN_SAMPLE_SLICE_SLICEDFORMFACTORLIST_H +#endif // BORNAGAIN_RESAMPLE_SLICE_SLICEDFORMFACTORLIST_H #endif // USER_API diff --git a/Sample/Specular/SpecularMagneticNCStrategy.cpp b/Resample/Specular/SpecularMagneticNCStrategy.cpp similarity index 96% rename from Sample/Specular/SpecularMagneticNCStrategy.cpp rename to Resample/Specular/SpecularMagneticNCStrategy.cpp index c00ee172f8d..2eba4a64f1e 100644 --- a/Sample/Specular/SpecularMagneticNCStrategy.cpp +++ b/Resample/Specular/SpecularMagneticNCStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticNCStrategy.cpp +//! @file Resample/Specular/SpecularMagneticNCStrategy.cpp //! @brief Implements class SpecularMagneticNCStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularMagneticNCStrategy.h" +#include "Resample/Specular/SpecularMagneticNCStrategy.h" namespace { diff --git a/Sample/Specular/SpecularMagneticNCStrategy.h b/Resample/Specular/SpecularMagneticNCStrategy.h similarity index 83% rename from Sample/Specular/SpecularMagneticNCStrategy.h rename to Resample/Specular/SpecularMagneticNCStrategy.h index fd1c9d10a1d..6b8d2b98e08 100644 --- a/Sample/Specular/SpecularMagneticNCStrategy.h +++ b/Resample/Specular/SpecularMagneticNCStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticNCStrategy.h +//! @file Resample/Specular/SpecularMagneticNCStrategy.h //! @brief Defines class SpecularMagneticNCStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H -#include "Sample/Specular/SpecularMagneticStrategy.h" +#include "Resample/Specular/SpecularMagneticStrategy.h" #include <memory> #include <vector> @@ -43,5 +43,5 @@ private: const MatrixRTCoefficients& coeff_i1, double sigma) const; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularMagneticStrategy.cpp b/Resample/Specular/SpecularMagneticStrategy.cpp similarity index 97% rename from Sample/Specular/SpecularMagneticStrategy.cpp rename to Resample/Specular/SpecularMagneticStrategy.cpp index 8f80cbb658b..8396b9d12c3 100644 --- a/Sample/Specular/SpecularMagneticStrategy.cpp +++ b/Resample/Specular/SpecularMagneticStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticStrategy.cpp +//! @file Resample/Specular/SpecularMagneticStrategy.cpp //! @brief Implements class SpecularMagneticStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,12 +12,12 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularMagneticStrategy.h" +#include "Resample/Specular/SpecularMagneticStrategy.h" #include "Base/Const/PhysicalConstants.h" #include "Sample/Interface/LayerRoughness.h" -#include "Sample/Slice/KzComputation.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/KzComputation.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" namespace { diff --git a/Sample/Specular/SpecularMagneticStrategy.h b/Resample/Specular/SpecularMagneticStrategy.h similarity index 90% rename from Sample/Specular/SpecularMagneticStrategy.h rename to Resample/Specular/SpecularMagneticStrategy.h index be9c4c9cae6..fdb703889eb 100644 --- a/Sample/Specular/SpecularMagneticStrategy.h +++ b/Resample/Specular/SpecularMagneticStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticStrategy.h +//! @file Resample/Specular/SpecularMagneticStrategy.h //! @brief Defines class SpecularMagneticStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H #include "Sample/RT/MatrixRTCoefficients.h" -#include "Sample/Slice/ISpecularStrategy.h" +#include "Resample/Slice/ISpecularStrategy.h" #include <memory> #include <vector> @@ -70,5 +70,5 @@ private: void calculateUpwards(std::vector<MatrixRTCoefficients>& coeff, const SliceStack& slices) const; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularMagneticTanhStrategy.cpp b/Resample/Specular/SpecularMagneticTanhStrategy.cpp similarity index 96% rename from Sample/Specular/SpecularMagneticTanhStrategy.cpp rename to Resample/Specular/SpecularMagneticTanhStrategy.cpp index f9effe26e93..3f9e04534e9 100644 --- a/Sample/Specular/SpecularMagneticTanhStrategy.cpp +++ b/Resample/Specular/SpecularMagneticTanhStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticTanhStrategy.cpp +//! @file Resample/Specular/SpecularMagneticTanhStrategy.cpp //! @brief Implements class SpecularMagneticTanhStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularMagneticTanhStrategy.h" +#include "Resample/Specular/SpecularMagneticTanhStrategy.h" #include "Base/Math/Constants.h" #include "Base/Math/Functions.h" diff --git a/Sample/Specular/SpecularMagneticTanhStrategy.h b/Resample/Specular/SpecularMagneticTanhStrategy.h similarity index 82% rename from Sample/Specular/SpecularMagneticTanhStrategy.h rename to Resample/Specular/SpecularMagneticTanhStrategy.h index 14ad64ba2a4..d383147c24d 100644 --- a/Sample/Specular/SpecularMagneticTanhStrategy.h +++ b/Resample/Specular/SpecularMagneticTanhStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularMagneticTanhStrategy.h +//! @file Resample/Specular/SpecularMagneticTanhStrategy.h //! @brief Defines class SpecularMagneticTanhStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H -#include "Sample/Specular/SpecularMagneticStrategy.h" +#include "Resample/Specular/SpecularMagneticStrategy.h" //! Implements the magnetic Fresnel computation with the analytical Tanh roughness //! @@ -40,5 +40,5 @@ private: bool inverse = false) const; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularScalarNCStrategy.cpp b/Resample/Specular/SpecularScalarNCStrategy.cpp similarity index 91% rename from Sample/Specular/SpecularScalarNCStrategy.cpp rename to Resample/Specular/SpecularScalarNCStrategy.cpp index 63166d15eec..d964b279ca3 100644 --- a/Sample/Specular/SpecularScalarNCStrategy.cpp +++ b/Resample/Specular/SpecularScalarNCStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarNCStrategy.cpp +//! @file Resample/Specular/SpecularScalarNCStrategy.cpp //! @brief Implements class SpecularScalarNCStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularScalarNCStrategy.h" +#include "Resample/Specular/SpecularScalarNCStrategy.h" #include <Eigen/Dense> std::pair<complex_t, complex_t> SpecularScalarNCStrategy::transition(complex_t kzi, complex_t kzi1, diff --git a/Sample/Specular/SpecularScalarNCStrategy.h b/Resample/Specular/SpecularScalarNCStrategy.h similarity index 83% rename from Sample/Specular/SpecularScalarNCStrategy.h rename to Resample/Specular/SpecularScalarNCStrategy.h index 5a344c00c24..997eff78b5a 100644 --- a/Sample/Specular/SpecularScalarNCStrategy.h +++ b/Resample/Specular/SpecularScalarNCStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarNCStrategy.h +//! @file Resample/Specular/SpecularScalarNCStrategy.h //! @brief Defines class SpecularScalarNCStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H -#include "Sample/Specular/SpecularScalarStrategy.h" +#include "Resample/Specular/SpecularScalarStrategy.h" //! Implements Nevot-Croce roughness for a scaler computation. //! @@ -40,5 +40,5 @@ private: double sigma) const override; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARNCSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularScalarStrategy.cpp b/Resample/Specular/SpecularScalarStrategy.cpp similarity index 95% rename from Sample/Specular/SpecularScalarStrategy.cpp rename to Resample/Specular/SpecularScalarStrategy.cpp index 78abcc2131b..a9aa64022bd 100644 --- a/Sample/Specular/SpecularScalarStrategy.cpp +++ b/Resample/Specular/SpecularScalarStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarStrategy.cpp +//! @file Resample/Specular/SpecularScalarStrategy.cpp //! @brief Implements class SpecularScalarStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,12 +12,12 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularScalarStrategy.h" +#include "Resample/Specular/SpecularScalarStrategy.h" #include "Sample/Interface/LayerRoughness.h" #include "Sample/Multilayer/Layer.h" -#include "Sample/Slice/KzComputation.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/KzComputation.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" #include <Eigen/Dense> #include <stdexcept> diff --git a/Sample/Specular/SpecularScalarStrategy.h b/Resample/Specular/SpecularScalarStrategy.h similarity index 90% rename from Sample/Specular/SpecularScalarStrategy.h rename to Resample/Specular/SpecularScalarStrategy.h index 6f2d3c28e0a..573c84d5a3f 100644 --- a/Sample/Specular/SpecularScalarStrategy.h +++ b/Resample/Specular/SpecularScalarStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarStrategy.h +//! @file Resample/Specular/SpecularScalarStrategy.h //! @brief Defines class SpecularScalarStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H #include "Sample/RT/ScalarRTCoefficients.h" -#include "Sample/Slice/ISpecularStrategy.h" +#include "Resample/Slice/ISpecularStrategy.h" #include <memory> #include <vector> @@ -67,5 +67,5 @@ private: const std::vector<complex_t>& kz) const; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularScalarTanhStrategy.cpp b/Resample/Specular/SpecularScalarTanhStrategy.cpp similarity index 91% rename from Sample/Specular/SpecularScalarTanhStrategy.cpp rename to Resample/Specular/SpecularScalarTanhStrategy.cpp index b30a1974915..bd6579853c3 100644 --- a/Sample/Specular/SpecularScalarTanhStrategy.cpp +++ b/Resample/Specular/SpecularScalarTanhStrategy.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarTanhStrategy.cpp +//! @file Resample/Specular/SpecularScalarTanhStrategy.cpp //! @brief Implements class SpecularScalarTanhStrategy. //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularScalarTanhStrategy.h" +#include "Resample/Specular/SpecularScalarTanhStrategy.h" #include "Base/Math/Constants.h" #include "Base/Math/Functions.h" #include <Eigen/Dense> diff --git a/Sample/Specular/SpecularScalarTanhStrategy.h b/Resample/Specular/SpecularScalarTanhStrategy.h similarity index 82% rename from Sample/Specular/SpecularScalarTanhStrategy.h rename to Resample/Specular/SpecularScalarTanhStrategy.h index 086dd944c06..bb0d47c8a10 100644 --- a/Sample/Specular/SpecularScalarTanhStrategy.h +++ b/Resample/Specular/SpecularScalarTanhStrategy.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularScalarTanhStrategy.h +//! @file Resample/Specular/SpecularScalarTanhStrategy.h //! @brief Defines class SpecularScalarTanhStrategy. //! //! @homepage http://www.bornagainproject.org @@ -17,10 +17,10 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H -#include "Sample/Specular/SpecularScalarStrategy.h" +#include "Resample/Specular/SpecularScalarStrategy.h" //! Implements an tanh transition function to model roughness in a scaler computation. //! @@ -37,5 +37,5 @@ private: double sigma) const override; }; -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSCALARTANHSTRATEGY_H #endif // USER_API diff --git a/Sample/Specular/SpecularStrategyBuilder.cpp b/Resample/Specular/SpecularStrategyBuilder.cpp similarity index 82% rename from Sample/Specular/SpecularStrategyBuilder.cpp rename to Resample/Specular/SpecularStrategyBuilder.cpp index 04581776d9f..59510a9f715 100644 --- a/Sample/Specular/SpecularStrategyBuilder.cpp +++ b/Resample/Specular/SpecularStrategyBuilder.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularStrategyBuilder.cpp +//! @file Resample/Specular/SpecularStrategyBuilder.cpp //! @brief Implements class SpecularStrategyBuilder. //! //! @homepage http://www.bornagainproject.org @@ -12,12 +12,12 @@ // // ************************************************************************************************ -#include "Sample/Specular/SpecularStrategyBuilder.h" +#include "Resample/Specular/SpecularStrategyBuilder.h" #include "Sample/Multilayer/MultiLayer.h" -#include "Sample/Specular/SpecularMagneticNCStrategy.h" -#include "Sample/Specular/SpecularMagneticTanhStrategy.h" -#include "Sample/Specular/SpecularScalarNCStrategy.h" -#include "Sample/Specular/SpecularScalarTanhStrategy.h" +#include "Resample/Specular/SpecularMagneticNCStrategy.h" +#include "Resample/Specular/SpecularMagneticTanhStrategy.h" +#include "Resample/Specular/SpecularScalarNCStrategy.h" +#include "Resample/Specular/SpecularScalarTanhStrategy.h" std::unique_ptr<SpecularScalarStrategy> SampleUtils::SpecularStrategyBuilder::buildScalar(const MultiLayer& sample) diff --git a/Sample/Specular/SpecularStrategyBuilder.h b/Resample/Specular/SpecularStrategyBuilder.h similarity index 73% rename from Sample/Specular/SpecularStrategyBuilder.h rename to Resample/Specular/SpecularStrategyBuilder.h index 74a8cf39a18..12e151eeb25 100644 --- a/Sample/Specular/SpecularStrategyBuilder.h +++ b/Resample/Specular/SpecularStrategyBuilder.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file Sample/Specular/SpecularStrategyBuilder.h +//! @file Resample/Specular/SpecularStrategyBuilder.h //! @brief Defines class SpecularStrategyBuilder. //! //! @homepage http://www.bornagainproject.org @@ -17,11 +17,11 @@ #endif #ifndef USER_API -#ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H -#define BORNAGAIN_SAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H +#ifndef BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H +#define BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H -#include "Sample/Specular/SpecularMagneticStrategy.h" -#include "Sample/Specular/SpecularScalarStrategy.h" +#include "Resample/Specular/SpecularMagneticStrategy.h" +#include "Resample/Specular/SpecularScalarStrategy.h" #include <memory> class MultiLayer; @@ -34,5 +34,5 @@ std::unique_ptr<SpecularMagneticStrategy> buildMagnetic(const MultiLayer& sample } // namespace SampleUtils::SpecularStrategyBuilder -#endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H +#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARSTRATEGYBUILDER_H #endif // USER_API diff --git a/Tests/UnitTests/Core/Fresnel/KzComputationTest.cpp b/Tests/UnitTests/Core/Fresnel/KzComputationTest.cpp index 85a3c4340f5..a906f34d145 100644 --- a/Tests/UnitTests/Core/Fresnel/KzComputationTest.cpp +++ b/Tests/UnitTests/Core/Fresnel/KzComputationTest.cpp @@ -1,4 +1,4 @@ -#include "Sample/Slice/KzComputation.h" +#include "Resample/Slice/KzComputation.h" #include "Base/Const/Units.h" #include "Base/Vector/Direction.h" #include "Sample/Material/MaterialFactoryFuncs.h" diff --git a/Tests/UnitTests/Core/Fresnel/SpecularMagneticTest.cpp b/Tests/UnitTests/Core/Fresnel/SpecularMagneticTest.cpp index 2b1540c668e..f08f19aaf67 100644 --- a/Tests/UnitTests/Core/Fresnel/SpecularMagneticTest.cpp +++ b/Tests/UnitTests/Core/Fresnel/SpecularMagneticTest.cpp @@ -5,9 +5,9 @@ #include "Sample/Multilayer/MultiLayer.h" #include "Resample/Processed/ProcessedSample.h" #include "Sample/RT/SimulationOptions.h" -#include "Sample/Slice/KzComputation.h" -#include "Sample/Specular/SpecularMagneticTanhStrategy.h" -#include "Sample/Specular/SpecularScalarTanhStrategy.h" +#include "Resample/Slice/KzComputation.h" +#include "Resample/Specular/SpecularMagneticTanhStrategy.h" +#include "Resample/Specular/SpecularScalarTanhStrategy.h" #include "Tests/GTestWrapper/google_test.h" #include <utility> diff --git a/Tests/UnitTests/Core/Fresnel/SpecularScanTest.cpp b/Tests/UnitTests/Core/Fresnel/SpecularScanTest.cpp index 3cffac065ee..6e9e61a6290 100644 --- a/Tests/UnitTests/Core/Fresnel/SpecularScanTest.cpp +++ b/Tests/UnitTests/Core/Fresnel/SpecularScanTest.cpp @@ -8,8 +8,8 @@ #include "Device/Resolution/ScanResolution.h" #include "Param/Distrib/RangedDistributions.h" #include "Sample/Material/MaterialFactoryFuncs.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" #include "Tests/GTestWrapper/google_test.h" class SpecularScanTest : public ::testing::Test { diff --git a/Tests/UnitTests/Core/Sample/FormFactorCoherentSumTest.cpp b/Tests/UnitTests/Core/Sample/FormFactorCoherentSumTest.cpp index 8016a1e6621..244ef027470 100644 --- a/Tests/UnitTests/Core/Sample/FormFactorCoherentSumTest.cpp +++ b/Tests/UnitTests/Core/Sample/FormFactorCoherentSumTest.cpp @@ -1,5 +1,5 @@ -#include "Sample/Fresnel/FormFactorCoherentSum.h" -#include "Sample/FFCompute/ComputeBA.h" +#include "Resample/Fresnel/FormFactorCoherentSum.h" +#include "Resample/FFCompute/ComputeBA.h" #include "Sample/HardParticle/FormFactorFullSphere.h" #include "Tests/GTestWrapper/google_test.h" diff --git a/Tests/UnitTests/Core/Sample/MultilayerAveragingTest.cpp b/Tests/UnitTests/Core/Sample/MultilayerAveragingTest.cpp index f8b9b40684e..e52c5e0d288 100644 --- a/Tests/UnitTests/Core/Sample/MultilayerAveragingTest.cpp +++ b/Tests/UnitTests/Core/Sample/MultilayerAveragingTest.cpp @@ -7,8 +7,8 @@ #include "Sample/Particle/Particle.h" #include "Resample/Processed/ProcessedSample.h" #include "Sample/RT/SimulationOptions.h" -#include "Sample/Slice/Slice.h" -#include "Sample/Slice/SliceStack.h" +#include "Resample/Slice/Slice.h" +#include "Resample/Slice/SliceStack.h" #include "Tests/GTestWrapper/google_test.h" class MultilayerAveragingTest : public ::testing::Test { diff --git a/Tests/UnitTests/Core/Sample/RTTest.cpp b/Tests/UnitTests/Core/Sample/RTTest.cpp index 915c5af1c66..084e0274f94 100644 --- a/Tests/UnitTests/Core/Sample/RTTest.cpp +++ b/Tests/UnitTests/Core/Sample/RTTest.cpp @@ -7,7 +7,7 @@ #include "Sample/Multilayer/MultiLayer.h" #include "Resample/Processed/ProcessedSample.h" #include "Sample/RT/SimulationOptions.h" -#include "Sample/Specular/SpecularScalarTanhStrategy.h" +#include "Resample/Specular/SpecularScalarTanhStrategy.h" #include "Tests/GTestWrapper/google_test.h" class RTTest : public ::testing::Test { diff --git a/gui2/quicksimeditor/materialprofile.cpp b/gui2/quicksimeditor/materialprofile.cpp index e6ccb8cabcb..0b1e11836a5 100644 --- a/gui2/quicksimeditor/materialprofile.cpp +++ b/gui2/quicksimeditor/materialprofile.cpp @@ -15,7 +15,7 @@ #include "gui2/quicksimeditor/materialprofile.h" #include "gui2/quicksimeditor/profilehelper.h" #include "gui2/quicksimeditor/quicksimutils.h" -#include <Sample/Slice/Slice.h> +#include <Resample/Slice/Slice.h> namespace gui2 { diff --git a/gui2/quicksimeditor/profilehelper.cpp b/gui2/quicksimeditor/profilehelper.cpp index 3de31018981..b006e79879d 100644 --- a/gui2/quicksimeditor/profilehelper.cpp +++ b/gui2/quicksimeditor/profilehelper.cpp @@ -14,7 +14,7 @@ #include "gui2/quicksimeditor/profilehelper.h" #include <Sample/Interface/LayerRoughness.h> -#include <Sample/Slice/Slice.h> +#include <Resample/Slice/Slice.h> namespace { const double prefactor = std::sqrt(2.0 / M_PI); diff --git a/gui2/quicksimeditor/profilehelper.h b/gui2/quicksimeditor/profilehelper.h index 0f6b4c9b4fb..34b3bf93e56 100644 --- a/gui2/quicksimeditor/profilehelper.h +++ b/gui2/quicksimeditor/profilehelper.h @@ -16,7 +16,7 @@ #define BORNAGAIN_GUI2_QUICKSIMEDITOR_PROFILEHELPER_H #include "darefl_export.h" -#include <Sample/Slice/Slice.h> +#include <Resample/Slice/Slice.h> #include <utility> #include <vector> diff --git a/gui2/quicksimeditor/quicksimutils.cpp b/gui2/quicksimeditor/quicksimutils.cpp index 2c4ee95538a..ca74a46ec3c 100644 --- a/gui2/quicksimeditor/quicksimutils.cpp +++ b/gui2/quicksimeditor/quicksimutils.cpp @@ -20,7 +20,7 @@ #include "mvvm/model/sessionmodel.h" #include <Sample/Interface/LayerRoughness.h> #include <Sample/Material/MaterialFactoryFuncs.h> -#include <Sample/Slice/Slice.h> +#include <Resample/Slice/Slice.h> #include <stdexcept> namespace gui2 { diff --git a/gui2/quicksimeditor/speculartoysimulation.cpp b/gui2/quicksimeditor/speculartoysimulation.cpp index d05ae83f88a..4c49535e380 100644 --- a/gui2/quicksimeditor/speculartoysimulation.cpp +++ b/gui2/quicksimeditor/speculartoysimulation.cpp @@ -17,9 +17,9 @@ #include "gui2/quicksimeditor/quicksimutils.h" #include "mvvm/standarditems/axisitems.h" #include "mvvm/utils/containerutils.h" -#include <Sample/Slice/KzComputation.h> -#include <Sample/Slice/Slice.h> -#include <Sample/Specular/SpecularScalarTanhStrategy.h> +#include <Resample/Slice/KzComputation.h> +#include <Resample/Slice/Slice.h> +#include <Resample/Specular/SpecularScalarTanhStrategy.h> #include <algorithm> #include <stdexcept> -- GitLab