Ignore:
Timestamp:
Jun 9, 2014, 10:59:17 AM (10 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Added mkm for length and cm/mks for velocity selectors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/UnitSelector.js

    r268 r358  
    3535                           this.addNumItem("&Aring;", 1.0e8*au_f, true);
    3636                           this.addNumItem("nm",      1.0e7*au_f);
     37                           this.addNumItem("&mu;m",   1.0e4*au_f, true);
    3738                selected = this.addNumItem("cm",      1.0*au_f);
    3839                           this.addNumItem("m",       1.0e-2*au_f);
     
    4748            case "velocity":
    4849                au_f = pf.base.Bohr.v0;
    49                            this.addNumItem("a.u.", 1.0);
    50                 selected = this.addNumItem("cm/s", 1.0*au_f);
    51                            this.addNumItem("m/s",  1.0e-2*au_f);
    52                            this.addNumItem("v/c",  1.0/3e10*au_f);
     50                           this.addNumItem("a.u.",     1.0);
     51                selected = this.addNumItem("cm/s",     1.0*au_f);
     52                           this.addNumItem("m/s",      1.0e-2*au_f);
     53                           this.addNumItem("cm/&mu;s", 1.0e-6*au_f, true);
     54                           this.addNumItem("v/c",      1.0/3e10*au_f);
    5355                break;
    5456            case "mass_density":
Note: See TracChangeset for help on using the changeset viewer.