OrderN / CONQUEST-release

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

Output frequency for xsf and xyz trajectories #255

Closed AugustinLu closed 3 months ago

AugustinLu commented 8 months ago

At present, when AtomMove.WriteXSF = .TRUE. and/or AtomMove.WriteExtXYZ = .TRUE., trajectories in XSF and/or extXYZ format are written at each time step.

For long molecular dynamics simulations, these trajectory files can become huge, and not all frames are necessary.

Is it possible to add a keyword to control the frequency at which these files are written? Some possibilities could be:

  1. Using AtomMove.OutputFreq to control all of them together.
  2. Defining AtomMove.XsfFreq and AtomMove.XyzFreq for control them separately.

Thank you very much.

tsuyoshi38 commented 8 months ago

Personally, I prefer to have all of these keywords and the default values of AtomMove.XsfFreq and AtomMove.XyzFreq are set by AtomMove.OutputFreq.

AugustinLu commented 8 months ago

An implementation of the two additional keywords is proposed in the forked repository: 4fa7fcf

davidbowler commented 8 months ago

This looks like a very sensible solution: thank you.

davidbowler commented 3 months ago

Closed by #258