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
39fda1b3
Commit
39fda1b3
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
6108c378
No related branches found
No related tags found
1 merge request
!1238
Change Beam API, don't expose Direction
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Device/Beam/Beam.h
+3
-0
3 additions, 0 deletions
Device/Beam/Beam.h
with
3 additions
and
0 deletions
Device/Beam/Beam.h
+
3
−
0
View file @
39fda1b3
...
...
@@ -24,6 +24,8 @@ class SpinMatrix;
class
Beam
;
//! Returns Beam with given intensity.
//! Provided instead of a plain constructor Beam(intensity, wavelength, alpha, phi)
//! to prevent confusion with a different constructor signature in some pre-1.19 version.
Beam
InBeam
(
double
intensity
,
double
wavelength
,
double
alpha
,
double
phi
=
0
);
//! Returns Beam with unit intensity.
Beam
UnitBeam
(
double
wavelength
,
double
alpha
,
double
phi
=
0
);
...
...
@@ -33,6 +35,7 @@ Beam UnitBeam(double wavelength, double alpha, double phi = 0);
class
Beam
:
public
INode
{
public:
//! Deprecated for direct use; prefer factory functions InBeam or UnitBeam.
Beam
(
double
intensity
,
double
wavelength
,
const
Direction
&
direction
);
~
Beam
()
override
;
...
...
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