Skip to content

improvement: check that average structure is close to ssposcar reference #181

Description

@mjv500

TODO: the average positions should be calculated at the start of extractforceconstants, and compared to ssposcar with a tolerance, to avoid numerous errors in users switching atom orders, e.g. in conforming with POSCAR format, or going back and forth with LAMMPS and making supercells.

The tolerance could/should be T dependent (larger fluctuations -> larger residual error in average positions), M dependent (lighter mass idem), N_config dependent (more averaging -> lower error), and could be, e.g., 1% of the maximum fluctuations observed, eventually divided by sqrt(N_config)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions