compute_sdc

Compute the velocity autocorrelation (VAC) and integrate it to obtain the self-diffusion coefficient (SDC).

Syntax

compute_sdc <sample_interval> <Nc> [group <group_method> <group>]

Parameters

  • sample_interval: Positive integer giving the number of MD steps between velocity samples.

  • Nc: Positive integer giving the number of correlation points, including zero correlation time.

  • group <group_method> <group>: Optional selection of a group defined in model.xyz. Without this option, all atoms are included.

Output

Results are written to sdc.out.

Examples

Sample velocities every 5 steps and calculate 200 correlation points for group 1 of grouping method 1:

compute_sdc 5 200 group 1 1

Notes

The run must provide at least Nc velocity samples. Repeat this command before each run that requires the calculation; each run accumulates its own averages.