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
f183a7c3
Commit
f183a7c3
authored
1 year ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Patches
Plain Diff
reformulate message
parent
a7d2a951
No related branches found
No related tags found
1 merge request
!1996
Block alpha/lambda distributions (from r21.1)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Sim/Simulation/DepthprobeSimulation.cpp
+1
-1
1 addition, 1 deletion
Sim/Simulation/DepthprobeSimulation.cpp
Sim/Simulation/OffspecSimulation.cpp
+1
-1
1 addition, 1 deletion
Sim/Simulation/OffspecSimulation.cpp
with
2 additions
and
2 deletions
Sim/Simulation/DepthprobeSimulation.cpp
+
1
−
1
View file @
f183a7c3
...
...
@@ -90,7 +90,7 @@ void DepthprobeSimulation::runComputation(const ReSample& re_sample, size_t i, d
{
if
(
m_scan
->
wavelengthDistribution
()
||
m_scan
->
alphaDistribution
())
throw
std
::
runtime_error
(
"Depthprobe simulation
does not support
alpha
and
lambda distributions."
);
"Depthprobe simulation
supports neither
alpha
nor
lambda distributions."
);
const
size_t
n_z
=
m_z_axis
->
size
();
std
::
valarray
<
double
>
intensities
;
//!< simulated intensity for given z positions
...
...
This diff is collapsed.
Click to expand it.
Sim/Simulation/OffspecSimulation.cpp
+
1
−
1
View file @
f183a7c3
...
...
@@ -84,7 +84,7 @@ void OffspecSimulation::runComputation(const ReSample& re_sample, size_t i, doub
if
(
auto
phys_scan
=
dynamic_cast
<
PhysicalScan
*>
(
m_scan
.
get
()))
if
(
phys_scan
->
wavelengthDistribution
()
||
phys_scan
->
alphaDistribution
())
throw
std
::
runtime_error
(
"Offspecular simulation
does not support
alpha
and
lambda distributions."
);
"Offspecular simulation
supports neither
alpha
nor
lambda distributions."
);
if
(
m_cache
.
empty
())
m_cache
.
resize
(
nElements
(),
0.0
);
...
...
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