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

[io2] code cleanup (include order when using pi) ()

Merging branch 'io2'  into 'r21'.

See merge request !1809
parents d3c8c9a2 e828cdb9
No related branches found
No related tags found
2 merge requests!1813rebase on latest r21; repair CHANGELOG,!1809code cleanup (include order when using pi)
Pipeline #107413 canceled
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
#include "Sample/HardParticle/Cone.h" #include "Sample/HardParticle/Cone.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/Functions.h" #include "Base/Math/Functions.h"
#include "Base/Math/IntegratorGK.h" #include "Base/Math/IntegratorGK.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/DoubleEllipse.h" #include "Sample/Shapes/DoubleEllipse.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
Cone::Cone(const std::vector<double> P) Cone::Cone(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
#include "Sample/HardParticle/Cylinder.h" #include "Sample/HardParticle/Cylinder.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/Functions.h" #include "Base/Math/Functions.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/DoubleEllipse.h" #include "Sample/Shapes/DoubleEllipse.h"
#include <numbers>
using std::numbers::pi;
Cylinder::Cylinder(const std::vector<double> P) Cylinder::Cylinder(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
#include "Sample/HardParticle/EllipsoidalCylinder.h" #include "Sample/HardParticle/EllipsoidalCylinder.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/Functions.h" #include "Base/Math/Functions.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/DoubleEllipse.h" #include "Sample/Shapes/DoubleEllipse.h"
#include <numbers>
using std::numbers::pi;
EllipsoidalCylinder::EllipsoidalCylinder(const std::vector<double> P) EllipsoidalCylinder::EllipsoidalCylinder(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
#include "Sample/HardParticle/HemiEllipsoid.h" #include "Sample/HardParticle/HemiEllipsoid.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/IntegratorGK.h" #include "Base/Math/IntegratorGK.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/TruncatedEllipsoidNet.h" #include "Sample/Shapes/TruncatedEllipsoidNet.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
HemiEllipsoid::HemiEllipsoid(const std::vector<double> P) HemiEllipsoid::HemiEllipsoid(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
#include "Sample/HardParticle/HorizontalCylinder.h" #include "Sample/HardParticle/HorizontalCylinder.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/Functions.h" #include "Base/Math/Functions.h"
#include "Base/Math/IntegratorGK.h" #include "Base/Math/IntegratorGK.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/DoubleEllipse.h" #include "Sample/Shapes/DoubleEllipse.h"
#include <numbers>
using std::numbers::pi;
HorizontalCylinder::HorizontalCylinder(const std::vector<double> P) HorizontalCylinder::HorizontalCylinder(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
// ************************************************************************************************ // ************************************************************************************************
#include "Sample/HardParticle/Sphere.h" #include "Sample/HardParticle/Sphere.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Types/Span.h" #include "Base/Types/Span.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/HardParticle/TruncatedSphere.h" #include "Sample/HardParticle/TruncatedSphere.h"
#include "Sample/LibFF/SomeFormFactors.h" #include "Sample/LibFF/SomeFormFactors.h"
#include "Sample/Scattering/Rotations.h" #include "Sample/Scattering/Rotations.h"
#include <numbers>
using std::numbers::pi;
Sphere::Sphere(const std::vector<double> P, bool position_at_center) Sphere::Sphere(const std::vector<double> P, bool position_at_center)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
// ************************************************************************************************ // ************************************************************************************************
#include "Sample/HardParticle/Spheroid.h" #include "Sample/HardParticle/Spheroid.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/Functions.h" #include "Base/Math/Functions.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/HardParticle/TruncatedSpheroid.h" #include "Sample/HardParticle/TruncatedSpheroid.h"
#include "Sample/Shapes/TruncatedEllipsoidNet.h" #include "Sample/Shapes/TruncatedEllipsoidNet.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
Spheroid::Spheroid(const std::vector<double> P) Spheroid::Spheroid(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
#include "Sample/HardParticle/TruncatedSphere.h" #include "Sample/HardParticle/TruncatedSphere.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/IntegratorGK.h" #include "Base/Math/IntegratorGK.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/TruncatedEllipsoidNet.h" #include "Sample/Shapes/TruncatedEllipsoidNet.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
TruncatedSphere::TruncatedSphere(const std::vector<double> P) TruncatedSphere::TruncatedSphere(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
#include "Sample/HardParticle/TruncatedSpheroid.h" #include "Sample/HardParticle/TruncatedSpheroid.h"
#include "Base/Math/Bessel.h" #include "Base/Math/Bessel.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Math/IntegratorGK.h" #include "Base/Math/IntegratorGK.h"
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/TruncatedEllipsoidNet.h" #include "Sample/Shapes/TruncatedEllipsoidNet.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
TruncatedSpheroid::TruncatedSpheroid(const std::vector<double> P) TruncatedSpheroid::TruncatedSpheroid(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
// ************************************************************************************************ // ************************************************************************************************
#include "Sample/SoftParticle/Gauss.h" #include "Sample/SoftParticle/Gauss.h"
#include <numbers>
using std::numbers::pi;
#include "Base/Util/Assert.h" #include "Base/Util/Assert.h"
#include "Sample/Shapes/BoxNet.h" #include "Sample/Shapes/BoxNet.h"
#include "Sample/Shapes/TruncatedEllipsoidNet.h" #include "Sample/Shapes/TruncatedEllipsoidNet.h"
#include <limits> #include <limits>
#include <numbers>
using std::numbers::pi;
GaussSphere::GaussSphere(const std::vector<double> P) GaussSphere::GaussSphere(const std::vector<double> P)
: IFormFactor(P) : IFormFactor(P)
......
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