Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
a5e0adc9
Commit
a5e0adc9
authored
3 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
propagate const back to Base
parent
3246c48d
No related branches found
No related tags found
1 merge request
!458
Automatic modernization (clang-tidy --fix)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Base/Math/IntegratorMCMiser.h
+1
-1
1 addition, 1 deletion
Base/Math/IntegratorMCMiser.h
auto/Wrap/doxygenDevice.i
+1
-1
1 addition, 1 deletion
auto/Wrap/doxygenDevice.i
auto/Wrap/doxygenResample.i
+18
-18
18 additions, 18 deletions
auto/Wrap/doxygenResample.i
with
20 additions
and
20 deletions
Base/Math/IntegratorMCMiser.h
+
1
−
1
View file @
a5e0adc9
...
...
@@ -24,7 +24,7 @@
#include
<memory>
//! Alias template for member function with signature double f(double)
template
<
class
T
>
using
miser_integrand
=
double
(
T
::*
)(
double
*
,
size_t
,
const
void
*
)
const
;
template
<
class
T
>
using
miser_integrand
=
double
(
T
::*
)(
const
double
*
,
size_t
,
const
void
*
)
const
;
//! Template class to use Monte Carlo MISER integration of class member functions.
//!
...
...
This diff is collapsed.
Click to expand it.
auto/Wrap/doxygenDevice.i
+
1
−
1
View file @
a5e0adc9
...
...
@@ -2261,7 +2261,7 @@ The private data for polygons to hide boost dependency from the header.
%
feature
(
"
docstring
"
)
PolygonPrivate
::
init_from
"
void PolygonPrivate::init_from(const std::vector< double > &x, const std::vector< double > &y)
"
;
%
feature
(
"
docstring
"
)
PolygonPrivate
::
get_points
"
void PolygonPrivate::get_points(
const
std::vector< double > &xpos,
const
std::vector< double > &ypos)
%
feature
(
"
docstring
"
)
PolygonPrivate
::
get_points
"
void PolygonPrivate::get_points(std::vector< double > &xpos, std::vector< double > &ypos)
"
;
...
...
This diff is collapsed.
Click to expand it.
auto/Wrap/doxygenResample.i
+
18
−
18
View file @
a5e0adc9
...
...
@@ -9,7 +9,7 @@ Information about particle form factor and abundance.
C++ includes: FFSum.h
"
;
%
feature
(
"
docstring
"
)
CoherentFFSum
::
CoherentFFSum
"
CoherentFFSum::CoherentFFSum(double abundance,
const
std::vector< std::shared_ptr< const IDWBA >>
&
terms)
%
feature
(
"
docstring
"
)
CoherentFFSum
::
CoherentFFSum
"
CoherentFFSum::CoherentFFSum(double abundance, std::vector< std::shared_ptr< const IDWBA >> terms)
"
;
%
feature
(
"
docstring
"
)
CoherentFFSum
::
summedFF
"
complex_t CoherentFFSum::summedFF(const DiffuseElement &ele) const
...
...
@@ -45,13 +45,13 @@ Data stucture containing both input and output of a single detector cell.
C++ includes: DiffuseElement.h
"
;
%
feature
(
"
docstring
"
)
DiffuseElement
::
DiffuseElement
"
DiffuseElement::DiffuseElement(double wavelength, double alpha_i, double phi_i, std::unique_ptr< IPixel > pixel, const Eigen::Matrix2cd &beam_polpair, const Eigen::Matrix2cd &analyzer, bool isSpecular_, const Fluxes *
const
fluxes_in=nullptr, const Fluxes *
const
fluxes_out=nullptr)
%
feature
(
"
docstring
"
)
DiffuseElement
::
DiffuseElement
"
DiffuseElement::DiffuseElement(double wavelength, double alpha_i, double phi_i, std::unique_ptr< IPixel > pixel, const Eigen::Matrix2cd &beam_polpair, const Eigen::Matrix2cd &analyzer, bool isSpecular_, const Fluxes *fluxes_in=nullptr, const Fluxes *fluxes_out=nullptr)
"
;
%
feature
(
"
docstring
"
)
DiffuseElement
::
DiffuseElement
"
DiffuseElement::DiffuseElement(const DiffuseElement &)=delete
"
;
%
feature
(
"
docstring
"
)
DiffuseElement
::
DiffuseElement
"
DiffuseElement::DiffuseElement(DiffuseElement &&)
%
feature
(
"
docstring
"
)
DiffuseElement
::
DiffuseElement
"
DiffuseElement::DiffuseElement(DiffuseElement &&)
noexcept
"
;
%
feature
(
"
docstring
"
)
DiffuseElement
::~
DiffuseElement
"
DiffuseElement::~DiffuseElement()
...
...
@@ -363,7 +363,7 @@ C++ includes: ProcessedLayout.h
%
feature
(
"
docstring
"
)
ProcessedLayout
::
ProcessedLayout
"
ProcessedLayout::ProcessedLayout(const ParticleLayout &layout, const SliceStack &slices, double z_ref, bool polarized)
"
;
%
feature
(
"
docstring
"
)
ProcessedLayout
::
ProcessedLayout
"
ProcessedLayout::ProcessedLayout(ProcessedLayout &&other)
%
feature
(
"
docstring
"
)
ProcessedLayout
::
ProcessedLayout
"
ProcessedLayout::ProcessedLayout(ProcessedLayout &&other)
noexcept
"
;
%
feature
(
"
docstring
"
)
ProcessedLayout
::~
ProcessedLayout
"
ProcessedLayout::~ProcessedLayout()
...
...
@@ -439,7 +439,7 @@ Contains magnetic material, or nonzero magnetic field.
%
feature
(
"
docstring
"
)
ProcessedSample
::
fluxesOut
"
Fluxes ProcessedSample::fluxesOut(const R3 &k) const
"
;
%
feature
(
"
docstring
"
)
ProcessedSample
::
crossCorrSpectralFun
"
double ProcessedSample::crossCorrSpectralFun(
const
R3 kvec, size_t j, size_t k) const
%
feature
(
"
docstring
"
)
ProcessedSample
::
crossCorrSpectralFun
"
double ProcessedSample::crossCorrSpectralFun(R3 kvec, size_t j, size_t k) const
Fourier transform of the correlation function of roughnesses between the interfaces.
"
;
...
...
@@ -479,33 +479,33 @@ C++ includes: ScalarFlux.h
%
feature
(
"
docstring
"
)
ScalarFlux
::
ScalarFlux
"
ScalarFlux::ScalarFlux(complex_t kz, Eigen::Vector2cd TR)
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
T1plus
"
Eigen::Vector2cd ScalarFlux::T1plus() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
T1plus
"
Eigen::Vector2cd ScalarFlux::T1plus() const
override
The following functions return the transmitted and reflected amplitudes for different incoming beam polarizations and eigenmodes
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
R1plus
"
Eigen::Vector2cd ScalarFlux::R1plus() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
R1plus
"
Eigen::Vector2cd ScalarFlux::R1plus() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
T2plus
"
Eigen::Vector2cd ScalarFlux::T2plus() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
T2plus
"
Eigen::Vector2cd ScalarFlux::T2plus() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
R2plus
"
Eigen::Vector2cd ScalarFlux::R2plus() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
R2plus
"
Eigen::Vector2cd ScalarFlux::R2plus() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
T1min
"
Eigen::Vector2cd ScalarFlux::T1min() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
T1min
"
Eigen::Vector2cd ScalarFlux::T1min() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
R1min
"
Eigen::Vector2cd ScalarFlux::R1min() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
R1min
"
Eigen::Vector2cd ScalarFlux::R1min() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
T2min
"
Eigen::Vector2cd ScalarFlux::T2min() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
T2min
"
Eigen::Vector2cd ScalarFlux::T2min() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
R2min
"
Eigen::Vector2cd ScalarFlux::R2min() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
R2min
"
Eigen::Vector2cd ScalarFlux::R2min() const
override
"
;
%
feature
(
"
docstring
"
)
ScalarFlux
::
getKz
"
Eigen::Vector2cd ScalarFlux::getKz() const
%
feature
(
"
docstring
"
)
ScalarFlux
::
getKz
"
Eigen::Vector2cd ScalarFlux::getKz() const
override
Returns z-part of the two wavevector eigenmodes.
"
;
...
...
@@ -601,13 +601,13 @@ Data structure containing the data of a single slice, for calculating the Fresne
C++ includes: Slice.h
"
;
%
feature
(
"
docstring
"
)
Slice
::
Slice
"
Slice::Slice(const ZLimits &zRange,
const
Material
&
material, const R3 &B_field, const LayerRoughness *
const
roughness)
%
feature
(
"
docstring
"
)
Slice
::
Slice
"
Slice::Slice(const ZLimits &zRange, Material material, const R3 &B_field, const LayerRoughness *roughness)
"
;
%
feature
(
"
docstring
"
)
Slice
::
Slice
"
Slice::Slice(const Slice &other)
"
;
%
feature
(
"
docstring
"
)
Slice
::
Slice
"
Slice::Slice(Slice &&other)
%
feature
(
"
docstring
"
)
Slice
::
Slice
"
Slice::Slice(Slice &&other)
noexcept
"
;
%
feature
(
"
docstring
"
)
Slice
::~
Slice
"
Slice::~Slice()
...
...
@@ -676,7 +676,7 @@ C++ includes: SliceStack.h
%
feature
(
"
docstring
"
)
SliceStack
::
addSlice
"
void SliceStack::addSlice(double thickness, const Material &material, const LayerRoughness *roughness=nullptr)
"
;
%
feature
(
"
docstring
"
)
SliceStack
::
addNSlices
"
void SliceStack::addNSlices(size_t n, double thickness, const Material &material, const LayerRoughness *
const
roughness=nullptr)
%
feature
(
"
docstring
"
)
SliceStack
::
addNSlices
"
void SliceStack::addNSlices(size_t n, double thickness, const Material &material, const LayerRoughness *roughness=nullptr)
Adds n times the same slice to the stack.
"
;
...
...
@@ -711,7 +711,7 @@ C++ includes: SpecularElement.h
%
feature
(
"
docstring
"
)
SpecularElement
::
SpecularElement
"
SpecularElement::SpecularElement(const SpecularElement &other)=delete
"
;
%
feature
(
"
docstring
"
)
SpecularElement
::
SpecularElement
"
SpecularElement::SpecularElement(SpecularElement &&other)
%
feature
(
"
docstring
"
)
SpecularElement
::
SpecularElement
"
SpecularElement::SpecularElement(SpecularElement &&other)
noexcept
"
;
%
feature
(
"
docstring
"
)
SpecularElement
::~
SpecularElement
"
SpecularElement::~SpecularElement()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment