Post Reply 
redefine (physical) constants
10-04-2023, 05:27 PM (This post was last modified: 10-05-2023 12:32 AM by komame.)
Post: #6
RE: redefine (physical) constants
(10-02-2023 09:38 AM)parisse Wrote:  If you want to change the unit values that are used inside the CAS, please do not use the bug tracker, reply below, and reply only with the lines that should be corrected, with the fixed value. Thanks!

Mr. Parisse,
I have found several outdated constants. Below is a list of them with updated values.

Code:
  const mksa_unit __sigma_unit={5.670374419e-8,0,1,-3,0,-4,0,0}; // Stefan-Boltzmann constant
  const mksa_unit __h__unit={6.62607015e-34,2,1,-1,0,0,0,0}; // Planck constant
  const mksa_unit __hbar_unit={1.054571817e-34,2,1,-1,0,0,0,0}; // Reduced Planck constant
  const mksa_unit __eV_unit={1.602176634e-19,2,1,-2,0,0,0,0,0}; // Electron volt
  const mksa_unit __k_unit={1.380649e-23,2,1,-2,0,-1,0,0}; // Boltzmann constant
  const mksa_unit __NA_unit={6.02214076e23,0,0,0,0,0,-1,0}; // Avogadro constant
  const mksa_unit __G_unit={6.67430e-11,3,-1,-2,0,0,0,0}; // Newtonian constant of gravitation
  const mksa_unit __muB_unit={9.2740100783e-24,2,0,0,1,0,0,0}; // Bohr magneton
  const mksa_unit __muN_unit={5.0507837461e-27,2,0,0,1,0,0,0}; // Nuclear magneton
  const mksa_unit __me_unit={9.1093837015e-31,0,1,0,0,0,0,0}; // Electron mass
  const mksa_unit __mp_unit={1.67262192369e-27,0,1,0,0,0,0,0}; // Proton mass
  const mksa_unit __epsilon0_unit={8.8541878128e-12,-3,-1,4,2,0,0,0}; // Vacuum electric permittivity
  const mksa_unit __mu0_unit={1.25663706212e-6,1,1,-2,-2,0,0,0}; // Vacuum magnetic permeability

https://physics.nist.gov/cgi-bin/cuu/Value?sigma
https://physics.nist.gov/cgi-bin/cuu/Value?h
https://physics.nist.gov/cgi-bin/cuu/Value?hbar
https://physics.nist.gov/cgi-bin/cuu/Value?evj
https://physics.nist.gov/cgi-bin/cuu/Value?k
https://physics.nist.gov/cgi-bin/cuu/Value?na
https://physics.nist.gov/cgi-bin/cuu/Value?bg
https://physics.nist.gov/cgi-bin/cuu/Value?mub
https://physics.nist.gov/cgi-bin/cuu/Value?mun
https://physics.nist.gov/cgi-bin/cuu/Value?me
https://physics.nist.gov/cgi-bin/cuu/Value?mp
https://physics.nist.gov/cgi-bin/cuu/Value?ep0
https://physics.nist.gov/cgi-bin/cuu/Value?mu0

Best regards

Piotr Kowalewski
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
redefine (physical) constants - Lukas - 10-01-2023, 07:05 PM
RE: redefine (physical) constants - komame - 10-02-2023, 05:28 AM
RE: redefine (physical) constants - Lukas - 10-09-2023, 04:57 PM
RE: redefine (physical) constants - komame - 10-02-2023, 06:56 PM
RE: redefine (physical) constants - komame - 10-04-2023 05:27 PM
RE: redefine (physical) constants - komame - 10-05-2023, 05:21 PM
RE: redefine (physical) constants - nbc12 - 10-05-2023, 06:01 PM
RE: redefine (physical) constants - komame - 10-05-2023, 07:34 PM
RE: redefine (physical) constants - komame - 10-09-2023, 05:49 AM



User(s) browsing this thread: 5 Guest(s)