[lammps-users] Is rdf a fix or a compute type?

Hi,

I am trying to use the rdf to find the radial distribution of a group of atoms. When I run,

fix 6 all rdf 1000

I get the error,
ERROR: Illegal fix rdf command

The doc page for rdf gives the syntax as a compute type, http://lammps.sandia.gov/doc/compute_rdf.html, but the example usage as a fix.
I am confused. Also, how do I view the output when it works? Can I use c_6 in the dump custom command?

Thanks.

Hi,

I am trying to use the rdf to find the radial distribution of a group
of atoms. When I run,

fix 6 all rdf 1000

I get the error,
ERROR: Illegal fix rdf command

The doc page for rdf gives the syntax as a compute type,
LAMMPS Molecular Dynamics Simulator, but the example usage
as a fix.

that was changed recently. check out the changes in mid december 09 at:

I am confused. Also, how do I view the output when it works? Can I use

you can use fix ave/histo for example.

cheers,
    axel.

It's now a compute, not a fix. The doc page was out-of-date. I just
updated it. You can print the results to a file via the fix ave/time
command, among others. See doc/compute.html or 4.15 of Section_howto.html
for details.

Steve