<![CDATA[Multiwfn forum / Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?id=515 The most recent posts in Input Problem for PDOS Fragment Definition. Fri, 25 Jun 2021 12:29:02 +0000 FluxBB <![CDATA[Re: Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1860#p1860
patrickmelix wrote:

Ok, thanks for the clarification. Do you know how long the line can be before it breaks? My system is not well ordered, so just want to make sure that the "1-3" notation is not still too long.
Is there another downside beyond speed to using "a 1 \n a 2 \n a 3 \n"? Will the results somehow be affected?

Thanks again for all your help, I greatly appreciate you taking the time to answer all my questions.

I just updated Multiwfn on Multiwfn website, currently each line at most accepts 2000 characters. In the old version each line can at most accepts only 200 characters.

dummy@example.com (sobereva) Fri, 25 Jun 2021 12:29:02 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1860#p1860
<![CDATA[Re: Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1859#p1859

Ok, thanks for the clarification. Do you know how long the line can be before it breaks? My system is not well ordered, so just want to make sure that the "1-3" notation is not still too long.
Is there another downside beyond speed to using "a 1 \n a 2 \n a 3 \n"? Will the results somehow be affected?

Thanks again for all your help, I greatly appreciate you taking the time to answer all my questions.

dummy@example.com (patrickmelix) Thu, 24 Jun 2021 19:15:52 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1859#p1859
<![CDATA[Re: Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1854#p1854

Please do not input e.g. "a 1 \n a 2 \n a 3 \n", it is much better to simply input "a 1-3". Indeed there is a limit of the string used for loading inputted information, if you select the atomic indices using range input, such as 2,6-12,30,50-80, this limitation will never cause a problem.

dummy@example.com (sobereva) Tue, 22 Jun 2021 10:54:40 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1854#p1854
<![CDATA[Re: Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1852#p1852

Dear Tian,

thanks for your quick reply and sorry for the delay...

Yes, I can also reproduce the expected behavior for small systems that you mention. Your test also works fine for me.

In my problematic case, the number of atoms in one line is approx. 90. For such a long list, the results of the two input variants differ. I am also using the latest version. So if you try with a large system and enter many atoms in one line, I expect that you can see the same problem. I was not able to check, but I expect it to be due to some Fortran variable limitation (perhaps the string that is read is limited in size?!).

Thanks for your help!
Best regards,
Patrick

dummy@example.com (patrickmelix) Tue, 22 Jun 2021 08:03:49 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1852#p1852
<![CDATA[Re: Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1839#p1839

Dear Patrick,

Thank you for your feedback, but I am unable to reproduce the problem you mentioned. For example, I take examples\butadiene.fch as an example, the fragments defined by inputting "a 1,2,3,4,5,6" and "a 1 \n a 2 \n a 3 \n a 4 \n a 5 \n a 6" are exactly the same, see below screenshots, and the resulting PDOS maps are also completely identical.

1.png

2.png

So, I don't know how to reproduce your observation... (note that I am using latest version of Multiwfn on Multiwfn website).

Best regards,

Tian

dummy@example.com (sobereva) Wed, 16 Jun 2021 15:55:35 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1839#p1839
<![CDATA[Input Problem for PDOS Fragment Definition]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=1838#p1838

Dear Tian Lu,

many thanks for your great Software, which helps me with a lot of tasks.

I have a question regarding the input limitations when defining PDOS fragments:
It seems to me that there is an unmentioned limit on the number of atoms I can add to a fragment at once. If I add a list of approximately 90 atoms at once using the "a 1, 2, 3,...." notation, I get a different number of basis functions added to the fragment than if I add each atom individulally, i.e. "a 1 \n a 2 \n a 3 \n...". I tried checking the source for the relevant part, but could not find it myself.
It took me quite a while to figure this out, as there is no error printed and the only way to catch it is to add the individual PDOS contributions or compare the total number of basis functions manually.

If this is indeed the case, perhaps you might consider putting a warning in the manual or include a safety-check in the input parser.

Please excuse me if I missed an already existing warning or if this was already discussed on the forum, I tried to search thoroughly...

Thanks again for this great software!
Best,
Patrick

dummy@example.com (patrickmelix) Wed, 16 Jun 2021 10:39:30 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=1838#p1838
Baidu
map