logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unitconv - simple energy and length units converter

Description

unitconv  is  a  simple  energy  and  length units converter (written in Tcl). It is a utility program of
       xcrysden package (http://www.xcrysden.org/).

Energy Units

       The following energyunits are supported.  The following list contain the "unit  --  description"  pairs,
       where the unit is to be specified on the command line.

       au -- Hartree

       ry -- Rydberg

       ev -- eV (electron volt)

       kjm -- kJ/mol

       kj -- kJ

       kcalm -- kcal/mol

       kcal -- kcal

Examples

       Convert a value from eV to other energy units:

       unitconvev3.25

       Calculate  an expression (values in Rydberg unit) and convert to other energy units (note that expression
       must be quoted):

       unitconvry"-103.134567-(-240.691356--2*17.543471)/2"

       In expression also mathematical functions available in tclsh can be used.

Length Units

       The following lengthunits are supported (usage as above):

       angs -- Angstrom

       bohr -- Bohr radius

       m -- meter

Name

       unitconv - simple energy and length units converter

Synopsis

unitconv [unit] valueunitconv [unit] expression

See Also