unitconv(1)

✨ unitconv β€” bestie's lil' energy & length glow-up machine ✨

okay so this is the unitconv page from the XCrySDen manual (section 1, iykyk), and bestie… it's literally just a converter. a simple energy and length units converter, written in Tcl πŸ’…. it's a utility program that ships with the xcrysden package (that's http://www.xcrysden.org/ if you wanna go say hi πŸ¦‹).


🌸 NAME 🌸

unitconv β€” simple energy and length units converter πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

unitconv [unit] value
unitconv [unit] expression

✨ DESCRIPTION ✨

unitconv is a simple energy and length units converter, written in Tcl. no cap. it's a utility program of the xcrysden package (http://www.xcrysden.org/) 🫢


πŸ”₯ ENERGY UNITS πŸ”₯

these are the energy units it supports, and the vibe is literally just unit β€” description pairs, where you drop that unit right onto the command line like it's nothing:

  • au β€” Hartree πŸ‘‘
  • ry β€” Rydberg 🌈
  • ev β€” eV (electron volt) ⚑
  • kjm β€” kJ/mol πŸ“
  • kj β€” kJ πŸ’œ
  • kcalm β€” kcal/mol 🧚
  • kcal β€” kcal 🌸

πŸ¦‹ LENGTH UNITS πŸ¦‹

same energy, same usage as above, just for lengths this time:

  • angs β€” Angstrom ✨
  • bohr β€” Bohr radius πŸ’«
  • m β€” meter πŸ“

πŸ’… EXAMPLES πŸ’…

convert a value from eV into all the other energy units, slay:

unitconv ev 3.25

calculate an expression (with the values in Rydberg units) and convert it into the other energy units β€” and bestie, note that the expression must be quoted, like actually, don't forget the quotes πŸ™ˆ:

unitconv ry "-103.134567 - (-240.691356 - -2*17.543471)/2"

and in your expression you can also use the mathematical functions that are available in tclsh. main character math energy fr fr πŸ”₯


Copyright (C) 1996--2012 Anton Kokalj πŸ’–

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

⚠️ and just so we're clear: no warranty. none. zero. don't come for me if your conversion math was cursed 😭

that's the whole thing, bestie β€” this page is unitconv(1) from the XCrySDen manual, and the version you're looking at is dated March 9, 2012 πŸŽ€ that's it, that's the sign-off, go convert something iconic πŸ’…βœ¨