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

rename -> IntegratorGK (Gauss-Kronrod) to disambiguate from

ROOT::Math::Integrator
parent 72d19899
No related branches found
No related tags found
No related merge requests found
Showing
with 18 additions and 18 deletions
......@@ -2,7 +2,7 @@
//
// BornAgain: simulate and fit scattering at grazing incidence
//
//! @file Base/Math/Integrator.cpp
//! @file Base/Math/IntegratorGK.cpp
//! @brief Implements classes RealIntegrator, ComplexIntegrator.
//!
//! @homepage http://www.bornagainproject.org
......@@ -12,7 +12,7 @@
//
// ************************************************************************************************
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
RealIntegrator::RealIntegrator()
: m_gsl_f{m_Cfunction, nullptr}, m_workspace{gsl_integration_workspace_alloc(200)} {}
......
......@@ -2,7 +2,7 @@
//
// BornAgain: simulate and fit scattering at grazing incidence
//
//! @file Base/Math/Integrator.h
//! @file Base/Math/IntegratorGK.h
//! @brief Defines classes RealIntegrator, ComplexIntegrator.
//!
//! @homepage http://www.bornagainproject.org
......@@ -12,8 +12,8 @@
//
// ************************************************************************************************
#ifndef BORNAGAIN_BASE_MATH_INTEGRATOR_H
#define BORNAGAIN_BASE_MATH_INTEGRATOR_H
#ifndef BORNAGAIN_BASE_MATH_INTEGRATORGK_H
#define BORNAGAIN_BASE_MATH_INTEGRATORGK_H
#include "Base/Types/Complex.h"
#include <functional>
......@@ -44,4 +44,4 @@ private:
RealIntegrator imagPart;
};
#endif // BORNAGAIN_BASE_MATH_INTEGRATOR_H
#endif // BORNAGAIN_BASE_MATH_INTEGRATORGK_H
......@@ -13,7 +13,7 @@
// ************************************************************************************************
#include "Sample/Aggregate/InterferenceFunction2DLattice.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Param/Base/RealParameter.h"
#include <algorithm>
......
......@@ -13,7 +13,7 @@
// ************************************************************************************************
#include "Sample/Aggregate/InterferenceFunction2DParaCrystal.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Param/Base/ParameterPool.h"
#include "Param/Base/RealParameter.h"
#include <limits>
......
......@@ -15,7 +15,7 @@
#include "Sample/Aggregate/InterferenceFunction2DSuperLattice.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Functions.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Param/Base/RealParameter.h"
#include "Sample/Aggregate/InterferenceFunctionNone.h"
......
......@@ -15,7 +15,7 @@
#include "Sample/Aggregate/InterferenceFunctionFinite2DLattice.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Functions.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Param/Base/RealParameter.h"
#include <limits>
......
......@@ -14,7 +14,7 @@
#include "Sample/Aggregate/InterferenceFunctionHardDisk.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Param/Base/RealParameter.h"
#include <cmath>
......
......@@ -14,7 +14,7 @@
#include "Sample/Correlations/FTDistributions2D.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include <limits>
// ************************************************************************************************
......
......@@ -15,7 +15,7 @@
#include "Sample/Correlations/IPeakShape.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include <limits>
namespace {
......
......@@ -16,7 +16,7 @@
#include "Base/Math/Bessel.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Functions.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Sample/Shapes/DoubleEllipse.h"
#include <limits>
......
......@@ -15,7 +15,7 @@
#include "Sample/HardParticle/FormFactorHemiEllipsoid.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Sample/Shapes/TruncatedEllipsoid.h"
#include <limits>
......
......@@ -15,7 +15,7 @@
#include "Sample/HardParticle/FormFactorTruncatedSphere.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Sample/Shapes/TruncatedEllipsoid.h"
#include <limits>
......
......@@ -15,7 +15,7 @@
#include "Sample/HardParticle/FormFactorTruncatedSpheroid.h"
#include "Base/Math/Bessel.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
#include "Sample/Shapes/TruncatedEllipsoid.h"
#include <limits>
......
......@@ -15,7 +15,7 @@
#include "Sample/HardParticle/Ripples.h"
#include "Base/Math/Constants.h"
#include "Base/Math/Functions.h"
#include "Base/Math/Integrator.h"
#include "Base/Math/IntegratorGK.h"
complex_t ripples::factor_x_box(complex_t q, double r) {
return r * Math::sinc(q * r / 2.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment