mogroupumd / aimd

MIT License
39 stars 22 forks source link

Drift correction and framework ions in DiffusivityAnalyzer #8

Open jic198 opened 2 years ago

jic198 commented 2 years ago

The drift correction in DiffusivityAnalyzer is automatically applied when calculating ionic diffusivity. (1) Is it always required to include the drift correction for a trajectory? (2) It makes sense to include it if all the ions moving in the same direction, but what if the ions are randomly moving around? (3) If I want to calculate the diffusivities of different species in a same trajectory, should I use a same framework? For example, I have an AIMD calculated trajectory for LiAlO2. When using DiffusivityAnalyzer to calculate Li diffusivity, Al+O will be the framework and the drift correction will be calculated based on Al+O displacements. Now, I also want to calculate the O diffusivity. Should I use the same framework (Al+O), or use Li+Al as the framework ions and recalculate the drift correction? Using the same framework makes more sense to me as the calculated Li and O diffusivities are based on the same framework.