QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: fangyongxinxi on May 2, 2013, 16:51
-
Dear Sir,
1. the sript "inspect_vnl_file" helps me alot, now is there some kind of "inspect_nc_file"?
2. the problem in my hand is: If I want to get the "TotalEnergy" and the corresponding id_,
such as:
E0, id0
E1, id1
E2, id2
....
the tranditional way is use "nlprint". But this conmand give alot information about the total energy, However, I just want the final value and the id
so, could you show me a sript on how to get this ?
Thanks~
FangYong
-
There is an "nlinspect", but perhaps you just need to use
print total_energy.evaluate()
instead of nlprint(total_energy) to achieve what you want?
-
Thanks for your help~
There is an "nlinspect", but perhaps you just need to use
print total_energy.evaluate()
instead of nlprint(total_energy) to achieve what you want?