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
db5ebcee
Commit
db5ebcee
authored
11 years ago
by
Van Herck, Walter
Browse files
Options
Downloads
Patches
Plain Diff
Refactor: moved some methods of IInterferenceFunctionStrategy to private
parent
9281bd05
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/Algorithms/inc/IInterferenceFunctionStrategy.h
+14
-5
14 additions, 5 deletions
Core/Algorithms/inc/IInterferenceFunctionStrategy.h
with
14 additions
and
5 deletions
Core/Algorithms/inc/IInterferenceFunctionStrategy.h
+
14
−
5
View file @
db5ebcee
...
...
@@ -46,27 +46,36 @@ protected:
virtual
double
evaluateForList
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
,
const
std
::
vector
<
complex_t
>
&
ff_list
)
const
=
0
;
//! Returns q-vector from k_i and the bin of k_f
cvector_t
getQ
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
)
const
;
SafePointerVector
<
FormFactorInfo
>
m_ff_infos
;
//!< form factor info
SafePointerVector
<
IInterferenceFunction
>
m_ifs
;
//!< interference functions
SimulationParameters
m_sim_params
;
//!< simulation parameters
private
:
//! Returns mean form factor, possibly including their position information
complex_t
meanFormFactor
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
,
Bin1D
alpha_f_bin
,
bool
use_position
=
false
)
const
;
//! Returns mean squared form factor
double
meanSquaredFormFactor
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
,
Bin1D
alpha_f_bin
)
const
;
//! Constructs one list of evaluated form factors to be used in subsequent
//! calculations
void
calculateFormFactorList
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
,
Bin1D
alpha_f_bin
)
const
;
//! Constructs lists of evaluated form factors to be used in subsequent
//! calculations
void
calculateFormFactorLists
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
,
Bin1D
alpha_f_bin
,
Bin1D
phi_f_bin
)
const
;
//! Clears the cached form factor lists
void
clearFormFactorLists
()
const
;
//! Returns q-vector from k_i and the bin of k_f
cvector_t
getQ
(
const
cvector_t
&
k_i
,
const
Bin1DCVector
&
k_f_bin
)
const
;
SafePointerVector
<
FormFactorInfo
>
m_ff_infos
;
//!< form factor info
SafePointerVector
<
IInterferenceFunction
>
m_ifs
;
//!< interference functions
SimulationParameters
m_sim_params
;
//!< simulation parameters
//! cached form factor evaluations
mutable
std
::
vector
<
complex_t
>
m_ff00
,
m_ff01
,
m_ff10
,
m_ff11
;
};
...
...
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