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
d8087554
Commit
d8087554
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
clang-format
parent
29ee29ae
No related branches found
No related tags found
1 merge request
!1442
Simplify DepthprobeSimulation, rm old c'tor; merge footprint handling in AlphaScan and IBeamScan
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sim/Simulation/DepthprobeSimulation.cpp
+4
-3
4 additions, 3 deletions
Sim/Simulation/DepthprobeSimulation.cpp
with
4 additions
and
3 deletions
Sim/Simulation/DepthprobeSimulation.cpp
+
4
−
3
View file @
d8087554
...
...
@@ -47,7 +47,8 @@ DepthprobeSimulation::DepthprobeSimulation(const IBeamScan& scan, const MultiLay
}
void
DepthprobeSimulation
::
setBeamParametersTmp
(
double
lambda
,
int
nbins
,
double
alpha_i_min
,
double
alpha_i_max
,
const
IFootprintFactor
*
beam_shape
)
double
alpha_i_max
,
const
IFootprintFactor
*
beam_shape
)
{
if
(
beam_shape
)
m_beam
->
setFootprintFactor
(
*
beam_shape
);
...
...
@@ -58,8 +59,8 @@ DepthprobeSimulation::~DepthprobeSimulation() = default;
void
DepthprobeSimulation
::
setBeamParameters
(
double
lambda
,
int
nbins
,
double
alpha_i_min
,
double
alpha_i_max
,
const
IFootprintFactor
*
beam_shape
)
{
m_alpha_axis
.
reset
(
FixedScanAxis
(
"alpha_i"
,
static_cast
<
size_t
>
(
nbins
),
alpha_i_min
,
alpha_i_max
).
clone
());
m_alpha_axis
.
reset
(
FixedScanAxis
(
"alpha_i"
,
static_cast
<
size_t
>
(
nbins
),
alpha_i_min
,
alpha_i_max
).
clone
());
if
(
lambda
<=
0.0
)
throw
std
::
runtime_error
(
...
...
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