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
Merge requests
!2179
Remove 'native data' and 'native units' (
#331
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove 'native data' and 'native units' (
#331
)
m.i331
into
main
Overview
1
Commits
7
Pipelines
8
Changes
1
Merged
Mikhail Svechnikov
requested to merge
m.i331
into
main
1 year ago
Overview
1
Commits
7
Pipelines
8
Changes
1
Expand
Resolves
#331 (closed)
Somehow resolves
#850 (closed)
Edited
1 year ago
by
Mikhail Svechnikov
0
0
Merge request reports
Viewing commit
0874f5cb
Show latest version
1 file
+
28
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0874f5cb
convert q to alpha
· 0874f5cb
Mikhail Svechnikov
authored
1 year ago
Base/Util/ConversionUtil.h
0 → 100644
+
28
−
0
Options
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Base/Util/ConversionUtil.h
//! @brief Implements namespace Conversion.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2023
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#ifndef BORNAGAIN_BASE_UTIL_CONVERSIONUTIL_H
#define BORNAGAIN_BASE_UTIL_CONVERSIONUTIL_H
namespace
Convert
::
Refl
{
double
qz2alpha
(
double
lambda
,
double
qz
);
double
qz2lambda
(
double
alpha
,
double
qz
);
double
qz
(
double
alpha
,
double
lambda
);
}
// namespace Convert::Refl
#endif // BORNAGAIN_BASE_UTIL_CONVERSIONUTIL_H
Loading