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
1d8cd1f3
Commit
1d8cd1f3
authored
4 years ago
by
Beerwerth, Randolf
Browse files
Options
Downloads
Patches
Plain Diff
Update physical constants to the 2018 CODATA recommended values version 8.1 from 21 January 2020
parent
c1b4fb77
No related branches found
Branches containing commit
Tags
v2.4.0c
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Core/Basics/PhysicalConstants.h
+5
-5
5 additions, 5 deletions
Core/Basics/PhysicalConstants.h
with
5 additions
and
5 deletions
Core/Basics/PhysicalConstants.h
+
5
−
5
View file @
1d8cd1f3
...
...
@@ -17,11 +17,11 @@
namespace
PhysConsts
{
constexpr
double
m_n
=
1.6749274
71
e-27
;
//!< Neutron mass, kg
constexpr
double
h_bar
=
1.0545718
0
e-34
;
//!< Reduced Plank constant, J s
constexpr
double
mu_N
=
5.050783
699
e-27
;
//!< Nuclear magneton (\f$ \mu_N \f$), J/T
constexpr
double
mu_B
=
9.2740
09994
e-24
;
//!< Bohr magneton (\f$ \mu_B \f$), J/T
constexpr
double
r_e
=
2.817940322
7
e-15
;
//!< Thomson scattering length (\f$ r_e \f$), m
constexpr
double
m_n
=
1.6749274
9804
e-27
;
//!< Neutron mass, kg
constexpr
double
h_bar
=
1.0545718
17
e-34
;
//!< Reduced Plank constant, J s
constexpr
double
mu_N
=
5.050783
7461
e-27
;
//!< Nuclear magneton (\f$ \mu_N \f$), J/T
constexpr
double
mu_B
=
9.2740
100783
e-24
;
//!< Bohr magneton (\f$ \mu_B \f$), J/T
constexpr
double
r_e
=
2.81794032
6
2e-15
;
//!< Thomson scattering length (\f$ r_e \f$), m
constexpr
double
gamma_n
=
1.91304272
;
//!< \f$\gamma\f$ factor for neutron magnetic moment,
//!< \f$\mu_n = \gamma \cdot \mu_N\f$
constexpr
double
g_factor_n
=
-
3.82608545
;
//!< neutron g-factor
...
...
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