diff --git a/Core/Algorithms/inc/Beam.h b/Core/Algorithms/inc/Beam.h index 61c6e57d4c12bb6956edd3de404e633296720575..aceee8043adbd36fe3a290a9946b801ed747df4a 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 3079f31595b0839f7c878465659f4695ecfb85be..74293ffa12b2bb0a83a078f3417ab51b47b9584d 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 7532c2d0dff5323dc4b6f8a77e5d88b2ed876f41..0e9deb05615d6d7dfd80ac74b4c90c67c332fb79 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 042e76876473b57fc4dce2e4833af5ca0936d472..8cc3fedb6afa3d5a3d4c6ab748f7fdd0e2fec90a 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 a114051a8006efd8273cf360032fbd29ea0f4658..8e5c95eb1ba2a8534cf43b48b26308a5c217b29b 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 5cf2a635767db8ce97b1ccfeebee09c8c8e300eb..97f09b983e8c1426948259db9f23cb61034f523f 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 34b8894ad738f3327f417a84d1666dfe606f15e6..300c9f2a9495eaf4f62641405b9311dc665c92d5 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 8ff7fab162ff2e8a8d05db4ace1b55784cf50d60..a3edec65e64f10e01e8d01842625b14ce83837fd 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 25e9bbd2d3f7058812c0e35434d51e0f2bdaebb5..5728a4a4f94d334b393ab198f6a69357a4d58582 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 ff3c5fbfb94c0de116d85f66ebabdd5e123a2467..2b87b0b337d611b0bd0467a9ddd43c6cb4f993a9 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 671321fc8f292576d52ed861c0c2a64c8bb71202..edaeedeae6289ea8b001edaa63e2aecbf7fa72a4 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 7bed90e47dc40005cd083fe19811f51ec4a5f319..17ff8c3e80b7b1cd6d324400366a2a5fbe85c8c0 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 dac766e0a676eb1e9051faaee420815a07b68437..d6a0ce3c7b5c6ec9a191a8ff04cb6863f4eae936 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 79983056b74815502e2a1afa923383116a36db1b..2585cef254ef371ad7e40fc5359538c0f5be5e45 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 2ed94f9e9dd4f930229592fd5d6b3af046589698..5ec81f0ab7ced2331c729cfa14924844066d10bd 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 2f9b47c8809f2185f4777fb0f1dfbeb0c1d80eab..64a912d6c59bb9c2628019d956cfb94150eb6398 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 9fc1d03bea12698edd6cb35ba2df64fb7aaf7d54..3b70570849d6e86a1e5bb06308ea379f17d6cfdc 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 99dae89cf1e61b8a63dbd411acf61538386bec5c..418ea09b4845ba51c9ea7d6f0bff56cd54af0338 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 f388f0a6314c12b0d30070bd6c9b32de8e3ea9a3..5cf28e5418df40f1c5b613f1370a4e4f6be3cd3d 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 50559ac7011910c187d7e676833e51da8f3462c8..f712dafa1630aec6b8e86489548630b21d6d4d72 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 ded5703df4cf5780375e9346d65a5bd88a5370fa..ae039b0b98445f1ca1b437efceca5fc04577254d 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 032baf32da486a93d96ea89854cd1f0378ddf317..690fcdab6d41aed41ff3c19674da9f189a030f77 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 9f15cbdef8f8ffe54f0adcdc30c554996576820e..ddcdc03c92c16443e5cfaa39c9ddc678669ae942 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 be041b6d1671c12e8f702a9628aaddb47e886cf2..df8524454134f7ef4ec63e079366976027121ae3 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 03254ba5f53e4b98cb55b5fa4f17d1c47956b9ad..1b58e4a8d82b9377511170ae919c71f8cd09b793 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 a6ab5d6c9bd27338ad9f4d93b7c796968259d561..f345bc0ef27fa1eb663ec1b5c396a338f55a615c 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 187dd52f0c77494ce84d3ed96ef6e9728ba7d20a..d6e8bb205b6a27cc294b84008d0082f96bc89e07 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 514826d9cdab183cb97ed180b3c79871082f054d..a7e8e8fd6c5710b09f6d3d3cc3b6fb42a4aaf785 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 f852f7d05ab1820a24cc1215fc920af5d7c02370..8393cb2a5ab175a3fad23d8cef388a6b6bd44d7d 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 d9a436cba1f634280fedb9d5c2e240392700e36b..fcd2a691c20977370c34a209248666f236fef906 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 ddfde77e5a8bb6e1d2da63d1a510f0b4632b398d..de9964c70a8e43986516fabefe861a387ec7aa8a 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 006eec0ee6bca6b007829c4c46c513a2e5029cc7..7396f055238b65e4afd703724dceb748fc3754b1 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 50733a50bfba224b43255fb2c8337b92b095bf05..f70ec0453f51f094a28b9feff30050ef066917bf 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 2ac9f95a320db19a2fb8eceb4df9a5f02a9943bf..a9516bc9baf8a3d922d667e7adfaaa8e8be4b9e6 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 68efcf49b8de0784bdbae2ca4f1168e0c266bad8..11e8b39feb51f0aacb9bc033054397bc5c9d0328 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 4cd19bf3c23617afa6874073edcb6638605c5f33..d4eec3f7e02723ba4abe1b91796b8750550f18bd 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 e3623c9bf58d369c47b4e6c77f01cfb82d8e8c81..c80daa5f20a2690c13bb49e133f36dcda415b0d8 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 6498f772e7e1a54b029b69e7d7c889b58dd77b09..add3346b1dd8f5086d8e1428a98b1690b254af6c 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 801f9e471fe68deb375f0fef408da84ba6c9d658..643ba05b937c89c66c19880d086d6c794aac6309 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 02d3d2ecfa32fceda1a6cd9401119cd938453440..d17a999475c48600e7b564cc2390bb19d83c08be 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 9c67effe4879c107648623b245d6c6c833e75d86..8b058cbb3babe2807fe9813d10aecef3daf62aff 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 c22522254816c5b8fe95e54a465855af7d24bce1..5c05d8f3dc8761fa02847c2a402f247db878747d 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 a25f8bad4c0a1d0df8b76a94de78c17c292de135..d275cc3543735a5f21a34c57fdc1af5df94a6b6c 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 797c93150fbd5201109c266dff72c8eb29f5d60d..49f4ce8d9f66bd33c612e676701646e3f920b52a 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 d5c4c614e3f2fab69664814adf0a60fb2b5762fb..aab6a3e3b753afaa1ea6a835399cc1c152d48e99 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 37dc0cebd3c813ce4afc2c02100aea6dfac0bfdb..c76adc203a017ba3b81f5a0a957f0191483a940b 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 e249ebd9cdf3c76c9fc44e35fb333b4fdf87cf48..494f9a843e7bd8cb55bba288fd1b050b96a01b12 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 2a2adae8e4dd495209a77a34ed3a421745e09181..2413bad24d37e5c2ef5f2df69eb34f9ab0d51159 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 a1e92dc263ace1faa08850749c9d1537fdba874a..c0bd57992122ff46c9675d83bff863b5f2728fc3 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 635d3a92a4e2ad6e0a2aba925e75050d8cda1c42..9b64a34a33c7808b945645dcdbe6740daf97a6ac 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 7284d4867b2a90ecf0cbd8f81fa745335e1562fd..b20a3d0472966dccb1a95edf950131b09f80111c 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 73965a377f177efd757d108b6a897236d3862f47..a7c6a89df9309a8d144f6eed8c98205181e77f2c 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 8204620d326fa897726e4abb519272d1f5b17e0c..e4f6ba0b63701909a87211c891752ad9b4eea512 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 ed9003d8060e7bc846ae793169b9fc84364ade5e..31628a1e6da48533d618b88a49f91ca8d6412ec9 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 f6c32952bc6f6aa7edb75b8872cec6c6fd577726..df401b118d01a1976247d8ab1acbbd49c54bf1d6 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 5edc478034f2c9a7badcb212230bc9ef7e52bb3f..0a36b5395e0ee6c53bfe76ac423ba5ed6d850bb0 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 f522d7c95f0189ca936d073e2bb027f49afdfed8..cafab93a883c42603d20b2a22385f2f3e8c5157c 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 0accf64709e86db6a63cca5156034d420530c59f..745c89575a017464614ad5ef493439546a2be80c 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 30bd131d932ae2a6520748fd63c9c15ad352da92..d67687221e3f0043a890b0996e8eba11970ac247 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 dec121a3d7eea06123b0c5fb46aa3370360e4304..e2e0c2060c81002281bae3b1f4347a2b9d341c9a 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 6aef98c1b090f1bf2896140a27e5d998fc72e90d..b53f29c72f61c5a98561ab5cd3712e7b359f9331 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 215b8e5d38759cc6bb46e5e9a3370ef8d26eb8cf..d07188c58f836d4419c9bcb487bfe273330fd382 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 3a35f6d030759207e6b30f8300e35fd47ac6ae7e..264bd51d7f295a5f7335d451e7a6f1ac738f2329 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 7f5ddc2415eb9149af1a079f0af5926a542aa0fb..b47542a91b6e7f856d3e13cdcdbdf609203f942d 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 2e6e92f2a7a8165525ab50c47daa8a00730f73a0..a1feaa6f44c2fde4daf90d94924751172204496d 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 42ca2d8a7e3fc89b8374791617f68bc311a5bbb5..8feae4534badbb59115093f2689d91daba0829dc 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"