<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://sobereva.com/wfnbbs/extern.php?action=feed&amp;tid=636&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Multiwfn forum / Constructing of promolecule density]]></title>
		<link>http://sobereva.com/wfnbbs/viewtopic.php?id=636</link>
		<description><![CDATA[The most recent posts in Constructing of promolecule density.]]></description>
		<lastBuildDate>Fri, 25 Feb 2022 15:02:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Constructing of promolecule density]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=2314#p2314</link>
			<description><![CDATA[<p>Dear Tian Lu,</p><p>Thank you so much!</p><p>Unfortunately, using 100.19, that is not possible to construct promolecular density of different dimers without changing .wfn files.</p><p>I used that script for generating dimers with promolecular densities for comparing their densities with SCF-optimized densities (they are at H2p_*.wfn files).</p><div class="codebox"><pre><code>for wfn in H2p_*.wfn;
do
  rm H0.5.wfn_001_0300_0434
  coord=`grep &quot;(CENTRE  1)&quot; $wfn | sed &quot;s/ \+/ /g&quot; | cut -d&quot; &quot; -f8`
  coord2=`echo &quot;${coord} * 2&quot; | bc -l`
  ADD=`echo &quot;1000 10 48 6 31 0,0,-${coord} 1 32 0,0,${coord2} 1 1 -1 100 -5 1 ${wfn} 0&quot; | tr &quot; &quot; &quot;\n&quot; | ./gMultiwfn H0.5.wfn 2&gt;/dev/null | grep &quot;Final result:&quot; | sed &quot;s/ \+/ /g&quot; | cut -d&quot; &quot; -f4`
  echo &quot;${wfn};${ADD}&quot;
done</code></pre></div><p>Probably, in the general case, I need a reader of XYZ-files and atomwfn directory for constructing promolecular densities for given XYZ&#039;s.</p><p>Best regards,<br />Igor</p>]]></description>
			<author><![CDATA[dummy@example.com (i.s.ger)]]></author>
			<pubDate>Fri, 25 Feb 2022 15:02:52 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=2314#p2314</guid>
		</item>
		<item>
			<title><![CDATA[Re: Constructing of promolecule density]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=2313#p2313</link>
			<description><![CDATA[<p>Dear Igor,</p><p>I just updated Multiwfn on Multiwfn website. I significantly extended the subfunction 19 of main function 100, it is highly recommended to use this function to combine fragment wavefunctions to form a whole wavefunction.</p><p>The patch in #2 has been considered in this update. The problem you reported in #1 has also been fixed.</p><p>Best regards,</p><p>Tian</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Fri, 25 Feb 2022 13:38:44 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=2313#p2313</guid>
		</item>
		<item>
			<title><![CDATA[Re: Constructing of promolecule density]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=2312#p2312</link>
			<description><![CDATA[<p>If someone will be interested in such duplication of system, this is the patch for doing that:</p><p><a href="http://sobereva.com/wfnbbs/uploads/7fe333999e21523de612e35962239f69.txt" rel="nofollow">0002-Copy-fragments-and-MOs-while-dublication-is.patch.txt</a></p><p>It will produce repeated independent structures with independent molecular orbitals.</p><p>Best regards,<br />Igor</p>]]></description>
			<author><![CDATA[dummy@example.com (i.s.ger)]]></author>
			<pubDate>Fri, 25 Feb 2022 10:16:58 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=2312#p2312</guid>
		</item>
		<item>
			<title><![CDATA[Re: Constructing of promolecule density]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=2311#p2311</link>
			<description><![CDATA[<p>Dear Tian Lu,</p><p>I understand how to fix that part of the MultiWFN code for being it to work correctly (at least as I want).</p><p>I found a mistake with variable usage: center_tmp is not declared but used. The correct variable is ncenter_tmp.<br />There is a needed patch (works both for ifort and gfortran):<br /><a href="http://sobereva.com/wfnbbs/uploads/e5f4847b0a6360614dbeaea152723f85.txt" rel="nofollow">0001-center_tmp-is-not-declared.patch.txt</a></p><p>Best regards,<br />Igor</p>]]></description>
			<author><![CDATA[dummy@example.com (i.s.ger)]]></author>
			<pubDate>Fri, 25 Feb 2022 09:46:05 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=2311#p2311</guid>
		</item>
		<item>
			<title><![CDATA[Constructing of promolecule density]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=2307#p2307</link>
			<description><![CDATA[<p>Dear Tian Lu</p><p>I&#039;m trying to construct promolecule density of dimers using atom&#039;s densities.</p><p>I&#039;m running the following set of commands:</p><div class="codebox"><pre><code>./Multiwfn H0.5.wfn
6
31
0,0,-0.47243153
1
32
0,0,.94486306
1
1
0</code></pre></div><p>It produces new.wfn which is incorrect since when I&#039;m trying to integrate it using:</p><div class="codebox"><pre><code>./Multiwfn new.wfn
100
4
1</code></pre></div><p>it leads to SegFault. It comes from `noGUI/sub.f90:2610`</p><p>It seems to me that modifying of wfn by that way does not produce the correct wfn.<br />At least, the number of electrons should be 2 times more (occupation number).</p><p>There is an initial wfn and new.wfn:<br /><a href="http://sobereva.com/wfnbbs/uploads/c56937f88ddcd43668f6943bb3512326.wfn" rel="nofollow">H0.5.wfn</a> - initial<br /><a href="http://sobereva.com/wfnbbs/uploads/81645652208ceb2355422dfeb225e81e.wfn" rel="nofollow">new.wfn</a> - wfn produced by MultiWFN</p><p>Best regards,<br />Igor</p>]]></description>
			<author><![CDATA[dummy@example.com (i.s.ger)]]></author>
			<pubDate>Thu, 24 Feb 2022 20:00:22 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=2307#p2307</guid>
		</item>
	</channel>
</rss>
