资源简介

代码片段和文件信息
/*
Copyright ?1999 CERN - European Organization for Nuclear Research.
Permission to use copy modify distribute and sell this software and its documentation for any purpose
is hereby granted without fee provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in supporting documentation.
CERN makes no representations about the suitability of this software for any purpose.
It is provided “as is“ without expressed or implied warranty.
*/
package cern.clhep;
/**
* High Energy Physics coherent Physical Constants.
* This class is a Java port of the C++ version found in CLHEP 1.4.0 which in turn has been provided by Geant4 (a simulation toolkit for HEP).
*
* For aliasing see {@link #physicalConstants}.
*
* @author wolfgang.hoschek@cern.ch
* @version 1.0 09/24/99
*/
public class PhysicalConstants extends object {
/**
* Little trick to allow for “aliasing“ that is renaming this class.
* Normally you would write
*
* PhysicalConstants.twopi;
* PhysicalConstants.c_light;
* PhysicalConstants.h_Planck;
*
* Since this class has only static methods but no instance methods
* you can also shorten the name “PhysicalConstants“ to a name that better suits you for example “P“.
*
* PhysicalConstants P = PhysicalConstants.physicalConstants; // kind of “alias“
* P.twopi;
* P.c_light;
* P.h_Planck;
*
*/
public static final PhysicalConstants physicalConstants = new PhysicalConstants();
//
//
//
public static final double pi = Math.PI; //3.14159265358979323846;
public static final double twopi = 2*pi;
public static final double halfpi = pi/2;
public static final double pi2 = pi*pi;
//
//
//
public static final double Avogadro = 6.0221367e+23/Units.mole;
//
// c = 299.792458 mm/ns
// c^2 = 898.7404 (mm/ns)^2
//
public static final double c_light = 2.99792458e+8 * Units.m/Units.s;
public static final double c_squared = c_light * c_light;
//
// h = 4.13566e-12 MeV*ns
// hbar = 6.58212e-13 MeV*ns
// hbarc = 197.32705e-12 MeV*mm
//
public static final double h_Planck = 6.6260755e-34 * Units.joule*Units.s;
public static final double hbar_Planck = h_Planck/twopi;
public static final double hbarc = hbar_Planck * c_light;
public static final double hbarc_squared = hbarc * hbarc;
//
//
//
public static final double electron_charge = - Units.eplus; // see SystemOfUnits.h
public static final double e_squared = Units.eplus * Units.eplus;
//
// amu_c2 - atomic equivalent mass unit
// amu - atomic mass unit
//
public static final double electron_mass_c2 = 0.51099906 * Units.MeV;
public static final double proton_mass_c2 = 938.27231 * Units.MeV;
public static final dou
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2004-09-09 20:36 colt\
目录 0 2004-09-09 20:35 colt\doc\
目录 0 2004-09-09 20:36 colt\doc\api\
目录 0 2004-09-09 20:36 colt\doc\api\cern\
目录 0 2004-09-09 20:36 colt\doc\api\cern\clhep\
目录 0 2004-09-09 20:36 colt\doc\api\cern\clhep\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\bitvector\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\bitvector\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\buffer\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\buffer\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\function\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\function\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\adapter\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\adapter\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\map\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\map\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\doc-files\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doc-files\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doublealgo\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doublealgo\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\impl\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\impl\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\linalg\
............此处省略1128个文件信息
相关资源
- 微博系统(Java源码,servlet+jsp),适
- java串口通信全套完整代码-导入eclip
- jsonarray所必需的6个jar包.rar
- 三角网构TIN生成算法,Java语言实现
- java代码编写将excel数据导入到mysql数据
- Java写的cmm词法分析器源代码及javacc学
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 推荐算法的JAVA实现
- 基于Java的酒店管理系统源码(毕业设
- java-图片识别 图片比较
- android毕业设计
- java23种设计模式+23个实例demo
- java Socket发送/接受报文
- JAVA828436
- java界面美化 提供多套皮肤直接使用
- 在线聊天系统(java代码)
- 基于Java的图书管理系统807185
- java中实现将页面数据导入Excel中
- java 企业销售管理系统
- java做的聊天系统(包括正规课程设计
- Java编写的qq聊天室
- 商店商品管理系统 JAVA写的 有界面
- JAVA开发聊天室程序
- 在linux系统下用java执行系统命令实例
- java期末考试试题两套(答案) 选择(
- JAVA3D编程示例(建模、交互)
- Java 文件加密传输
- java做的房产管理系统
- 基于jsp的bbs论坛 非常详细
评论
共有 条评论