From bb1bb7609bbb6dafad3421e0432288d199f9c33c Mon Sep 17 00:00:00 2001 From: JWu <j.wuttke@fz-juelich.de> Date: Tue, 19 Mar 2013 11:40:28 +0100 Subject: [PATCH] inserted header comment block, removed old dummy comment block, manual editing of @brief ("defines ...", "implements ..."), removed multiple white lines --- Core/Algorithms/inc/Beam.h | 30 +++++++++------- Core/Algorithms/inc/ChiSquaredFrequency.h | 30 +++++++++------- Core/Algorithms/inc/ChiSquaredModule.h | 30 +++++++++------- .../inc/ConvolutionDetectorResolution.h | 30 +++++++++------- Core/Algorithms/inc/DWBADiffuseReflection.h | 30 +++++++++------- Core/Algorithms/inc/DWBASimulation.h | 30 +++++++++------- .../inc/DecouplingApproximationStrategy.h | 30 +++++++++------- Core/Algorithms/inc/Detector.h | 31 +++++++++-------- Core/Algorithms/inc/DetectorParameters.h | 30 +++++++++------- Core/Algorithms/inc/DiffuseDWBASimulation.h | 30 +++++++++------- Core/Algorithms/inc/ExperimentConstants.h | 30 +++++++++------- Core/Algorithms/inc/FTDistributions.h | 30 +++++++++------- Core/Algorithms/inc/IChiSquaredModule.h | 30 +++++++++------- Core/Algorithms/inc/IDetectorResolution.h | 30 +++++++++------- Core/Algorithms/inc/IFittingDataSelector.h | 30 +++++++++------- Core/Algorithms/inc/IIntensityFunction.h | 32 +++++++++-------- .../inc/IInterferenceFunctionStrategy.h | 30 +++++++++------- Core/Algorithms/inc/IOutputDataNormalizer.h | 30 +++++++++------- Core/Algorithms/inc/IResolutionFunction2D.h | 30 +++++++++------- Core/Algorithms/inc/ISampleBuilder.h | 31 +++++++++-------- Core/Algorithms/inc/ISimulation.h | 30 +++++++++------- Core/Algorithms/inc/ISquaredFunction.h | 32 +++++++++-------- Core/Algorithms/inc/Instrument.h | 31 +++++++++-------- .../inc/InterferenceFunctionStrategies.h | 31 +++++++++-------- .../inc/IsGISAXSMorphologyFileStrategy.h | 32 +++++++++-------- Core/Algorithms/inc/LayerDWBASimulation.h | 30 +++++++++------- .../inc/LayerDecoratorDWBASimulation.h | 30 +++++++++------- .../LocalMonodisperseApproximationStrategy.h | 32 +++++++++-------- Core/Algorithms/inc/Mask.h | 30 +++++++++------- Core/Algorithms/inc/MaskCoordinateFunction.h | 30 +++++++++------- .../Algorithms/inc/MultiLayerDWBASimulation.h | 32 +++++++++-------- .../inc/MultiLayerRoughnessDWBASimulation.h | 30 +++++++++------- Core/Algorithms/inc/OpticalFresnel.h | 34 +++++++++---------- .../inc/ResolutionFunction2DSimple.h | 31 +++++++++-------- Core/Algorithms/inc/Simulation.h | 30 +++++++++------- Core/Algorithms/inc/SimulationParameters.h | 30 +++++++++------- ...eSpacingCorrelationApproximationStrategy.h | 31 +++++++++-------- Core/Algorithms/inc/StrategyBuilder.h | 30 +++++++++------- Core/Algorithms/inc/ThreadInfo.h | 30 +++++++++------- Core/Algorithms/src/Beam.cpp | 19 +++++++++-- Core/Algorithms/src/ChiSquaredFrequency.cpp | 20 +++++++++-- Core/Algorithms/src/ChiSquaredModule.cpp | 22 +++++++++--- .../src/ConvolutionDetectorResolution.cpp | 26 +++++++++----- Core/Algorithms/src/DWBADiffuseReflection.cpp | 25 +++++++++----- Core/Algorithms/src/DWBASimulation.cpp | 17 ++++++++++ .../src/DecouplingApproximationStrategy.cpp | 18 +++++++++- Core/Algorithms/src/Detector.cpp | 20 +++++++++-- Core/Algorithms/src/DiffuseDWBASimulation.cpp | 17 ++++++++++ Core/Algorithms/src/FTDistributions.cpp | 17 ++++++++++ Core/Algorithms/src/IChiSquaredModule.cpp | 25 +++++++++----- Core/Algorithms/src/IFittingDataSelector.cpp | 18 +++++++++- Core/Algorithms/src/IOutputDataNormalizer.cpp | 23 +++++++++---- Core/Algorithms/src/Instrument.cpp | 17 ++++++++++ .../src/IsGISAXSMorphologyFileStrategy.cpp | 17 ++++++++++ Core/Algorithms/src/LayerDWBASimulation.cpp | 17 ++++++++++ .../src/LayerDecoratorDWBASimulation.cpp | 17 ++++++++++ ...LocalMonodisperseApproximationStrategy.cpp | 17 ++++++++++ Core/Algorithms/src/Mask.cpp | 17 ++++++++++ .../Algorithms/src/MaskCoordinateFunction.cpp | 17 ++++++++++ .../src/MultiLayerDWBASimulation.cpp | 17 ++++++++++ .../src/MultiLayerRoughnessDWBASimulation.cpp | 17 ++++++++++ Core/Algorithms/src/OpticalFresnel.cpp | 25 +++++++++----- .../src/ResolutionFunction2DSimple.cpp | 19 +++++++++-- Core/Algorithms/src/Simulation.cpp | 22 +++++++++--- ...pacingCorrelationApproximationStrategy.cpp | 17 ++++++++++ Core/Algorithms/src/StrategyBuilder.cpp | 17 ++++++++++ 66 files changed, 1122 insertions(+), 588 deletions(-) diff --git a/Core/Algorithms/inc/Beam.h b/Core/Algorithms/inc/Beam.h index 61c6e57d4c1..aceee8043ad 100644 --- a/Core/Algorithms/inc/Beam.h +++ b/Core/Algorithms/inc/Beam.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Beam.h +//! @brief Defines class Beam. +// +// ************************************************************************** // + #ifndef BEAM_H_ #define BEAM_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file Beam.h -//! @brief Definition of Beam class -//! @author Scientific Computing Group at FRM II -//! @date Jun 21, 2012 #include "Types.h" #include "IParameterized.h" diff --git a/Core/Algorithms/inc/ChiSquaredFrequency.h b/Core/Algorithms/inc/ChiSquaredFrequency.h index 3079f31595b..74293ffa12b 100644 --- a/Core/Algorithms/inc/ChiSquaredFrequency.h +++ b/Core/Algorithms/inc/ChiSquaredFrequency.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ChiSquaredFrequency.h +//! @brief Defines class ChiSquaredFrequency. +// +// ************************************************************************** // + #ifndef CHISQUAREDFREQUENCY_H_ #define CHISQUAREDFREQUENCY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ChiSquaredFrequency.h -//! @brief Definition of ChiSquaredFrequency class -//! @author Scientific Computing Group at FRM II -//! @date Nov 5, 2012 #include "IChiSquaredModule.h" diff --git a/Core/Algorithms/inc/ChiSquaredModule.h b/Core/Algorithms/inc/ChiSquaredModule.h index 7532c2d0dff..0e9deb05615 100644 --- a/Core/Algorithms/inc/ChiSquaredModule.h +++ b/Core/Algorithms/inc/ChiSquaredModule.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ChiSquaredModule.h +//! @brief Defines class ChiSquaredModule. +// +// ************************************************************************** // + #ifndef CHISQUAREDMODULE_H_ #define CHISQUAREDMODULE_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ChiSquaredModule.h -//! @brief Definition of ChiSquaredModule class -//! @author Scientific Computing Group at FRM II -//! @date Jul 20, 2012 #include "IChiSquaredModule.h" diff --git a/Core/Algorithms/inc/ConvolutionDetectorResolution.h b/Core/Algorithms/inc/ConvolutionDetectorResolution.h index 042e7687647..8cc3fedb6af 100644 --- a/Core/Algorithms/inc/ConvolutionDetectorResolution.h +++ b/Core/Algorithms/inc/ConvolutionDetectorResolution.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ConvolutionDetectorResolution.h +//! @brief Defines class ConvolutionDetectorResolution. +// +// ************************************************************************** // + #ifndef CONVOLUTIONDETECTORRESOLUTION_H_ #define CONVOLUTIONDETECTORRESOLUTION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ConvolutionDetectorResolution.h -//! @brief Definition of -//! @author Scientific Computing Group at FRM II -//! @date Jul 10, 2012 #include "IDetectorResolution.h" #include "IResolutionFunction2D.h" diff --git a/Core/Algorithms/inc/DWBADiffuseReflection.h b/Core/Algorithms/inc/DWBADiffuseReflection.h index a114051a800..8e5c95eb1ba 100644 --- a/Core/Algorithms/inc/DWBADiffuseReflection.h +++ b/Core/Algorithms/inc/DWBADiffuseReflection.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DWBADiffuseReflection.h +//! @brief Defines class DWBADiffuseReflection. +// +// ************************************************************************** // + #ifndef DWBADIFFUSEREFLECTION_H #define DWBADIFFUSEREFLECTION_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file DWBADiffuseReflection.h -//! @brief Definition of DWBADiffuseReflection class for multi-layers -//! @author Scientific Computing Group at FRM II -//! @date 02.05.2012 #include "ISimulation.h" #include "Units.h" diff --git a/Core/Algorithms/inc/DWBASimulation.h b/Core/Algorithms/inc/DWBASimulation.h index 5cf2a635767..97f09b983e8 100644 --- a/Core/Algorithms/inc/DWBASimulation.h +++ b/Core/Algorithms/inc/DWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DWBASimulation.h +//! @brief Defines class DWBASimulation. +// +// ************************************************************************** // + #ifndef DWBASIMULATION_H_ #define DWBASIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file DWBASimulation.h -//! @brief Definition of -//! @author Scientific Computing Group at FRM II -//! @date Jun 26, 2012 #include "ISimulation.h" #include "Simulation.h" diff --git a/Core/Algorithms/inc/DecouplingApproximationStrategy.h b/Core/Algorithms/inc/DecouplingApproximationStrategy.h index 34b8894ad73..300c9f2a949 100644 --- a/Core/Algorithms/inc/DecouplingApproximationStrategy.h +++ b/Core/Algorithms/inc/DecouplingApproximationStrategy.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DecouplingApproximationStrategy.h +//! @brief Defines class DecouplingApproximationStrategy. +// +// ************************************************************************** // + #ifndef DECOUPLINGAPPROXIMATIONSTRATEGY_H_ #define DECOUPLINGAPPROXIMATIONSTRATEGY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file DecouplingApproximationStrategy.h -//! @brief Definition of DecouplingApproximationStrategy class -//! @author Scientific Computing Group at FRM II -//! @date Jun 29, 2012 #include "Types.h" #include "IInterferenceFunctionStrategy.h" diff --git a/Core/Algorithms/inc/Detector.h b/Core/Algorithms/inc/Detector.h index 8ff7fab162f..a3edec65e64 100644 --- a/Core/Algorithms/inc/Detector.h +++ b/Core/Algorithms/inc/Detector.h @@ -1,25 +1,28 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Detector.h +//! @brief Defines class Detector. +// +// ************************************************************************** // + #ifndef DETECTOR_H_ #define DETECTOR_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file Detector.h -//! @brief Definition of Detector class -//! @author Scientific Computing Group at FRM II -//! @date Jun 21, 2012 #include "IDetectorResolution.h" #include "DetectorParameters.h" #include "IParameterized.h" #include "SafePointerVector.h" - #include <vector> //- ------------------------------------------------------------------- diff --git a/Core/Algorithms/inc/DetectorParameters.h b/Core/Algorithms/inc/DetectorParameters.h index 25e9bbd2d3f..5728a4a4f94 100644 --- a/Core/Algorithms/inc/DetectorParameters.h +++ b/Core/Algorithms/inc/DetectorParameters.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DetectorParameters.h +//! @brief Defines struct AxisParameters and struct DetectorParameters. +// +// ************************************************************************** // + #ifndef DETECTORPARAMETERS_H_ #define DETECTORPARAMETERS_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file DetectorParameters.h -//! @brief Definition of DetectorParameters class -//! @author Scientific Computing Group at FRM II -//! @date Dec 12, 2012 #include "TRange.h" diff --git a/Core/Algorithms/inc/DiffuseDWBASimulation.h b/Core/Algorithms/inc/DiffuseDWBASimulation.h index ff3c5fbfb94..2b87b0b337d 100644 --- a/Core/Algorithms/inc/DiffuseDWBASimulation.h +++ b/Core/Algorithms/inc/DiffuseDWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DiffuseDWBASimulation.h +//! @brief Defines class DiffuseDWBASimulation. +// +// ************************************************************************** // + #ifndef DIFFUSEDWBASIMULATION_H_ #define DIFFUSEDWBASIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file DiffuseDWBASimulation.h -//! @brief Definition of -//! @author Scientific Computing Group at FRM II -//! @date Sep 4, 2012 #include "LayerDWBASimulation.h" #include "DiffuseParticleInfo.h" diff --git a/Core/Algorithms/inc/ExperimentConstants.h b/Core/Algorithms/inc/ExperimentConstants.h index 671321fc8f2..edaeedeae62 100644 --- a/Core/Algorithms/inc/ExperimentConstants.h +++ b/Core/Algorithms/inc/ExperimentConstants.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ExperimentConstants.h +//! @brief Defines axis names in namespace NDetector2d +// +// ************************************************************************** // + #ifndef EXPERIMENTCONSTANTS_H_ #define EXPERIMENTCONSTANTS_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ExperimentConstants.h -//! @brief Definition of experimental constants -//! @author Scientific Computing Group at FRM II -//! @date Dec 14, 2012 #include <string> diff --git a/Core/Algorithms/inc/FTDistributions.h b/Core/Algorithms/inc/FTDistributions.h index 7bed90e47dc..17ff8c3e80b 100644 --- a/Core/Algorithms/inc/FTDistributions.h +++ b/Core/Algorithms/inc/FTDistributions.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/FTDistributions.h +//! @brief Defines classes IFTDistribution1D, ..2D, ..2DCauchy +// +// ************************************************************************** // + #ifndef FTDISTRIBUTIONS_H_ #define FTDISTRIBUTIONS_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file FTDistributions.h -//! @brief Definition of Fourier Transformed distributions -//! @author Scientific Computing Group at FRM II -//! @date Oct 26, 2012 #include "IParameterized.h" #include "ParameterPool.h" diff --git a/Core/Algorithms/inc/IChiSquaredModule.h b/Core/Algorithms/inc/IChiSquaredModule.h index dac766e0a67..d6a0ce3c7b5 100644 --- a/Core/Algorithms/inc/IChiSquaredModule.h +++ b/Core/Algorithms/inc/IChiSquaredModule.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IChiSquaredModule.h +//! @brief Defines class IChiSquaredModule. +// +// ************************************************************************** // + #ifndef ICHISQUAREDMODULE_H_ #define ICHISQUAREDMODULE_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IChiSquaredModule.h -//! @brief Definition of the IChiSquaredModule interface -//! @author Scientific Computing Group at FRM II -//! @date Nov 5, 2012 //#include "IParameterized.h" #include "ICloneable.h" diff --git a/Core/Algorithms/inc/IDetectorResolution.h b/Core/Algorithms/inc/IDetectorResolution.h index 79983056b74..2585cef254e 100644 --- a/Core/Algorithms/inc/IDetectorResolution.h +++ b/Core/Algorithms/inc/IDetectorResolution.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IDetectorResolution.h +//! @brief Defines class IDetectorResolution. +// +// ************************************************************************** // + #ifndef IDETECTORRESOLUTION_H_ #define IDETECTORRESOLUTION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IDetectorResolution.h -//! @brief Definition of IDetectorResolution interface -//! @author Scientific Computing Group at FRM II -//! @date Jul 10, 2012 #include "OutputData.h" #include "IParameterized.h" diff --git a/Core/Algorithms/inc/IFittingDataSelector.h b/Core/Algorithms/inc/IFittingDataSelector.h index 2ed94f9e9dd..5ec81f0ab7c 100644 --- a/Core/Algorithms/inc/IFittingDataSelector.h +++ b/Core/Algorithms/inc/IFittingDataSelector.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IFittingDataSelector.h +//! @brief Defines classes IFittingDataSelector and DefaultAllDataSelector. +// +// ************************************************************************** // + #ifndef IFITTINGDATASELECTOR_H_ #define IFITTINGDATASELECTOR_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IFittingDataSelector.h -//! @brief Definition of IFittingDataSelector class -//! @author Scientific Computing Group at FRM II -//! @date Jul 20, 2012 #include "OutputData.h" diff --git a/Core/Algorithms/inc/IIntensityFunction.h b/Core/Algorithms/inc/IIntensityFunction.h index 2f9b47c8809..64a912d6c59 100644 --- a/Core/Algorithms/inc/IIntensityFunction.h +++ b/Core/Algorithms/inc/IIntensityFunction.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IIntensityFunction.h +//! @brief Defines classes IIntensityFunction, ..Log, ..Sqrt. +// +// ************************************************************************** // + #ifndef IINTENSITYFUNCTION_H #define IINTENSITYFUNCTION_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IIntensityFunction.h -//! @brief Definition of the functions to apply on intensities before doing any chi2 calculations -//! @author Scientific Computing Group at FRM II -//! @date Jul 20, 2012 #include <cmath> @@ -42,6 +46,4 @@ public: virtual double evaluate(double value) const { return (value > 0 ? std::sqrt(value) : 0); } }; - - #endif // IINTENSITYFUNCTION_H diff --git a/Core/Algorithms/inc/IInterferenceFunctionStrategy.h b/Core/Algorithms/inc/IInterferenceFunctionStrategy.h index 9fc1d03bea1..3b70570849d 100644 --- a/Core/Algorithms/inc/IInterferenceFunctionStrategy.h +++ b/Core/Algorithms/inc/IInterferenceFunctionStrategy.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IInterferenceFunctionStrategy.h +//! @brief Defines class IInterferenceFunctionStrategy. +// +// ************************************************************************** // + #ifndef IINTERFERENCEFUNCTIONSTRATEGY_H_ #define IINTERFERENCEFUNCTIONSTRATEGY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IInterferenceFunctionStrategy.h -//! @brief Definition of IInterferenceFunctionStrategy class -//! @author Scientific Computing Group at FRM II -//! @date Jun 29, 2012 #include "Types.h" #include "IFormFactor.h" diff --git a/Core/Algorithms/inc/IOutputDataNormalizer.h b/Core/Algorithms/inc/IOutputDataNormalizer.h index 99dae89cf1e..418ea09b484 100644 --- a/Core/Algorithms/inc/IOutputDataNormalizer.h +++ b/Core/Algorithms/inc/IOutputDataNormalizer.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IOutputDataNormalizer.h +//! @brief Defines classes IOutputDataNormalizer, OutputDataNormalizer, OutputDataSimpleNormalizer. +// +// ************************************************************************** // + #ifndef IOUTPUTDATANORMALIZER_H #define IOUTPUTDATANORMALIZER_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IOutputDataNormalizer.h -//! @brief Definition of IOutputDataNormalizer class -//! @author Scientific Computing Group at FRM II -//! @date 26.11.2012 #include "IParameterized.h" #include "OutputData.h" diff --git a/Core/Algorithms/inc/IResolutionFunction2D.h b/Core/Algorithms/inc/IResolutionFunction2D.h index f388f0a6314..5cf28e5418d 100644 --- a/Core/Algorithms/inc/IResolutionFunction2D.h +++ b/Core/Algorithms/inc/IResolutionFunction2D.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IResolutionFunction2D.h +//! @brief Defines class IResolutionFunction2D. +// +// ************************************************************************** // + #ifndef IRESOLUTIONFUNCTION2D_H_ #define IRESOLUTIONFUNCTION2D_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IResolutionFunction2D.h -//! @brief Definition of IResolutionFunction2D interface -//! @author Scientific Computing Group at FRM II -//! @date Oct 16, 2012 #include "IParameterized.h" diff --git a/Core/Algorithms/inc/ISampleBuilder.h b/Core/Algorithms/inc/ISampleBuilder.h index 50559ac7011..f712dafa163 100644 --- a/Core/Algorithms/inc/ISampleBuilder.h +++ b/Core/Algorithms/inc/ISampleBuilder.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ISampleBuilder.h +//! @brief Defines class ISampleBuilder. +// +// ************************************************************************** // + #ifndef ISAMPLEBUILDER_H_ #define ISAMPLEBUILDER_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ISampleBuilder.h -//! @brief Definition of ISampleBuilder interface -//! @author Scientific Computing Group at FRM II -//! @date Oct 11, 2012 #include "IParameterized.h" #include "ISample.h" @@ -28,5 +32,4 @@ public: protected: }; - #endif /* ISAMPLEBUILDER_H_ */ diff --git a/Core/Algorithms/inc/ISimulation.h b/Core/Algorithms/inc/ISimulation.h index ded5703df4c..ae039b0b984 100644 --- a/Core/Algorithms/inc/ISimulation.h +++ b/Core/Algorithms/inc/ISimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ISimulation.h +//! @brief Defines class ISimulation. +// +// ************************************************************************** // + #ifndef ISIMULATION_H #define ISIMULATION_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ISimulation.h -//! @brief Definition of ISimulation class -//! @author Scientific Computing Group at FRM II -//! @date 01.04.2012 #include "ICloneable.h" diff --git a/Core/Algorithms/inc/ISquaredFunction.h b/Core/Algorithms/inc/ISquaredFunction.h index 032baf32da4..690fcdab6d4 100644 --- a/Core/Algorithms/inc/ISquaredFunction.h +++ b/Core/Algorithms/inc/ISquaredFunction.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ISquaredFunction.h +//! @brief Defines classes ISquaredFunction, SquaredFunctionDefault, ... +// +// ************************************************************************** // + #ifndef ISQUAREDFUNCTION_H_ #define ISQUAREDFUNCTION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ISquaredFunction.h -//! @brief Definition of function to calculate squared difference -//! @author Scientific Computing Group at FRM II -//! @date Jul 20, 2012 #include "Numeric.h" #include "Exceptions.h" @@ -124,6 +128,4 @@ private: double m_sigma; }; - - #endif /* ISQUAREDFUNCTION_H_ */ diff --git a/Core/Algorithms/inc/Instrument.h b/Core/Algorithms/inc/Instrument.h index 9f15cbdef8f..ddcdc03c92c 100644 --- a/Core/Algorithms/inc/Instrument.h +++ b/Core/Algorithms/inc/Instrument.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Instrument.h +//! @brief Defines class Instrument. +// +// ************************************************************************** // + #ifndef INSTRUMENT_H_ #define INSTRUMENT_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file Instrument.h -//! @brief Definition of Instrument class -//! @author Scientific Computing Group at FRM II -//! @date Feb 14, 2013 #include "Beam.h" #include "Detector.h" @@ -110,5 +114,4 @@ inline const IAxis &Instrument::getDetectorAxis(size_t index) const return m_detector.getAxis(index); } - #endif /* INSTRUMENT_H_ */ diff --git a/Core/Algorithms/inc/InterferenceFunctionStrategies.h b/Core/Algorithms/inc/InterferenceFunctionStrategies.h index be041b6d167..df852445413 100644 --- a/Core/Algorithms/inc/InterferenceFunctionStrategies.h +++ b/Core/Algorithms/inc/InterferenceFunctionStrategies.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/InterferenceFunctionStrategies.h +//! @brief Includes several files names *Strategy.h. +// +// ************************************************************************** // + #ifndef INTERFERENCEFUNCTIONSTRATEGIES_H_ #define INTERFERENCEFUNCTIONSTRATEGIES_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file InterferenceFunctionStrategies.h -//! @brief Includes all interference function strategies -//! @author Scientific Computing Group at FRM II -//! @date Jan 25, 2013 #include "IInterferenceFunctionStrategy.h" #include "DecouplingApproximationStrategy.h" @@ -20,5 +24,4 @@ #include "LocalMonodisperseApproximationStrategy.h" #include "SizeSpacingCorrelationApproximationStrategy.h" - #endif /* INTERFERENCEFUNCTIONSTRATEGIES_H_ */ diff --git a/Core/Algorithms/inc/IsGISAXSMorphologyFileStrategy.h b/Core/Algorithms/inc/IsGISAXSMorphologyFileStrategy.h index 03254ba5f53..1b58e4a8d82 100644 --- a/Core/Algorithms/inc/IsGISAXSMorphologyFileStrategy.h +++ b/Core/Algorithms/inc/IsGISAXSMorphologyFileStrategy.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IsGISAXSMorphologyFileStrategy.h +//! @brief Defines class IsGISAXSMorphologyFileStrategy. +// +// ************************************************************************** // + #ifndef ISGISAXSMORPHOLOGYFILESTRATEGY_H_ #define ISGISAXSMORPHOLOGYFILESTRATEGY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file IsGISAXSMorphologyFileStrategy.h -//! @brief Definition of IsGISAXSMorphologyFileStrategy class -//! @author Scientific Computing Group at FRM II -//! @date Jan 7, 2013 #include "Types.h" #include "IInterferenceFunctionStrategy.h" @@ -42,6 +46,4 @@ private: double hannFunction(double x, double y) const; }; - - #endif /* ISGISAXSMORPHOLOGYFILESTRATEGY_H_ */ diff --git a/Core/Algorithms/inc/LayerDWBASimulation.h b/Core/Algorithms/inc/LayerDWBASimulation.h index a6ab5d6c9bd..f345bc0ef27 100644 --- a/Core/Algorithms/inc/LayerDWBASimulation.h +++ b/Core/Algorithms/inc/LayerDWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LayerDWBASimulation.h +//! @brief Defines class LayerDWBASimulation. +// +// ************************************************************************** // + #ifndef LAYERDWBASIMULATION_H_ #define LAYERDWBASIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file LayerDWBASimulation.h -//! @brief Definition of LayerDWBASimulation class -//! @author Scientific Computing Group at FRM II -//! @date Jun 25, 2012 #include "DWBASimulation.h" #include "IDoubleToComplexFunction.h" diff --git a/Core/Algorithms/inc/LayerDecoratorDWBASimulation.h b/Core/Algorithms/inc/LayerDecoratorDWBASimulation.h index 187dd52f0c7..d6e8bb205b6 100644 --- a/Core/Algorithms/inc/LayerDecoratorDWBASimulation.h +++ b/Core/Algorithms/inc/LayerDecoratorDWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LayerDecoratorDWBASimulation.h +//! @brief Defines class LayerDecoratorDWBASimulation. +// +// ************************************************************************** // + #ifndef LAYERDECORATORDWBASIMULATION_H_ #define LAYERDECORATORDWBASIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file LayerDecoratorDWBASimulation.h -//! @brief Definition of LayerDecoratorDWBASimulation class -//! @author Scientific Computing Group at FRM II -//! @date Jun 25, 2012 #include "LayerDWBASimulation.h" #include "DiffuseDWBASimulation.h" diff --git a/Core/Algorithms/inc/LocalMonodisperseApproximationStrategy.h b/Core/Algorithms/inc/LocalMonodisperseApproximationStrategy.h index 514826d9cda..a7e8e8fd6c5 100644 --- a/Core/Algorithms/inc/LocalMonodisperseApproximationStrategy.h +++ b/Core/Algorithms/inc/LocalMonodisperseApproximationStrategy.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LocalMonodisperseApproximationStrategy.h +//! @brief Defines class LocalMonodisperseApproximationStrategy. +// +// ************************************************************************** // + #ifndef LOCALMONODISPERSEAPPROXIMATIONSTRATEGY_H_ #define LOCALMONODISPERSEAPPROXIMATIONSTRATEGY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file LocalMonodisperseApproximationStrategy.h -//! @brief Definition of LocalMonodisperseApproximationStrategy class -//! @author Scientific Computing Group at FRM II -//! @date Jun 29, 2012 #include "IInterferenceFunctionStrategy.h" @@ -30,6 +34,4 @@ private: bool checkVectorSizes(); }; - - #endif /* LOCALMONODISPERSEAPPROXIMATIONSTRATEGY_H_ */ diff --git a/Core/Algorithms/inc/Mask.h b/Core/Algorithms/inc/Mask.h index f852f7d05ab..8393cb2a5ab 100644 --- a/Core/Algorithms/inc/Mask.h +++ b/Core/Algorithms/inc/Mask.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Mask.h +//! @brief Defines classes Mask, MaskIndexModulus, MaskCoordinates. +// +// ************************************************************************** // + #ifndef MASK_H_ #define MASK_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file Mask.h -//! @brief Definition of mask classes for OutputData masking -//! @author Scientific Computing Group at FRM II -//! @date Nov 15, 2012 #include "MaskCoordinateFunction.h" diff --git a/Core/Algorithms/inc/MaskCoordinateFunction.h b/Core/Algorithms/inc/MaskCoordinateFunction.h index d9a436cba1f..fcd2a691c20 100644 --- a/Core/Algorithms/inc/MaskCoordinateFunction.h +++ b/Core/Algorithms/inc/MaskCoordinateFunction.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MaskCoordinateFunction.h +//! @brief Defines classes MaskCoordinateFunction, MaskCoordinate..Function. +// +// ************************************************************************** // + #ifndef MASKCOORDINATEFUNCTION_H_ #define MASKCOORDINATEFUNCTION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file MaskCoordinateFunction.h -//! @brief Definition of MaskCoordinateFunction classes -//! @author Scientific Computing Group at FRM II -//! @date Nov 20, 2012 #include <cstddef> #include "ICloneable.h" diff --git a/Core/Algorithms/inc/MultiLayerDWBASimulation.h b/Core/Algorithms/inc/MultiLayerDWBASimulation.h index ddfde77e5a8..de9964c70a8 100644 --- a/Core/Algorithms/inc/MultiLayerDWBASimulation.h +++ b/Core/Algorithms/inc/MultiLayerDWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MultiLayerDWBASimulation.h +//! @brief Defines class MultiLayerDWBASimulation. +// +// ************************************************************************** // + #ifndef MULTILAYERDWBASIMULATION_H_ #define MULTILAYERDWBASIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file MultiLayerDWBASimulation.h -//! @brief Definition of MultiLayerDWBASimulation class -//! @author Scientific Computing Group at FRM II -//! @date Jun 26, 2012 #include "LayerDWBASimulation.h" @@ -22,7 +26,6 @@ class MultiLayer; class MultiLayerRoughnessDWBASimulation; - class MultiLayerDWBASimulation : public DWBASimulation { public: @@ -44,5 +47,4 @@ protected: MultiLayerRoughnessDWBASimulation *mp_roughness_dwba_simulation; }; - #endif /* MULTILAYERDWBASIMULATION_H_ */ diff --git a/Core/Algorithms/inc/MultiLayerRoughnessDWBASimulation.h b/Core/Algorithms/inc/MultiLayerRoughnessDWBASimulation.h index 006eec0ee6b..7396f055238 100644 --- a/Core/Algorithms/inc/MultiLayerRoughnessDWBASimulation.h +++ b/Core/Algorithms/inc/MultiLayerRoughnessDWBASimulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MultiLayerRoughnessDWBASimulation.h +//! @brief Defines class MultiLayerRoughnessDWBASimulation. +// +// ************************************************************************** // + #ifndef MULTILAYERROUGHNESSDWBASIMULATION_H #define MULTILAYERROUGHNESSDWBASIMULATION_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file MultiLayerRoughnessDWBASimulation.h -//! @brief Calculation of diffuse reflection from multilayer with rough interfaces -//! @author Scientific Computing Group at FRM II -//! @date 02.08.2012 #include "DWBASimulation.h" #include <vector> diff --git a/Core/Algorithms/inc/OpticalFresnel.h b/Core/Algorithms/inc/OpticalFresnel.h index 50733a50bfb..f70ec0453f5 100644 --- a/Core/Algorithms/inc/OpticalFresnel.h +++ b/Core/Algorithms/inc/OpticalFresnel.h @@ -1,27 +1,28 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/OpticalFresnel.h +//! @brief Defines class OpticalFresnel. +// +// ************************************************************************** // + #ifndef OPTICALFRESNEL_H #define OPTICALFRESNEL_H -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file OpticalFresnel.h -//! @brief Definition of OpticalFresnel class -//! @author Scientific Computing Group at FRM II -//! @date 01.04.2012 #include <vector> #include "Types.h" #include "ISimulation.h" #include "MultiLayer.h" - -//class MultiLayer; - /* ************************************************************************* */ // optical fresnel coefficients /* ************************************************************************* */ @@ -80,5 +81,4 @@ private: void calculateRT2(const MultiLayer &sample, MultiLayerCoeff_t &coeff) const; }; - #endif // OPTICALFRESNEL_H diff --git a/Core/Algorithms/inc/ResolutionFunction2DSimple.h b/Core/Algorithms/inc/ResolutionFunction2DSimple.h index 2ac9f95a320..a9516bc9baf 100644 --- a/Core/Algorithms/inc/ResolutionFunction2DSimple.h +++ b/Core/Algorithms/inc/ResolutionFunction2DSimple.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ResolutionFunction2DSimple.h +//! @brief Defines class ResolutionFunction2DSimple. +// +// ************************************************************************** // + #ifndef RESOLUTIONFUNCTION2DSIMPLE_H_ #define RESOLUTIONFUNCTION2DSIMPLE_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ResolutionFunction2DSimple.h -//! @brief Definition of ResolutionFunction2DSimple class -//! @author Scientific Computing Group at FRM II -//! @date Oct 16, 2012 #include "IResolutionFunction2D.h" @@ -37,5 +41,4 @@ private: double m_sigma_y; }; - #endif /* RESOLUTIONFUNCTION2DSIMPLE_H_ */ diff --git a/Core/Algorithms/inc/Simulation.h b/Core/Algorithms/inc/Simulation.h index 68efcf49b8d..11e8b39feb5 100644 --- a/Core/Algorithms/inc/Simulation.h +++ b/Core/Algorithms/inc/Simulation.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Simulation.h +//! @brief Defines class Simulation. +// +// ************************************************************************** // + #ifndef SIMULATION_H_ #define SIMULATION_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file Simulation.h -//! @brief Definition of Simulation class -//! @author Scientific Computing Group at FRM II -//! @date 20.06.2012 #include "ISample.h" #include "ISampleBuilder.h" diff --git a/Core/Algorithms/inc/SimulationParameters.h b/Core/Algorithms/inc/SimulationParameters.h index 4cd19bf3c23..d4eec3f7e02 100644 --- a/Core/Algorithms/inc/SimulationParameters.h +++ b/Core/Algorithms/inc/SimulationParameters.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/SimulationParameters.h +//! @brief Defines class SimulationParameters. +// +// ************************************************************************** // + #ifndef SIMULATIONPARAMETERS_H_ #define SIMULATIONPARAMETERS_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file SimulationParameters.h -//! @brief Definition of SimulationParameters class -//! @author Scientific Computing Group at FRM II -//! @date Jan 24, 2013 //- ------------------------------------------------------------------- //! @class SimulationParameters diff --git a/Core/Algorithms/inc/SizeSpacingCorrelationApproximationStrategy.h b/Core/Algorithms/inc/SizeSpacingCorrelationApproximationStrategy.h index e3623c9bf58..c80daa5f20a 100644 --- a/Core/Algorithms/inc/SizeSpacingCorrelationApproximationStrategy.h +++ b/Core/Algorithms/inc/SizeSpacingCorrelationApproximationStrategy.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/SizeSpacingCorrelationApproximationStrategy.h +//! @brief Defines class SizeSpacingCorrelationApproximationStrategy. +// +// ************************************************************************** // + #ifndef SIZESPACINGCORRELATIONAPPROXIMATIONSTRATEGY_H_ #define SIZESPACINGCORRELATIONAPPROXIMATIONSTRATEGY_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file SizeSpacingCorrelationApproximationStrategy.h -//! @brief Definition of SizeSpacingCorrelationApproximationStrategy class -//! @author Scientific Computing Group at FRM II -//! @date Jan 17, 2013 #include "Types.h" #include "IInterferenceFunctionStrategy.h" @@ -42,5 +46,4 @@ private: double m_kappa; }; - #endif /* SIZESPACINGCORRELATIONAPPROXIMATIONSTRATEGY_H_ */ diff --git a/Core/Algorithms/inc/StrategyBuilder.h b/Core/Algorithms/inc/StrategyBuilder.h index 6498f772e7e..add3346b1dd 100644 --- a/Core/Algorithms/inc/StrategyBuilder.h +++ b/Core/Algorithms/inc/StrategyBuilder.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/StrategyBuilder.h +//! @brief Defines classes LayerDecoratorStrategyBuilder, FormFactorInfo. +// +// ************************************************************************** // + #ifndef STRATEGYBUILDER_H_ #define STRATEGYBUILDER_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file LayerDecoratorStrategyBuilder.h -//! @brief Definition of LayerDecoratorStrategyBuilder class -//! @author Scientific Computing Group at FRM II -//! @date Jan 24, 2013 #include "SimulationParameters.h" #include "SafePointerVector.h" diff --git a/Core/Algorithms/inc/ThreadInfo.h b/Core/Algorithms/inc/ThreadInfo.h index 801f9e471fe..643ba05b937 100644 --- a/Core/Algorithms/inc/ThreadInfo.h +++ b/Core/Algorithms/inc/ThreadInfo.h @@ -1,18 +1,22 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ThreadInfo.h +//! @brief Defines struct ThreadInfo. +// +// ************************************************************************** // + #ifndef THREADINFO_H_ #define THREADINFO_H_ -// ******************************************************************** -// * The BornAgain project * -// * Simulation of neutron and x-ray scattering at grazing incidence * -// * * -// * LICENSE AND DISCLAIMER * -// * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris * -// * eget quam orci. Quisque porta varius dui, quis posuere nibh * -// * mollis quis. Mauris commodo rhoncus porttitor. * -// ******************************************************************** -//! @file ThreadInfo.h -//! @brief Definition of ThreadInfo class -//! @author Scientific Computing Group at FRM II -//! @date Nov 14, 2012 //- ------------------------------------------------------------------- //! @class ThreadInfo diff --git a/Core/Algorithms/src/Beam.cpp b/Core/Algorithms/src/Beam.cpp index 02d3d2ecfa3..d17a999475c 100644 --- a/Core/Algorithms/src/Beam.cpp +++ b/Core/Algorithms/src/Beam.cpp @@ -1,5 +1,21 @@ -#include "Beam.h" +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Beam.cpp +//! @brief Implements class Beam. +// +// ************************************************************************** // +#include "Beam.h" /* ************************************************************************* */ // c-tors, assignment operators, swap @@ -32,7 +48,6 @@ void Beam::swapContent(Beam &other) std::swap(this->m_intensity, other.m_intensity); } - /* ************************************************************************* */ // c-tors, assignment operators, swap /* ************************************************************************* */ diff --git a/Core/Algorithms/src/ChiSquaredFrequency.cpp b/Core/Algorithms/src/ChiSquaredFrequency.cpp index 9c67effe487..8b058cbb3ba 100644 --- a/Core/Algorithms/src/ChiSquaredFrequency.cpp +++ b/Core/Algorithms/src/ChiSquaredFrequency.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ChiSquaredFrequency.cpp +//! @brief Implements class ChiSquaredFrequency. +// +// ************************************************************************** // + #include "ChiSquaredFrequency.h" #include "OutputDataFunctions.h" #include <cassert> @@ -7,10 +24,8 @@ ChiSquaredFrequency::ChiSquaredFrequency() , mp_simulation_ft(0) , m_cutoff(1.0) { - } - ChiSquaredFrequency::~ChiSquaredFrequency() { delete mp_real_ft; @@ -58,7 +73,6 @@ double ChiSquaredFrequency::calculateChiSquared() return m_chi2_value; } - OutputData<double>* ChiSquaredFrequency::createChi2DifferenceMap() const { assert(mp_simulation_ft != NULL); diff --git a/Core/Algorithms/src/ChiSquaredModule.cpp b/Core/Algorithms/src/ChiSquaredModule.cpp index c2252225481..5c05d8f3dc8 100644 --- a/Core/Algorithms/src/ChiSquaredModule.cpp +++ b/Core/Algorithms/src/ChiSquaredModule.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ChiSquaredModule.cpp +//! @brief Implements class ChiSquaredModule. +// +// ************************************************************************** // + #include "ChiSquaredModule.h" #include "OutputDataFunctions.h" #include <cassert> @@ -6,18 +23,15 @@ ChiSquaredModule::ChiSquaredModule(const ChiSquaredModule &other) : IChiSquaredM { } - ChiSquaredModule::~ChiSquaredModule() { } - ChiSquaredModule *ChiSquaredModule::clone() const { return new ChiSquaredModule(*this); } - double ChiSquaredModule::calculateChiSquared() { if( !mp_real_data ) throw NullPointerException("ChiSquaredModule::calculateChiSquared() -> Error! No real data has been set"); @@ -51,7 +65,6 @@ double ChiSquaredModule::calculateChiSquared() return m_chi2_value; } - double ChiSquaredModule::getResidualValue(size_t index ) const { assert(mp_real_data != NULL ); @@ -69,7 +82,6 @@ double ChiSquaredModule::getResidualValue(size_t index ) const return residual; } - OutputData<double>* ChiSquaredModule::createChi2DifferenceMap() const { if( !mp_real_data ) throw NullPointerException("ChiSquaredModule::calculateChiSquared() -> Error! No real data has been set"); diff --git a/Core/Algorithms/src/ConvolutionDetectorResolution.cpp b/Core/Algorithms/src/ConvolutionDetectorResolution.cpp index a25f8bad4c0..d275cc35437 100644 --- a/Core/Algorithms/src/ConvolutionDetectorResolution.cpp +++ b/Core/Algorithms/src/ConvolutionDetectorResolution.cpp @@ -1,10 +1,26 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ConvolutionDetectorResolution.cpp +//! @brief Implements class ConvolutionDetectorResolution. +// +// ************************************************************************** // + #include "ConvolutionDetectorResolution.h" #include "Convolve.h" #include <iostream> #include <cassert> - /* ************************************************************************* */ // c-tors /* ************************************************************************* */ @@ -31,7 +47,6 @@ ConvolutionDetectorResolution::~ConvolutionDetectorResolution() delete mp_res_function_2d; } - ConvolutionDetectorResolution::ConvolutionDetectorResolution(const ConvolutionDetectorResolution &other) : IDetectorResolution() // : IDetectorResolution(other) { @@ -43,19 +58,12 @@ ConvolutionDetectorResolution::ConvolutionDetectorResolution(const ConvolutionDe } - -/* ************************************************************************* */ -// clone -/* ************************************************************************* */ //! clone object ConvolutionDetectorResolution *ConvolutionDetectorResolution::clone() const { return new ConvolutionDetectorResolution(*this); } - - - void ConvolutionDetectorResolution::applyDetectorResolution( OutputData<double>* p_intensity_map) const { diff --git a/Core/Algorithms/src/DWBADiffuseReflection.cpp b/Core/Algorithms/src/DWBADiffuseReflection.cpp index 797c93150fb..49f4ce8d9f6 100644 --- a/Core/Algorithms/src/DWBADiffuseReflection.cpp +++ b/Core/Algorithms/src/DWBADiffuseReflection.cpp @@ -1,8 +1,23 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DWBADiffuseReflection.cpp +//! @brief Implements class DWBADiffuseReflection. +// +// ************************************************************************** // + #include "DWBADiffuseReflection.h" #include "LayerRoughness.h" - - DWBADiffuseReflection::DWBADiffuseReflection() : m_sample(0) , m_diffuse_autocorr(0) @@ -11,7 +26,6 @@ DWBADiffuseReflection::DWBADiffuseReflection() { } - void DWBADiffuseReflection::execute(const MultiLayer &sample, const kvector_t &ki, const kvector_t &kf) { setSample(sample); @@ -27,7 +41,6 @@ void DWBADiffuseReflection::execute(const MultiLayer &sample, const kvector_t &k } - void DWBADiffuseReflection::setKvectors(const kvector_t &ki, const kvector_t &kf) { m_ki = ki; @@ -42,7 +55,6 @@ void DWBADiffuseReflection::setKvectors(const kvector_t &ki, const kvector_t &kf calculator.execute(*m_sample, kf, m_fcoeff_f); } - void DWBADiffuseReflection::diffuse_autocorr() { double autocorr(0); @@ -52,7 +64,6 @@ void DWBADiffuseReflection::diffuse_autocorr() m_diffuse_autocorr = autocorr*m_ki.mag2()/16./M_PI; } - void DWBADiffuseReflection::diffuse_crosscorr() { complex_t crosscorr(0); @@ -76,7 +87,6 @@ void DWBADiffuseReflection::diffuse_crosscorr() m_diffuse_crosscorr = crosscorr.real()*m_ki.mag2()/16./M_PI; } - complex_t DWBADiffuseReflection::get_refractive_term(size_t ilayer) const { complex_t n1 = m_sample->getLayer(ilayer)->getRefractiveIndex(); @@ -84,7 +94,6 @@ complex_t DWBADiffuseReflection::get_refractive_term(size_t ilayer) const return n1*n1-n2*n2; } - complex_t DWBADiffuseReflection::get_sum4terms(size_t ilayer) { double sigma2 = -0.5*std::pow(m_sample->getLayerBottomInterface(ilayer)->getRoughness()->getSigma(), 2); diff --git a/Core/Algorithms/src/DWBASimulation.cpp b/Core/Algorithms/src/DWBASimulation.cpp index d5c4c614e3f..aab6a3e3b75 100644 --- a/Core/Algorithms/src/DWBASimulation.cpp +++ b/Core/Algorithms/src/DWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DWBASimulation.cpp +//! @brief Implements class DWBASimulation. +// +// ************************************************************************** // + #include "DWBASimulation.h" DWBASimulation::DWBASimulation() diff --git a/Core/Algorithms/src/DecouplingApproximationStrategy.cpp b/Core/Algorithms/src/DecouplingApproximationStrategy.cpp index 37dc0cebd3c..c76adc203a0 100644 --- a/Core/Algorithms/src/DecouplingApproximationStrategy.cpp +++ b/Core/Algorithms/src/DecouplingApproximationStrategy.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DecouplingApproximationStrategy.cpp +//! @brief Implements class DecouplingApproximationStrategy. +// +// ************************************************************************** // + #include "DecouplingApproximationStrategy.h" #include "Exceptions.h" @@ -38,4 +55,3 @@ bool DecouplingApproximationStrategy::checkVectorSizes() const size_t n_ifs = m_ifs.size(); return (n_ffs>0 && n_ifs==1); } - diff --git a/Core/Algorithms/src/Detector.cpp b/Core/Algorithms/src/Detector.cpp index e249ebd9cdf..494f9a843e7 100644 --- a/Core/Algorithms/src/Detector.cpp +++ b/Core/Algorithms/src/Detector.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Detector.cpp +//! @brief Implements class Detector. +// +// ************************************************************************** // + #include "Detector.h" #include "AxisBin.h" @@ -16,7 +33,6 @@ Detector::Detector() init_parameters(); } - Detector::Detector(const Detector &other) : IParameterized() , m_axes(other.m_axes), mp_detector_resolution(0) { @@ -25,7 +41,6 @@ Detector::Detector(const Detector &other) : IParameterized() init_parameters(); } - Detector::~Detector() { delete mp_detector_resolution; @@ -46,7 +61,6 @@ void Detector::swapContent(Detector &other) std::swap(this->mp_detector_resolution, other.mp_detector_resolution); } - /* ************************************************************************* */ // other methods /* ************************************************************************* */ diff --git a/Core/Algorithms/src/DiffuseDWBASimulation.cpp b/Core/Algorithms/src/DiffuseDWBASimulation.cpp index 2a2adae8e4d..2413bad24d3 100644 --- a/Core/Algorithms/src/DiffuseDWBASimulation.cpp +++ b/Core/Algorithms/src/DiffuseDWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/DiffuseDWBASimulation.cpp +//! @brief Implements class DiffuseDWBASimulation. +// +// ************************************************************************** // + #include "DiffuseDWBASimulation.h" #include "FormFactorDWBAConstZ.h" #include "ExperimentConstants.h" diff --git a/Core/Algorithms/src/FTDistributions.cpp b/Core/Algorithms/src/FTDistributions.cpp index a1e92dc263a..c0bd5799212 100644 --- a/Core/Algorithms/src/FTDistributions.cpp +++ b/Core/Algorithms/src/FTDistributions.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/FTDistributions.cpp +//! @brief Implements class FTDistributions. +// +// ************************************************************************** // + #include "FTDistributions.h" FTDistribution2DCauchy::FTDistribution2DCauchy(double omega_x, double omega_y) diff --git a/Core/Algorithms/src/IChiSquaredModule.cpp b/Core/Algorithms/src/IChiSquaredModule.cpp index 635d3a92a4e..9b64a34a33c 100644 --- a/Core/Algorithms/src/IChiSquaredModule.cpp +++ b/Core/Algorithms/src/IChiSquaredModule.cpp @@ -1,5 +1,21 @@ -#include "IChiSquaredModule.h" +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IChiSquaredModule.cpp +//! @brief Implements class IChiSquaredModule. +// +// ************************************************************************** // +#include "IChiSquaredModule.h" IChiSquaredModule::IChiSquaredModule() : mp_real_data(0) @@ -16,7 +32,6 @@ IChiSquaredModule::IChiSquaredModule() mp_data_selector = new DefaultAllDataSelector(); } - IChiSquaredModule::IChiSquaredModule(const IChiSquaredModule &other) : ICloneable() , mp_real_data(0) @@ -39,7 +54,6 @@ IChiSquaredModule::IChiSquaredModule(const IChiSquaredModule &other) m_ndegree_of_freedom = other.m_ndegree_of_freedom; } - IChiSquaredModule::~IChiSquaredModule() { delete mp_real_data; @@ -51,7 +65,6 @@ IChiSquaredModule::~IChiSquaredModule() delete mp_intensity_function; } - void IChiSquaredModule::setRealAndSimulatedData(const OutputData<double > &real_data, const OutputData<double >&simulation_data) { delete mp_real_data; @@ -60,14 +73,12 @@ void IChiSquaredModule::setRealAndSimulatedData(const OutputData<double > &real_ mp_simulation_data = simulation_data.clone(); } - void IChiSquaredModule::setFittingDataSelector(const IFittingDataSelector& selector) { delete mp_data_selector; mp_data_selector = selector.clone(); } - void IChiSquaredModule::setChiSquaredFunction(const ISquaredFunction& squared_function) { delete mp_squared_function; @@ -80,14 +91,12 @@ void IChiSquaredModule::setOutputDataNormalizer(const IOutputDataNormalizer &dat mp_data_normalizer = data_normalizer.clone(); } - void IChiSquaredModule::setIntensityFunction(const IIntensityFunction &intensity_function) { delete mp_intensity_function; mp_intensity_function = intensity_function.clone(); } - void IChiSquaredModule::initWeights() { delete mp_weights; diff --git a/Core/Algorithms/src/IFittingDataSelector.cpp b/Core/Algorithms/src/IFittingDataSelector.cpp index 7284d4867b2..b20a3d04729 100644 --- a/Core/Algorithms/src/IFittingDataSelector.cpp +++ b/Core/Algorithms/src/IFittingDataSelector.cpp @@ -1,9 +1,25 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IFittingDataSelector.cpp +//! @brief Implements class DefaultAllDataSelector. +// +// ************************************************************************** // + #include "IFittingDataSelector.h" OutputData<double> *DefaultAllDataSelector::createWeightMap(const OutputData<double>& real_data, const OutputData<double>& simulated_data) const { - if (simulated_data.getAllocatedSize() != real_data.getAllocatedSize()) { throw RuntimeErrorException("DefaultAllDataSelector::createWeightMap() -> Size of simulated data should be equal to the size of real data."); } diff --git a/Core/Algorithms/src/IOutputDataNormalizer.cpp b/Core/Algorithms/src/IOutputDataNormalizer.cpp index 73965a377f1..a7c6a89df93 100644 --- a/Core/Algorithms/src/IOutputDataNormalizer.cpp +++ b/Core/Algorithms/src/IOutputDataNormalizer.cpp @@ -1,8 +1,24 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IOutputDataNormalizer.cpp +//! @brief Implements class IOutputDataNormalizer. +// +// ************************************************************************** // + #include "IOutputDataNormalizer.h" #include <algorithm> #include <iostream> - OutputDataNormalizer::OutputDataNormalizer(double scale, double shift) : m_scale(scale) , m_shift(shift) @@ -19,7 +35,6 @@ void OutputDataNormalizer::init_parameters() getParameterPool()->registerParameter("shift", &m_shift); } - OutputDataNormalizer *OutputDataNormalizer::clone() const { OutputDataNormalizer *result = new OutputDataNormalizer(m_scale, m_shift); @@ -28,8 +43,6 @@ OutputDataNormalizer *OutputDataNormalizer::clone() const return result; } - - OutputData<double> *OutputDataNormalizer::createNormalizedData(const OutputData<double > &data) const { double factor = m_max_intensity; @@ -46,5 +59,3 @@ OutputData<double> *OutputDataNormalizer::createNormalizedData(const OutputData< } return normalized_data; } - - diff --git a/Core/Algorithms/src/Instrument.cpp b/Core/Algorithms/src/Instrument.cpp index 8204620d326..e4f6ba0b637 100644 --- a/Core/Algorithms/src/Instrument.cpp +++ b/Core/Algorithms/src/Instrument.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Instrument.cpp +//! @brief Implements class Instrument. +// +// ************************************************************************** // + #include "Instrument.h" #include "ExperimentConstants.h" diff --git a/Core/Algorithms/src/IsGISAXSMorphologyFileStrategy.cpp b/Core/Algorithms/src/IsGISAXSMorphologyFileStrategy.cpp index ed9003d8060..31628a1e6da 100644 --- a/Core/Algorithms/src/IsGISAXSMorphologyFileStrategy.cpp +++ b/Core/Algorithms/src/IsGISAXSMorphologyFileStrategy.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/IsGISAXSMorphologyFileStrategy.cpp +//! @brief Implements class IsGISAXSMorphologyFileStrategy. +// +// ************************************************************************** // + #include "IsGISAXSMorphologyFileStrategy.h" #include <algorithm> diff --git a/Core/Algorithms/src/LayerDWBASimulation.cpp b/Core/Algorithms/src/LayerDWBASimulation.cpp index f6c32952bc6..df401b118d0 100644 --- a/Core/Algorithms/src/LayerDWBASimulation.cpp +++ b/Core/Algorithms/src/LayerDWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LayerDWBASimulation.cpp +//! @brief Implements class LayerDWBASimulation. +// +// ************************************************************************** // + #include "LayerDWBASimulation.h" #include <cassert> diff --git a/Core/Algorithms/src/LayerDecoratorDWBASimulation.cpp b/Core/Algorithms/src/LayerDecoratorDWBASimulation.cpp index 5edc478034f..0a36b5395e0 100644 --- a/Core/Algorithms/src/LayerDecoratorDWBASimulation.cpp +++ b/Core/Algorithms/src/LayerDecoratorDWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LayerDecoratorDWBASimulation.cpp +//! @brief Implements class LayerDecoratorDWBASimulation. +// +// ************************************************************************** // + #include "LayerDecoratorDWBASimulation.h" #include "LayerDecorator.h" #include "FormFactors.h" diff --git a/Core/Algorithms/src/LocalMonodisperseApproximationStrategy.cpp b/Core/Algorithms/src/LocalMonodisperseApproximationStrategy.cpp index f522d7c95f0..cafab93a883 100644 --- a/Core/Algorithms/src/LocalMonodisperseApproximationStrategy.cpp +++ b/Core/Algorithms/src/LocalMonodisperseApproximationStrategy.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/LocalMonodisperseApproximationStrategy.cpp +//! @brief Implements class LocalMonodisperseApproximationStrategy. +// +// ************************************************************************** // + #include "LocalMonodisperseApproximationStrategy.h" #include "Exceptions.h" diff --git a/Core/Algorithms/src/Mask.cpp b/Core/Algorithms/src/Mask.cpp index 0accf64709e..745c89575a0 100644 --- a/Core/Algorithms/src/Mask.cpp +++ b/Core/Algorithms/src/Mask.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Mask.cpp +//! @brief Implements classes Mask and MaskCoordinate. +// +// ************************************************************************** // + #include "Mask.h" #include <iostream> diff --git a/Core/Algorithms/src/MaskCoordinateFunction.cpp b/Core/Algorithms/src/MaskCoordinateFunction.cpp index 30bd131d932..d67687221e3 100644 --- a/Core/Algorithms/src/MaskCoordinateFunction.cpp +++ b/Core/Algorithms/src/MaskCoordinateFunction.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MaskCoordinateFunction.cpp +//! @brief Implements classes MaskCoordinateFunction, MaskCoordinate..Function +// +// ************************************************************************** // + #include "MaskCoordinateFunction.h" #include "Exceptions.h" diff --git a/Core/Algorithms/src/MultiLayerDWBASimulation.cpp b/Core/Algorithms/src/MultiLayerDWBASimulation.cpp index dec121a3d7e..e2e0c2060c8 100644 --- a/Core/Algorithms/src/MultiLayerDWBASimulation.cpp +++ b/Core/Algorithms/src/MultiLayerDWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MultiLayerDWBASimulation.cpp +//! @brief Implements class MultiLayerDWBASimulation. +// +// ************************************************************************** // + #include "MultiLayerDWBASimulation.h" #include "OpticalFresnel.h" #include "MultiLayer.h" diff --git a/Core/Algorithms/src/MultiLayerRoughnessDWBASimulation.cpp b/Core/Algorithms/src/MultiLayerRoughnessDWBASimulation.cpp index 6aef98c1b09..b53f29c72f6 100644 --- a/Core/Algorithms/src/MultiLayerRoughnessDWBASimulation.cpp +++ b/Core/Algorithms/src/MultiLayerRoughnessDWBASimulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/MultiLayerRoughnessDWBASimulation.cpp +//! @brief Implements class MultiLayerRoughnessDWBASimulation. +// +// ************************************************************************** // + #include "MultiLayerRoughnessDWBASimulation.h" #include "MultiLayer.h" #include "OpticalFresnel.h" diff --git a/Core/Algorithms/src/OpticalFresnel.cpp b/Core/Algorithms/src/OpticalFresnel.cpp index 215b8e5d387..d07188c58f8 100644 --- a/Core/Algorithms/src/OpticalFresnel.cpp +++ b/Core/Algorithms/src/OpticalFresnel.cpp @@ -1,16 +1,29 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/OpticalFresnel.cpp +//! @brief Implements class OpticalFresnel. +// +// ************************************************************************** // + #include <iostream> #include <algorithm> #include "OpticalFresnel.h" -//#include "MultiLayer.h" #include "Numeric.h" - - OpticalFresnel::OpticalFresnel() : m_use_roughness(false) { } - void OpticalFresnel::execute(const MultiLayer &sample, const kvector_t &kvec, MultiLayerCoeff_t &coeff) { coeff.clear(); @@ -33,9 +46,7 @@ void OpticalFresnel::execute(const MultiLayer &sample, const kvector_t &kvec, Mu } calculateX2(sample, coeff); - calculateRT2(sample, coeff); - } void OpticalFresnel::calculateKZ(const MultiLayer &sample, const kvector_t &kvec, MultiLayerCoeff_t &coeff) const @@ -76,7 +87,6 @@ void OpticalFresnel::calculateFresnelCoefficients(MultiLayerCoeff_t &coeff) cons } } - void OpticalFresnel::calculateFresnelCoefficientsWithRoughness(const MultiLayer &sample, MultiLayerCoeff_t &coeff) const { double picoeff = std::pow(M_PI/2., 1.5); @@ -115,7 +125,6 @@ void OpticalFresnel::calculateFresnelCoefficientsWithRoughness(const MultiLayer } } - void OpticalFresnel::calculateX(const MultiLayer &sample, MultiLayerCoeff_t &coeff) const { // ratio of amplitudes of outgoing and incoming waves diff --git a/Core/Algorithms/src/ResolutionFunction2DSimple.cpp b/Core/Algorithms/src/ResolutionFunction2DSimple.cpp index 3a35f6d0307..264bd51d7f2 100644 --- a/Core/Algorithms/src/ResolutionFunction2DSimple.cpp +++ b/Core/Algorithms/src/ResolutionFunction2DSimple.cpp @@ -1,7 +1,23 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/ResolutionFunction2DSimple.cpp +//! @brief Implements class ResolutionFunction2DSimple. +// +// ************************************************************************** // + #include "ResolutionFunction2DSimple.h" #include "MathFunctions.h" - /* ************************************************************************* */ // c-tors, clone /* ************************************************************************* */ @@ -30,7 +46,6 @@ ResolutionFunction2DSimple *ResolutionFunction2DSimple::clone() const return new ResolutionFunction2DSimple(*this); } - /* ************************************************************************* */ // /* ************************************************************************* */ diff --git a/Core/Algorithms/src/Simulation.cpp b/Core/Algorithms/src/Simulation.cpp index 7f5ddc2415e..b47542a91b6 100644 --- a/Core/Algorithms/src/Simulation.cpp +++ b/Core/Algorithms/src/Simulation.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/Simulation.cpp +//! @brief Implements class Simulation. +// +// ************************************************************************** // + #include "Simulation.h" #include "ExperimentConstants.h" @@ -8,7 +25,6 @@ #include <boost/thread.hpp> #include <gsl/gsl_errno.h> - Simulation::Simulation() : IParameterized("Simulation") , mp_sample(0) @@ -72,10 +88,6 @@ Simulation::Simulation(const ISampleBuilder* p_sample_builder, const ProgramOpti init_parameters(); } - -/* ************************************************************************* */ -// clone method -/* ************************************************************************* */ Simulation *Simulation::clone() const { return new Simulation(*this); diff --git a/Core/Algorithms/src/SizeSpacingCorrelationApproximationStrategy.cpp b/Core/Algorithms/src/SizeSpacingCorrelationApproximationStrategy.cpp index 2e6e92f2a7a..a1feaa6f44c 100644 --- a/Core/Algorithms/src/SizeSpacingCorrelationApproximationStrategy.cpp +++ b/Core/Algorithms/src/SizeSpacingCorrelationApproximationStrategy.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/SizeSpacingCorrelationApproximationStrategy.cpp +//! @brief Implements class SizeSpacingCorrelationApproximationStrategy. +// +// ************************************************************************** // + #include "SizeSpacingCorrelationApproximationStrategy.h" #include "InterferenceFunction1DParaCrystal.h" diff --git a/Core/Algorithms/src/StrategyBuilder.cpp b/Core/Algorithms/src/StrategyBuilder.cpp index 42ca2d8a7e3..8feae4534ba 100644 --- a/Core/Algorithms/src/StrategyBuilder.cpp +++ b/Core/Algorithms/src/StrategyBuilder.cpp @@ -1,3 +1,20 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @copyright Forschungszentrum Jülich GmbH 2013 +// +// Homepage: apps.jcns.fz-juelich.de/BornAgain +// License: GNU General Public License v3 or higher (see COPYING) +// +//! @authors Scientific Computing Group at MLZ Garching +//! @authors C. Durniak, G. Pospelov, W. Van Herck, J. Wuttke +// +//! @file Algorithms/StrategyBuilder.cpp +//! @brief Implements class StrategyBuilder. +// +// ************************************************************************** // + #include "StrategyBuilder.h" #include "LayerDecorator.h" #include "Simulation.h" -- GitLab