Thanks for your RTFM. Actually fix_2 is ave/spatial command which I could
not find in the RTFM.
then you are not using the right FM. your input is for an older
version of LAMMPS, so you'll have to use a correspondingly old manual
and in the OFM, you will find the description of fix ave/spatial.
BTW: at the beginning of any FM, it tells you to RTFM of the same
version of LAMMPS that you are using and that the online version
always corresponds to the latest patchlevel.
as you can see from http://lammps.sandia.gov/bug.html fix ave spatial
has been removed from the latest version in the may 31st 2016 patch.
The fix ave/spatial command is deprecated (if you
run your script in the current version of LAMMPS you
will see a message about this). The new command
is fix ave/chunk. In the current LAMMPS distro
that viscosity script uses fix ave/chunk.
PS: Let’s please not use RTFM on the public mail list.
“Read the manual” is sufficient advice.
Thank you for your advice and sorry we did use the word.
Now, As I understand from manual, in variable tdiff equal f_2[11][3]-f_2[1][3]
11 and 1 are for 11th and 1st bins respectively. Actually I want to compute average temperature of some groups of atoms. Can fix chunk/atom be used for the same? Please advise.
Thank you for your advice and sorry we did use the word.
Now, As I understand from manual, in
variable tdiff equal f_2[11][3]-f_2[1][3]
11 and 1 are for 11th and 1st bins respectively. Actually I want to compute
average temperature of some groups of atoms. Can fix chunk/atom be used for
the same? Please advise.