g_density_d (1) Linux Manual Page
g_density – calculates the density of the system
VERSION 4.0.1
Synopsis
g_density -f traj.xtc -n index.ndx -s topol.tpr -ei electrons.dat -o density.xvg -[no]h -nice int -b time -e time -dt time -[no]w -[no]xvgr -d string -sl int -dens enum -ng int -[no]symm -[no]centerDescription
Compute partial densities across the box, using an index file. Densities in kg/m3, number densities or electron densities can be calculated. For electron densities, a file describing the number of electrons for each type of atom should be provided using -ei. It should look like:2
atomname = nrelectrons
atomname = nrelectrons
The first line contains the number of lines to read from the file. There should be one line for each unique atom name in your system. The number of electrons for each atom is modified by its atomic partial charge.
Files
-f traj.xtc Input -n index.ndx Input, Opt.
-s topol.tpr Input
-ei electrons.dat Input, Opt.
-o density.xvg Output
Other Options
-[no]hno -nice int 19
-b time 0
-e time 0
-dt time 0
-[no]wno
-[no]xvgryes
-d string Z
-sl int 50
-dens enum mass
-ng int 1
-[no]symmno
-[no]centerno
Known Problems
– When calculating electron densities, atomnames are used instead of types. This is bad.See Also
gromacs(7)More information about GROMACS is available at <http://www.gromacs.org/>.
