diff --git a/doc/fix_vector.html b/doc/fix_vector.html index 9acb53eab8..af0bd770cc 100644 --- a/doc/fix_vector.html +++ b/doc/fix_vector.html @@ -53,7 +53,7 @@ For example the velocity auto-correlation function (VACF) can be time-integrated, to yield a diffusion coefficient, as follows:
compute 2 all vacf -fix 5 all vector 1 c_24 +fix 5 all vector 1 c_2[4] variable diff equal dt*trap(f_5) thermo_style custom step v_diffdiff --git a/doc/fix_vector.txt b/doc/fix_vector.txt index 5dd73c4fba..f26d0b4359 100644 --- a/doc/fix_vector.txt +++ b/doc/fix_vector.txt @@ -44,7 +44,7 @@ For example the velocity auto-correlation function (VACF) can be time-integrated, to yield a diffusion coefficient, as follows: compute 2 all vacf -fix 5 all vector 1 c_2[4] +fix 5 all vector 1 c_2\[4\] variable diff equal dt*trap(f_5) thermo_style custom step v_diff :pre