unnecessary line in cube files ?

Anything regarding the post-processing utility (e.g. excitonic wavefunction analysis) is dealt with in this forum.

Moderators: Davide Sangalli, andrea marini, Daniele Varsano

Post Reply
User avatar
vormar
Posts: 10
Joined: Wed Jan 27, 2010 4:40 pm

unnecessary line in cube files ?

Post by vormar » Sat Apr 09, 2011 12:25 am

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
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

User avatar
Daniele Varsano
Posts: 3829
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: unnecessary line in cube files ?

Post by Daniele Varsano » Sat Apr 09, 2011 3:21 pm

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
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/

Post Reply