[Q-e-developers] PP/src/chdens.f90 plot_fast() - wrong grid in XSF format
Guido Fratesi
fratesi at mater.unimib.it
Fri Jun 7 10:32:35 CEST 2013
Dear all,
I encountered the following problem when running pp.x with plot_num=3
(XSF format) and plot_fast(). The point is that XSF grids should have
points also at the extrema, so that for spanning the full unit cell we
should have nr_{x,y,z}+1 points. The current version misses this added
point.
In particular, it would be desirable that pp.x gives the same results
with plot_num=5 and plot_num=3, if the full cell is taken for the plot.
Here is a script showing the problem (files charge.3 and charge.5
(different output_format) will not be the same) and my suggestion for a
solution.
Best regards,
Guido Fratesi
--
Guido Fratesi
Dipartimento di Scienza dei Materiali
Universita` degli Studi di Milano-Bicocca
via Cozzi 53, 20125 Milano, Italy
Phone: +39 02 6448 5183
email: fratesi at mater.unimib.it
web: https://sites.google.com/site/guidofratesi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chdens.zip
Type: application/zip
Size: 20029 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20130607/89d54632/attachment.zip>
More information about the developers
mailing list