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
eee03cf0
Commit
eee03cf0
authored
8 months ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
class SourceItems sort public members
parent
22552d36
No related branches found
No related tags found
1 merge request
!2695
minor, while studying footprint and roughness items
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/Model/Beam/SourceItems.h
+5
-10
5 additions, 10 deletions
GUI/Model/Beam/SourceItems.h
with
5 additions
and
10 deletions
GUI/Model/Beam/SourceItems.h
+
5
−
10
View file @
eee03cf0
...
@@ -37,21 +37,18 @@ public:
...
@@ -37,21 +37,18 @@ public:
const
DoubleProperty
&
intensity
()
const
{
return
m_intensity
;
}
const
DoubleProperty
&
intensity
()
const
{
return
m_intensity
;
}
void
setIntensity
(
double
v
)
{
m_intensity
.
setDVal
(
v
);
}
void
setIntensity
(
double
v
)
{
m_intensity
.
setDVal
(
v
);
}
void
setWavelength
(
double
value
);
BeamDistributionItem
*
wavelengthItem
()
const
;
BeamDistributionItem
*
wavelengthItem
()
const
;
void
setWavelength
(
double
value
);
void
setAzimuthalAngle
(
double
value
);
BeamDistributionItem
*
azimuthalAngleItem
()
const
;
BeamDistributionItem
*
azimuthalAngleItem
()
const
;
void
setAzimuthalAngle
(
double
value
);
bool
expandBeamParameters
=
true
;
PolyItem
<
FootprintCatalog
>&
footprintSelection
()
{
return
m_footprint
;
}
PolyItem
<
FootprintCatalog
>&
footprintSelection
()
{
return
m_footprint
;
}
void
setFootprint
(
const
IFootprint
*
footprint
);
void
setGaussianFootprint
(
double
value
);
void
setGaussianFootprint
(
double
value
);
void
setSquareFootprint
(
double
value
);
void
setSquareFootprint
(
double
value
);
void
setFootprint
(
const
IFootprint
*
footprint
);
bool
expandBeamParameters
=
true
;
bool
expandFootprint
=
true
;
bool
expandFootprint
=
true
;
void
writeTo
(
QXmlStreamWriter
*
w
)
const
;
void
writeTo
(
QXmlStreamWriter
*
w
)
const
;
...
@@ -60,11 +57,9 @@ public:
...
@@ -60,11 +57,9 @@ public:
protected
:
protected
:
SourceItem
();
SourceItem
();
DoubleProperty
m_intensity
;
std
::
unique_ptr
<
BeamDistributionItem
>
m_wavelength_item
;
std
::
unique_ptr
<
BeamDistributionItem
>
m_wavelength_item
;
std
::
unique_ptr
<
BeamDistributionItem
>
m_azimuthal_angle_item
;
std
::
unique_ptr
<
BeamDistributionItem
>
m_azimuthal_angle_item
;
DoubleProperty
m_intensity
;
PolyItem
<
FootprintCatalog
>
m_footprint
;
PolyItem
<
FootprintCatalog
>
m_footprint
;
};
};
...
...
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