VMD-L Mailing List
From: Rob (spamrefuse_at_yahoo.com)
Date: Sun Jun 21 2009 - 21:00:57 CDT
- Next message: Baumert, Uwe Dr.rer.nat.: "VMD 1.8.7 beta5 probs with NVIDIA Quadro FX3450/4000 graphic card"
- Previous message: Forest Jefferson: "tag heuer rep watch for you;"
- Next in thread: John Stone: "Re: Plugins: plz add one more conversion to unit_conversion.h"
- Reply: John Stone: "Re: Plugins: plz add one more conversion to unit_conversion.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
For my Abinit plugin I need to convert from Hartree to eV.
Can you please add to the file
plugins/molfile_plugin/src/unit_conversion.h
the following:
RCS file: /vmd/cvsroot/plugins/molfile_plugin/src/unit_conversion.h,v
retrieving revision 1.1
diff -u -r1.1 unit_conversion.h
--- unit_conversion.h 27 Jan 2009 18:01:11 -0000 1.1
+++ unit_conversion.h 22 Jun 2009 01:58:57 -0000
@@ -25,8 +25,9 @@
#define ANGS_TO_BOHR 1.88972612478289694072
-/* convert Hartree into kcal/mol */
+/* convert Hartree into kcal/mol and electronvolt */
#define HARTREE_TO_KCAL 627.5094706142
+#define HARTREE_TO_EV 27.211396132
#endif /* UNIT_CONVERSION */
Thanks,
Rob.
- Next message: Baumert, Uwe Dr.rer.nat.: "VMD 1.8.7 beta5 probs with NVIDIA Quadro FX3450/4000 graphic card"
- Previous message: Forest Jefferson: "tag heuer rep watch for you;"
- Next in thread: John Stone: "Re: Plugins: plz add one more conversion to unit_conversion.h"
- Reply: John Stone: "Re: Plugins: plz add one more conversion to unit_conversion.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]