Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
ccb22a31
Commit
ccb22a31
authored
Jun 01, 2005
by
Andreas Pfeiffer
Browse files
added symbols for um and nm to fix backward compatibility issue with 1.8.x version
parent
57fbcb57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Units/Units/GlobalSystemOfUnits.h
View file @
ccb22a31
...
...
@@ -24,6 +24,8 @@ using CLHEP::microbarn;
using
CLHEP
::
nanobarn
;
using
CLHEP
::
picobarn
;
using
CLHEP
::
mm
;
using
CLHEP
::
um
;
using
CLHEP
::
nm
;
using
CLHEP
::
mm2
;
using
CLHEP
::
mm3
;
using
CLHEP
::
cm
;
...
...
Units/Units/SystemOfUnits.h
View file @
ccb22a31
// -*- C++ -*-
// $Id: SystemOfUnits.h,v 1.3
2003/10/23 21:29:51 garren
Exp $
// $Id: SystemOfUnits.h,v 1.3
.4.1 2005/06/01 15:56:10 pfeiffer
Exp $
// ----------------------------------------------------------------------
// HEP coherent system of Units
//
...
...
@@ -78,6 +78,9 @@ static const double nanobarn = 1.e-9 *barn;
static
const
double
picobarn
=
1.e-12
*
barn
;
// symbols
static
const
double
nm
=
nanometer
;
static
const
double
um
=
micrometer
;
static
const
double
mm
=
millimeter
;
static
const
double
mm2
=
millimeter2
;
static
const
double
mm3
=
millimeter3
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment