voila!
with inside the run fuction, the printed Freq will be automatically for each
K-point and each band.
Thanks you so much, professor.
Sincerely
Ran
------------------ Original ------------------
From: "Steven G. Johnson"<[email protected]>;
Date: Thu, Nov 12, 2009 02:50 AM
To: "ryanhao"<[email protected]>;
Cc: "mpb-discuss"<[email protected]>;
Subject: Re: [MPB-discuss] the accuracy of MPB
On Nov 11, 2009, at 11:40 AM, ryanhao wrote:
> The data are genarated automatically by run fuction, eg run-zeven.
> I can not use "print" inside the run fuctions.
Yes you can; you can do anything you want inside a run function. Just
wrap a band function around it, e.g.:
(run (lambda () (print freqs "\n")))
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss