1g_density(1)              GROMACS suite, VERSION 4.5              g_density(1)
2
3
4

NAME

6       g_density - calculates the density of the system
7
8       VERSION 4.5
9

SYNOPSIS

11       g_density  -f  traj.xtc  -n index.ndx -s topol.tpr -ei electrons.dat -o
12       density.xvg -[no]h -[no]version -nice int -b  time  -e  time  -dt  time
13       -[no]w  -xvg  enum  -d  string  -sl  int  -dens  enum -ng int -[no]symm
14       -[no]center
15

DESCRIPTION

17       Compute partial densities across the box, using an index  file.  Densi‐
18       ties  in  kg/m3,  number  densities or electron densities can be calcu‐
19       lated. For electron densities, a file describing the  number  of  elec‐
20       trons  for  each type of atom should be provided using  -ei.  It should
21       look like:
22
23          2
24
25          atomname = nrelectrons
26
27          atomname = nrelectrons
28
29       The first line contains the number of lines  to  read  from  the  file.
30       There should be one line for each unique atom name in your system.  The
31       number of electrons for each atom is modified  by  its  atomic  partial
32       charge.
33

FILES

35       -f traj.xtc Input
36        Trajectory: xtc trr trj gro g96 pdb cpt
37
38       -n index.ndx Input, Opt.
39        Index file
40
41       -s topol.tpr Input
42        Run input file: tpr tpb tpa
43
44       -ei electrons.dat Input, Opt.
45        Generic data file
46
47       -o density.xvg Output
48        xvgr/xmgr file
49
50

OTHER OPTIONS

52       -[no]hno
53        Print help info and quit
54
55       -[no]versionno
56        Print version info and quit
57
58       -nice int 19
59        Set the nicelevel
60
61       -b time 0
62        First frame (ps) to read from trajectory
63
64       -e time 0
65        Last frame (ps) to read from trajectory
66
67       -dt time 0
68        Only use frame when t MOD dt = first time (ps)
69
70       -[no]wno
71        View output xvg, xpm, eps and pdb files
72
73       -xvg enum xmgrace
74        xvg plot formatting:  xmgrace,  xmgr or  none
75
76       -d string Z
77        Take the normal on the membrane in direction X, Y or Z.
78
79       -sl int 50
80        Divide the box in nr slices.
81
82       -dens enum mass
83        Density:  mass,  number,  charge or  electron
84
85       -ng int 1
86        Number of groups to compute densities of
87
88       -[no]symmno
89        Symmetrize  the  density  along  the axis, with respect to the center.
90       Useful for bilayers.
91
92       -[no]centerno
93        Shift the center of mass along the axis to zero. This  means  if  your
94       axis  is  Z  and  your box is bX, bY, bZ, the center of mass will be at
95       bX/2, bY/2, 0.
96
97

KNOWN PROBLEMS

99       - When calculating electron densities, atomnames are  used  instead  of
100       types. This is bad.
101
102

SEE ALSO

104       gromacs(7)
105
106       More   information  about  GROMACS  is  available  at  <http://www.gro
107       macs.org/>.
108
109
110
111                                Thu 26 Aug 2010                   g_density(1)
Impressum