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
39ab9118
Commit
39ab9118
authored
6 years ago
by
anikhalder
Browse files
Options
Downloads
Patches
Plain Diff
Implement method for creating 2D distribution object for sampling 2D Gaussian
parent
f20db12d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Core/Aggregate/FTDistributions2D.cpp
+1
-6
1 addition, 6 deletions
Core/Aggregate/FTDistributions2D.cpp
with
1 addition
and
6 deletions
Core/Aggregate/FTDistributions2D.cpp
+
1
−
6
View file @
39ab9118
...
@@ -96,12 +96,7 @@ double FTDistribution2DGauss::evaluate(double qx, double qy) const
...
@@ -96,12 +96,7 @@ double FTDistribution2DGauss::evaluate(double qx, double qy) const
std
::
unique_ptr
<
IDistribution2DSampler
>
FTDistribution2DGauss
::
createSampler
()
const
std
::
unique_ptr
<
IDistribution2DSampler
>
FTDistribution2DGauss
::
createSampler
()
const
{
{
// TODO Need to implement 2D Gauss
return
std
::
make_unique
<
Distribution2DGaussSampler
>
(
m_omega_x
,
m_omega_y
);
std
::
ostringstream
ostr
;
ostr
<<
"FTDistribution2DGauss::createSampler() -> Error in class initialization"
;
ostr
<<
"
\n\n
Has not been implemented yet...stay tuned!"
;
throw
Exceptions
::
ClassInitializationException
(
ostr
.
str
());
}
}
FTDistribution2DGate
::
FTDistribution2DGate
(
double
omega_x
,
double
omega_y
,
double
gamma
)
FTDistribution2DGate
::
FTDistribution2DGate
(
double
omega_x
,
double
omega_y
,
double
gamma
)
...
...
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