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
356a80c5
Commit
356a80c5
authored
4 years ago
by
Beerwerth, Randolf
Browse files
Options
Downloads
Patches
Plain Diff
Revert C++17
parent
d5ab36cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
Core/Multilayer/SpecularMagneticStrategy.cpp
+3
-1
3 additions, 1 deletion
Core/Multilayer/SpecularMagneticStrategy.cpp
with
4 additions
and
2 deletions
CMakeLists.txt
+
1
−
1
View file @
356a80c5
...
@@ -20,7 +20,7 @@ project(BornAgain
...
@@ -20,7 +20,7 @@ project(BornAgain
# TODO modernize FindCerf to get rid of AssertLibraryFunction to restore restriction to CXX
# TODO modernize FindCerf to get rid of AssertLibraryFunction to restore restriction to CXX
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD 1
7
)
set
(
CMAKE_CXX_STANDARD 1
4
)
include
(
CTest
)
# equivalent to "enable_testing() ???
include
(
CTest
)
# equivalent to "enable_testing() ???
add_custom_target
(
check COMMAND
${
CMAKE_CTEST_COMMAND
}
-LE Fullcheck
)
add_custom_target
(
check COMMAND
${
CMAKE_CTEST_COMMAND
}
-LE Fullcheck
)
...
...
This diff is collapsed.
Click to expand it.
Core/Multilayer/SpecularMagneticStrategy.cpp
+
3
−
1
View file @
356a80c5
...
@@ -194,7 +194,9 @@ void SpecularMagneticStrategy::propagateBackwardsForwards(
...
@@ -194,7 +194,9 @@ void SpecularMagneticStrategy::propagateBackwardsForwards(
coeff
[
i
].
m_w_min
=
l
*
coeff
[
i
+
1
].
m_w_min
;
coeff
[
i
].
m_w_min
=
l
*
coeff
[
i
+
1
].
m_w_min
;
// rotate and normalize polarization
// rotate and normalize polarization
const
auto
[
S
,
norm
]
=
findNormalizationCoefficients
(
coeff
[
i
]);
const
auto
Snorm
=
findNormalizationCoefficients
(
coeff
[
i
]);
auto
S
=
Snorm
.
first
;
auto
norm
=
Snorm
.
second
;
SMatrices
[
i
]
=
S
;
SMatrices
[
i
]
=
S
;
Normalization
[
i
]
=
norm
;
Normalization
[
i
]
=
norm
;
...
...
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