GMX-SPOL(1)
π¦ NAME π¦
hi bestie π welcome to GMX-SPOL(1), the GROMACS manpage for gmx-spol β and what does it do, you ask?
gmx-spol β analyze solvent dipole orientation and polarization around solutes β¨
πΈ SYNOPSIS πΈ
okay so here's the whole summoning ritual, copy it exactly, no cap:
gmx spol [-f [<.xtc/.trr/...>]] [-s [<.tpr>]] [-n [<.ndx>]]
[-o [<.xvg>]] [-b <time>] [-e <time>] [-dt <time>] [-[no]w]
[-xvg <enum>] [-[no]com] [-refat <int>] [-rmin <real>]
[-rmax <real>] [-dip <real>] [-bw <real>]
π«Ά DESCRIPTION π«Ά
so gmx spol looks at the dipoles hanging around a solute, and it is especially that girl for polarizable water π§. To even start, you need two things: a group of reference atoms β or a center of mass reference if you flip the -com option on β and a group of solvent atoms. That's it, that's the entry fee ποΈ.
Then the program gets to work: it splits that group of solvent atoms into molecules π§β¨. For every solvent molecule, it works out the distance to the closest atom in the reference group, or to the COM if you went the COM route. Then it plots a cumulative distribution of all those distances π.
For each distance that falls between -rmin and -rmax, it determines the inner product of the distance vector and the dipole of the solvent molecule. And here's a lil detail that matters: for solvent molecules with net charge (i.e. ions π), the net charge of the ion gets subtracted evenly from all atoms in the selection of each ion. Then the average of these dipole components is printed π¨οΈ.
The exact same glow-up happens for the polarization, except there the average dipole is subtracted from the instantaneous dipole. The magnitude of the average dipole is set with the -dip option, and the direction is defined by the vector from the first atom in the selected solvent group to the midpoint between the second and the third atom π―.
β¨ OPTIONS β¨
π₯ Options to specify input files:
-f [<.xtc/.trr/...>](traj.xtc) β the trajectory file, and it takes: xtc trr cpt gro g96 pdb tng h5md ποΈ-s [<.tpr>](topol.tpr) β a Portable xdr run input file, aka the standard GROMACS.tprbestie-n [<.ndx>](index.ndx) (Optional) β an index file, totally optional, only if you want it π
π€ Options to specify output files:
-o [<.xvg>](scdist.xvg) β the output, an xvgr/xmgr file π
π Other options:
-b <time>(0) β the time of the first frame to read from the trajectory (default unit: ps) β°-e <time>(0) β the time of the last frame to read from the trajectory (default unit: ps) β³-dt <time>(0) β only use a frame whent MOD dt = first time(default unit: ps) π-[no]w(no) β view the output.xvg,.xpm,.epsand.pdbfiles, cute little preview moment π-xvg <enum>(xmgrace) β xvg plot formatting, pick your fighter:xmgrace,xmgr,noneπ¨-[no]com(no) β use the center of mass as the reference position π―-refat <int>(1) β the reference atom of the solvent molecule π¬-rmin <real>(0) β Maximum distance (nm) π-rmax <real>(0.32) β Maximum distance (nm) π-dip <real>(0) β the average dipole (D) β‘-bw <real>(0.01) β the bin width ποΈ
π SEE ALSO π
gmx(1)- More information about GROMACS is available at
<http://www.gromacs.org/>π
π COPYRIGHT π
2026, GROMACS development team
okay and that's the whole page bestie π«Ά this was GROMACS 2026.4, dated Oct 02, 2026, and the manpage you just read is GMX-SPOL(1). slay, go analyze some dipoles, ily, drink water ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: gromacs 2026.4
- ubuntu stonking: gromacs-data 2026.4-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms