OrderN / CONQUEST-release

Full public release of large scale and linear scaling DFT code CONQUEST
http://www.order-n.org/
MIT License
94 stars 24 forks source link

Add extended XYZ file output for static run and structural optimization #318

Closed JianboLin closed 2 months ago

JianboLin commented 3 months ago

We have an option for output of extended-xyz file in run types of MD simulation. But when we would like to check, save, or even visualize the atomic forces of specific geometry or during the structural optimization, add the same option in run types of static and structural optimization, would be convenient.

At present, from my tests, it works with static, cg, lbfgs, sqnm and also with cell optimization detail in https://github.com/OrderN/CONQUEST-release/issues/305

JianboLin commented 2 months ago

Thank you for your comment. Static calculation or structural optimization (including opt cell ) may not have large number of steps, supposing several hundred steps. And it may be also okay if we use default XYZfreq=1, in these run types (except static).

tsuyoshi38 commented 2 months ago

Thank you for your comment. Static calculation or structural optimization (including opt cell ) may not have large number of steps, supposing several hundred steps.

I understand your point.

And it may be also okay if we use default XYZfreq=1, in these run types (except static).

But, since it might help in some cases, could you do it?

JianboLin commented 2 months ago

Yes, updated in the latest commit. By the way, do we also need to control output frequency of xsf file with XSFfreq in these types of run?

JianboLin commented 2 months ago

Thank you for your approval.