1 .TH g_density 1 "Thu 16 Oct 2008"
3 g_density - calculates the density of the system
10 .BI "-s" " topol.tpr "
11 .BI "-ei" " electrons.dat "
12 .BI "-o" " density.xvg "
27 Compute partial densities across the box, using an index file. Densities
28 in kg/m3, number densities or electron densities can be
29 calculated. For electron densities, a file describing the number of
30 electrons for each type of atom should be provided using
37 atomname = nrelectrons
39 atomname = nrelectrons
41 The first line contains the number of lines to read from the file.
42 There should be one line for each unique atom name in your system.
43 The number of electrons for each atom is modified by its atomic
48 Trajectory: xtc trr trj gro g96 pdb cpt
56 Run input file: tpr tpb tpa
58 .BI "-ei" " electrons.dat"
62 .BI "-o" " density.xvg"
68 Print help info and quit
70 .BI "-nice" " int" " 19"
73 .BI "-b" " time" " 0 "
74 First frame (ps) to read from trajectory
76 .BI "-e" " time" " 0 "
77 Last frame (ps) to read from trajectory
79 .BI "-dt" " time" " 0 "
80 Only use frame when t MOD dt = first time (ps)
83 View output xvg, xpm, eps and pdb files
85 .BI "-[no]xvgr" "yes "
86 Add specific codes (legends etc.) in the output xvg files for the xmgrace program
88 .BI "-d" " string" " Z"
89 Take the normal on the membrane in direction X, Y or Z.
91 .BI "-sl" " int" " 50"
92 Divide the box in nr slices.
94 .BI "-dens" " enum" " mass"
105 .BI "-ng" " int" " 1"
106 Number of groups to compute densities of
108 .BI "-[no]symm" "no "
109 Symmetrize the density along the axis, with respect to the center. Useful for bilayers.
111 .BI "-[no]center" "no "
112 Shift the center of mass along the axis to zero. This means if your axis is Z and your box is bX, bY, bZ, the center of mass will be at bX/2, bY/2, 0.
115 \- When calculating electron densities, atomnames are used instead of types. This is bad.