Dear All,
I've found that ypp always prints a mysterious "1 1" line after the atoms section, right before printing the desired function on a grid when the cube format is selected. Is this there for debugging purposes? I've never seen such cube files. Anyway, most of the time this does not cause any problem since usual plotting codes read the volumetric data until the proper amount of data point is found so two integers at the beginning does not matter.
The line which prints these numbers is in /ypp/plot_cube.F, line 78 in version 3.2.3 rev. 696.
Marton
unnecessary line in cube files ?
Moderators: Davide Sangalli, andrea marini, Daniele Varsano
- vormar
- Posts: 10
- Joined: Wed Jan 27, 2010 4:40 pm
unnecessary line in cube files ?
M\'arton V\"or\"os
PhD student
Department of Atomic Physics,
Budapest University of Technology and Economics
Budafoki út 8., H-1111, Budapest, Hungary
http://www.fat.bme.hu/MartonVoros
PhD student
Department of Atomic Physics,
Budapest University of Technology and Economics
Budafoki út 8., H-1111, Budapest, Hungary
http://www.fat.bme.hu/MartonVoros
- Daniele Varsano
- Posts: 3829
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: unnecessary line in cube files ?
Dear Marton,
you are right. Actually I do not remember why I added these two numbers,
may be for debugging purpose and finally they were not removed,
surely they look unnecessary!!
Thanks a lot for noticing it, and pointing it out.
Cheers,
Daniele
you are right. Actually I do not remember why I added these two numbers,
may be for debugging purpose and finally they were not removed,
surely they look unnecessary!!
Thanks a lot for noticing it, and pointing it out.
Cheers,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/