where can I find the source code of rwwf

Documentation, Web site and code modifications

Moderators: baguetl, routerov

Locked
zjuer
Posts: 42
Joined: Thu Feb 17, 2011 2:05 am

where can I find the source code of rwwf

Post by zjuer » Mon Mar 28, 2011 3:52 am

Hello all,

I want to make a program to transfer the WFK file to ASCII format rather than use cut3d, so I need to know how cut3d read wavefunction file. I found that cut3d call rwwf(cg,eigen1,formeig,headform,0,ikpt,isppol,kg_dum, mband,mcg,mpi_enreg,nband(ikpt),nband_disk,npwarr(ikpt),nspinor,occ1,option,0,tim_rwwf,wff), but I can not find the source code of rwwf. How can tell me rwwf in which file?
After I get the wavefunction coefficient, how can I construct the wavefunction with the coefficient?

Thanks.

Best regards,

Zjuer

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: where can I find the source code of rwwf

Post by pouillon » Mon Mar 28, 2011 5:48 pm

Just type "ls src/*/*rwwf*" from the top source directory of Abinit.

The following command also works:

Code: Select all

find src -name '*rwwf*' -print


More generally, when these two commands fail, you may also try:

Code: Select all

grep -lri '<name_of_subroutine>' src
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

zjuer
Posts: 42
Joined: Thu Feb 17, 2011 2:05 am

Re: where can I find the source code of rwwf

Post by zjuer » Tue Mar 29, 2011 9:10 pm

I see, thank you pouillon.

Locked