<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sagacioushours.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AMod%3AHunt_Research_Group%2Femoplot</id>
	<title>Talk:Mod:Hunt Research Group/emoplot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sagacioushours.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AMod%3AHunt_Research_Group%2Femoplot"/>
	<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Talk:Mod:Hunt_Research_Group/emoplot&amp;action=history"/>
	<updated>2026-05-28T03:33:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://sagacioushours.org.uk/wiki/index.php?title=Talk:Mod:Hunt_Research_Group/emoplot&amp;diff=2401&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;How to use my emo plot code. At the moment the code is system dependent, so need to modify the code depending on the system.  Use gfortran on imac to compile the following cod...&quot;</title>
		<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Talk:Mod:Hunt_Research_Group/emoplot&amp;diff=2401&amp;oldid=prev"/>
		<updated>2020-11-25T20:54:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;How to use my emo plot code. At the moment the code is system dependent, so need to modify the code depending on the system.  Use gfortran on imac to compile the following cod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;How to use my emo plot code. At the moment the code is system dependent, so need to modify the code depending on the system.&lt;br /&gt;
&lt;br /&gt;
Use gfortran on imac to compile the following codes.&lt;br /&gt;
&lt;br /&gt;
 [wc2emo1.f90 https://wiki.ch.ic.ac.uk/wiki/index.php?title=File:Wc2emo2.f90] for EMO1-4 (Note: use Wannier functions 1 4 6 7)&lt;br /&gt;
&lt;br /&gt;
 [wc2emo2.f90 https://wiki.ch.ic.ac.uk/wiki/index.php?title=File:Wc2emo2.f90] for EMO5-8 (Note: use Wannier functions 2 3 5 8)&lt;br /&gt;
&lt;br /&gt;
Note: don't forget to change Wfindex.dat!&lt;br /&gt;
&lt;br /&gt;
e.g. for a water dimer i7, i8, i9, i10, i11, i12 representing the six atoms (8, 8, 1, 1, 1, 1) in the system.&lt;br /&gt;
&lt;br /&gt;
e.g. for a Cl- + H2O i7, i8, i9, i10 representing the four atoms (17, 8, 1, 1) in the system.&lt;br /&gt;
&lt;br /&gt;
When visualising using VMD, copy the header of the WANNIER_1.1.cube to EMO1.cube, etc.&lt;br /&gt;
&lt;br /&gt;
1. Example on gas-phase system: a water dimer. water molecule 1 = solute. water molecule 2 = solvent.&lt;br /&gt;
&lt;br /&gt;
Input files:&lt;br /&gt;
&lt;br /&gt;
(a) Wfindex.dat&lt;br /&gt;
&lt;br /&gt;
Get the indices from WAN_CENT from the EMO analysis. e.g. part of the WAN_CENT file is as below:&lt;br /&gt;
&lt;br /&gt;
mol.unit_atom_wannier&lt;br /&gt;
   1    1    1&lt;br /&gt;
   1    1    4&lt;br /&gt;
   1    4    6&lt;br /&gt;
   1    3    7&lt;br /&gt;
   2    6    2&lt;br /&gt;
   2    2    3&lt;br /&gt;
   2    2    5&lt;br /&gt;
   2    2    8&lt;br /&gt;
&lt;br /&gt;
So the Wfindex.dat file looks like this:&lt;br /&gt;
&lt;br /&gt;
  1&lt;br /&gt;
  4&lt;br /&gt;
  6&lt;br /&gt;
  7&lt;br /&gt;
&lt;br /&gt;
(b) TM.dat&lt;br /&gt;
&lt;br /&gt;
Get the transformation matrix using the section MO_vectors_in_wannier_basis from MO_DATA from the EMO analysis. e.g.&lt;br /&gt;
&lt;br /&gt;
MO_vectors_in_wannier_basis&lt;br /&gt;
  0.380745330483581      -0.387048685730658      -0.593829545672107&lt;br /&gt;
  0.593795233119951       0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  3.818204221663405E-005  6.597957813054027E-006  0.707096441679227&lt;br /&gt;
  0.707117119481048       0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.555754552974222      -0.630061645514137       0.383503124705457&lt;br /&gt;
 -0.383516040135992       0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.739033063337157       0.673212921506009       1.750560460493717E-002&lt;br /&gt;
 -1.755127970424728E-002  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000 -0.597255009304460       0.589852831249687&lt;br /&gt;
  0.384260755449986      -0.384322472864214&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000 -0.710690459177621      -0.703281622962521&lt;br /&gt;
 -1.253377524729020E-002  1.252735068381089E-002&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000 -0.371760035109413       0.396823126740195&lt;br /&gt;
 -0.593306535305625       0.593559801151676&lt;br /&gt;
  0.000000000000000E+000  0.000000000000000E+000  0.000000000000000E+000&lt;br /&gt;
  0.000000000000000E+000 -3.728376770054018E-005  4.851872010664688E-005&lt;br /&gt;
 -0.707229758609386      -0.706983779724233&lt;br /&gt;
&lt;br /&gt;
And the file TM.dat would look exactly the same as above section. If wc2emo1.exe has trouble reading this file, open TM.dat using vi, then do&lt;br /&gt;
&lt;br /&gt;
:set ff=unix&lt;br /&gt;
&lt;br /&gt;
and then save it with :wq.&lt;br /&gt;
&lt;br /&gt;
(c) WANNIER_1.X.cube files X=1,2,3,4,5,6,7,8&lt;br /&gt;
&lt;br /&gt;
(d) Depending on which EMO to plot, need to change the number in the code&lt;br /&gt;
&lt;br /&gt;
EMOindex = ? (? = 1, 2, ... or 8)&lt;br /&gt;
&lt;br /&gt;
open(unit=100, file='EMO?.cube', status='new') (? = 1, 2, ... or 8)&lt;br /&gt;
&lt;br /&gt;
4. The Plots&lt;br /&gt;
&lt;br /&gt;
[[File:EMO1.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO2.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO3.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO4.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO5.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO6.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO7.tga]]&lt;br /&gt;
&lt;br /&gt;
[[File:EMO8.tga]]&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
</feed>