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
e0266033
Commit
e0266033
authored
8 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
corrections for a few commits ago: missing "BornAgain::"
parent
f65310b5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Core/Aggregate/FTDecayFunctions.cpp
+11
-11
11 additions, 11 deletions
Core/Aggregate/FTDecayFunctions.cpp
with
11 additions
and
11 deletions
Core/Aggregate/FTDecayFunctions.cpp
+
11
−
11
View file @
e0266033
...
@@ -29,7 +29,7 @@ void IFTDecayFunction1D::print(std::ostream &ostr) const
...
@@ -29,7 +29,7 @@ void IFTDecayFunction1D::print(std::ostream &ostr) const
void
IFTDecayFunction1D
::
init_parameters
()
void
IFTDecayFunction1D
::
init_parameters
()
{
{
registerUnlimitedScalar
(
Omega
,
&
m_omega
);
registerUnlimitedScalar
(
BornAgain
::
Omega
,
&
m_omega
);
}
}
FTDecayFunction1DCauchy
::
FTDecayFunction1DCauchy
(
double
omega
)
FTDecayFunction1DCauchy
::
FTDecayFunction1DCauchy
(
double
omega
)
...
@@ -89,7 +89,7 @@ double FTDecayFunction1DVoigt::evaluate(double q) const
...
@@ -89,7 +89,7 @@ double FTDecayFunction1DVoigt::evaluate(double q) const
void
FTDecayFunction1DVoigt
::
init_parameters
()
void
FTDecayFunction1DVoigt
::
init_parameters
()
{
{
IFTDecayFunction1D
::
init_parameters
();
IFTDecayFunction1D
::
init_parameters
();
registerUnlimitedScalar
(
Eta
,
&
m_eta
);
registerUnlimitedScalar
(
BornAgain
::
Eta
,
&
m_eta
);
}
}
/* Commented out decay functions: see header for rationale
/* Commented out decay functions: see header for rationale
...
@@ -150,10 +150,10 @@ void IFTDecayFunction2D::print(std::ostream &ostr) const
...
@@ -150,10 +150,10 @@ void IFTDecayFunction2D::print(std::ostream &ostr) const
void
IFTDecayFunction2D
::
init_parameters
()
void
IFTDecayFunction2D
::
init_parameters
()
{
{
registerNonnegativeLength
(
OmegaX
,
&
m_omega_x
);
registerNonnegativeLength
(
BornAgain
::
OmegaX
,
&
m_omega_x
);
registerNonnegativeLength
(
OmegaY
,
&
m_omega_y
);
registerNonnegativeLength
(
BornAgain
::
OmegaY
,
&
m_omega_y
);
registerLimitedAngle
(
"
Gamma
"
,
&
m_gamma
,
-
180
,
180
);
registerLimitedAngle
(
BornAgain
::
Gamma
,
&
m_gamma
,
-
180
,
180
);
registerLimitedAngle
(
"
Delta
"
,
&
m_delta
,
-
180
,
180
);
registerLimitedAngle
(
BornAgain
::
Delta
,
&
m_delta
,
-
180
,
180
);
}
}
FTDecayFunction2DCauchy
::
FTDecayFunction2DCauchy
(
FTDecayFunction2DCauchy
::
FTDecayFunction2DCauchy
(
...
@@ -201,9 +201,9 @@ double FTDecayFunction2DVoigt::evaluate(double qx, double qy) const
...
@@ -201,9 +201,9 @@ double FTDecayFunction2DVoigt::evaluate(double qx, double qy) const
void
FTDecayFunction2DVoigt
::
init_parameters
()
void
FTDecayFunction2DVoigt
::
init_parameters
()
{
{
registerNonnegativeLength
(
OmegaX
,
&
m_omega_x
);
registerNonnegativeLength
(
BornAgain
::
OmegaX
,
&
m_omega_x
);
registerNonnegativeLength
(
OmegaY
,
&
m_omega_y
);
registerNonnegativeLength
(
BornAgain
::
OmegaY
,
&
m_omega_y
);
registerUnlimitedScalar
(
Eta
,
&
m_eta
);
registerUnlimitedScalar
(
BornAgain
::
Eta
,
&
m_eta
);
registerLimitedAngle
(
"
Gamma
"
,
&
m_gamma
,
-
180
,
180
);
registerLimitedAngle
(
BornAgain
::
Gamma
,
&
m_gamma
,
-
180
,
180
);
registerLimitedAngle
(
"
Delta
"
,
&
m_delta
,
-
180
,
180
);
registerLimitedAngle
(
BornAgain
::
Delta
,
&
m_delta
,
-
180
,
180
);
}
}
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