g_potential (1) - Linux Manuals
g_potential: calculates the electrostatic potential across the box
NAME
g_potential - calculates the electrostatic potential across the boxSYNOPSIS
g_potential -f traj.xtc -n index.ndx -s topol.tpr -o potential.xvg -oc charge.xvg -of field.xvg -[no]h -nice int -b time -e time -dt time -[no]w -[no]xvgr -d string -sl int -cb int -ce int -tz real -[no]spherical -ng int -[no]correctDESCRIPTION
Compute the electrostatical potential across the box. The potential iscalculated by first summing the charges per slice and then integratingtwice of this charge distribution. Periodic boundaries are not taken into account. Reference of potential is taken to be the left side ofthe box. It's also possible to calculate the potential in sphericalcoordinates as function of r by calculating a charge distribution inspherical slices and twice integrating them. epsilon_r is taken as 1,2 is more appropriate in many casesFILES
-f traj.xtc Input
-n index.ndx
Input
-s topol.tpr
Input
-o potential.xvg
Output
-oc charge.xvg
Output
-of field.xvg
Output
-nice int 19
-b time 0
-e time 0
-dt time 0
-[no]wno
-[no]xvgryes
-d string Z
-sl int 10
-cb int 0
-ce int 0
-tz real 0
-[no]sphericalno
-ng int 1
-[no]correctno
OTHER OPTIONS
-[no]hno
KNOWN PROBLEMS
- Discarding slices for integration should not be necessary.